Open arjunnn opened 3 years ago
There seems to be a huge performance impact (>300ms) when processing /profile GET request and /r GET request.
This is because the hit counters for both profile model and link model are being updated each time the respective call is made.
Maybe it will be beneficial to move it to a separate queue and not hold up the request for so long while the db transaction happens
Celery? 🤔
There seems to be a huge performance impact (>300ms) when processing /profile GET request and /r GET request.
This is because the hit counters for both profile model and link model are being updated each time the respective call is made.
Maybe it will be beneficial to move it to a separate queue and not hold up the request for so long while the db transaction happens
Celery? 🤔