WebSockets - How many connections can adonis handle?

Hi there,

how many websocket connections can adonisjs handle? Does anyone have experiences?

Bye…

1 Like

I don’t think limitation will be Adonis, more like underlying server(s)

For one of my personal projects my current peak has been around 1k WS connections and server did no go to alert alert at that time (over 80% resource usage)

There was some research quite long time ago how different servers manage RAM and CPU with WS connections. If I remember correctly you can have near infinit conections if you don’t send any data. Payload size and frequency matter a lot.

1 Like