I was wondering what is the easiest way to test how many request can I handle with getEventStream()?
For example I want to see how my node process(which is subscribed to some event) will behave if 1000 photons are publishing event every few seconds.
Try subscribing to the public firehose - https://docs.particle.io/reference/api/#get-a-stream-of-events which gives you all the public events available
Thanks for the suggestion. Will do that for the start
Later I plan to do something like this: http://matthiasnehlsen.com/blog/2013/05/11/load-testing-server-sent-event-streams/
I think there shouldn’t be a big diffrenece between pure SSE and getEventStream() implementation
Still will appreciate if someone have already done something similar to give an advice.