37
Views
1
Comments
[SSE Push Event Hub] How many concurrent clients can be handled ?
Question
sse-server-event-hub-and-client
Service icon
Forge asset by Nuno Damaso
Application Type
Service

How many concurrent clients can be handled by the event hub at the same time?

If I used SSE with thousands of clients I would face a memory issue because of opening this number of concurrent streams is there any way to fix this issue?


2024-09-08 11-13-40
Nuno Damaso
 
MVP

Hi Mostafa,

On personal environments, you'd be capped at 100.

Other than that, there is no limit, the server will take what your server can take in terms of concurrent REST API connections. 

- You might need to scale up with more servers - then a multiple front-ends HUB solution would be needed, you can check the documents for a solution.

- You could also benefit from checking your architecture, maybe SSE isnt a fit and you might want to offload these signals to a 3rd party.


This is something you might want to check with OutSystems itself regarding server capabilities - the only limitation here is how many concurrent REST API requests your server can handle simultaneously, its not an HUB thing - in other words, if you were to simultaneously make 100.000 requests asking for a record, or an image or a resource, what would the server capability be?


Also, have in mind that under HTTP1, a single client can only make 6 parallel requests per browser - this is not however an issue under HTTP2.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.