Closed Lycraon closed 2 years ago
This would be pretty rough on the database in the current set up, I'll have to do some performance testing before rolling this out, will get back to you!
Done! This was implemented as an async api call, so online status will appear a second after the page loads. this saves my poor postgresql instance 🐘 having to do a join for every friend all at once, now puma can split up your friends between multiple ruby instances, and be able to kill long running requests if they take too long while still not breaking the website
Would be nice to see if friends are online on Friends page