Tech-Init: How does CodeForces maintain friends leaderboard in realtime so efficiently?

Revision en1, by theMossYouNeed, 2020-07-01 22:20:12

You all might have seen that we can see our friend group's rank list on codeforces in real-time. It makes me wonder how this feature is implemented at the BackEnd? I surely know that they initialize these customised lists at the time of registration because we can see registered friends too. Can anyone from the tech-team or anyone who has an idea help me know this. Do they keep a sorted-set kind of thing to implement this friends-ranklist and also is the score updation event-driven? MikeMirzayanov

Tags backend, #@mikemiraz, #help me, #trending

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English theMossYouNeed 2020-07-01 22:20:12 613 Initial revision (published)