Skip to content

High CPU usage by AttackMapServer.py #1241

Answered by t3chn0m4g3
ChristophRh asked this question in Q&A
Discussion options

You must be logged in to vote

Can you give more info on your setup, hardware, average events per day, connected clients, etc.?

It should be noted however that the AttackMapServer works differently now. Except for MapBox all code is served locally, with aiohttp, aioredis and asyncio to ensure better performance. Also I activated gzip and brotli support in NGINX and deferred the loading of JS code which will result in lots of parallel connections on page load.

Should you spot errors in the code, the setup or while debugging please share.

Replies: 5 comments 15 replies

Comment options

You must be logged in to vote
9 replies
@ChristophRh
Comment options

@t3chn0m4g3
Comment options

@ChristophRh
Comment options

@t3chn0m4g3
Comment options

@ChristophRh
Comment options

Answer selected by t3chn0m4g3
Comment options

You must be logged in to vote
1 reply
@t3chn0m4g3
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@ChristophRh
Comment options

@t3chn0m4g3
Comment options

@ChristophRh
Comment options

@t3chn0m4g3
Comment options

@ChristophRh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants