python - aiohttp websocket performance testing with locust -


i wrote websocket server using aiohttp python library.

now i'm trying test performance using locust , snippet, locust can't open more 2000 connections (websocket.create_connection() raises error: [errno 104] connection reset peer).

i don't understand where's problem. locust can't open connections or aiohttp can't handle connections(but don't write errors) or maybe ubuntu drops new connections(i set ulimit 1000000, cpu usage 100%).


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -