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
Post a Comment