How can I limit the number of incoming requests to the websocket server?

#1

Good day!

I use autobahn.asyncio. I programmatically send 100,000 requests to the server without delay. CPU load reaches 100% and other requests fail. I do nothing on the onMessage event.

How do I limit the number of requests per second for each connection?

Can this be done with options?

2018-12-17 09:19:54.png

0 Likes