django-eventstream icon indicating copy to clipboard operation
django-eventstream copied to clipboard

Updating EventCounter takes a comparatively long time

Open Schlepptop opened this issue 2 years ago • 2 comments

I am trying to improve the performance of my application, and I noticed that updating the eventcounter (which is done for every sent event) performs 3 DB Queries, which on my machine in total take about 7ms. I am sending lots of events, often to many channels, so these quickly add up. Is there anything I can do to reduce the impact of updating the EventCounter?

Schlepptop avatar Nov 25 '22 11:11 Schlepptop