Page 1 of 1
Re: Ranking on gametable
Posted: Sat Apr 17, 2021 3:40 pm
by sp0ck
Game-Table is not yet finished. It's a hell of calculating ranking position in real-time for the database ... I am still thinking of the best solution.
... just be patient

Re: Ranking on gametable
Posted: Sat Apr 17, 2021 3:46 pm
by sp0ck
Re: Ranking on gametable
Posted: Mon Apr 19, 2021 3:52 pm
by BarbaB
sp0ck wrote: ↑Sat Apr 17, 2021 3:40 pm
Game-Table is not yet finished. It's a hell of calculating ranking position in real-time for the database ... I am still thinking of the best solution.
... just be patient
I'd suggest to make a stats cache (table with record per player) and update it after each game is finished (ranking games). Player record may contain other stats as well.
When player is not found in the table, return table size +1.
Re: Ranking on gametable
Posted: Mon Apr 19, 2021 9:16 pm
by sp0ck
BarbaB wrote: ↑Mon Apr 19, 2021 3:52 pm
sp0ck wrote: ↑Sat Apr 17, 2021 3:40 pm
Game-Table is not yet finished. It's a hell of calculating ranking position in real-time for the database ... I am still thinking of the best solution.
... just be patient
I'd suggest to make a stats cache (table with record per player) and update it after each game is finished (ranking games). Player record may contain other stats as well.
When player is not found in the table, return table size +1.
Nah - the amount of data can be handled in real-time.
Re: Ranking on gametable
Posted: Thu Jun 03, 2021 8:42 am
by sp0ck
bestevaer wrote: ↑Wed Jun 02, 2021 3:40 pm
It was so before the fire/crash
There is no need to remind at each feature request that it was on the site before the crash.
There are no news - I'm busy earning real money these days. Please stay patient.
