Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ranking server sometimes looses some of subchanges #1261

Open
kunyavskiy opened this issue Sep 5, 2024 · 0 comments
Open

Ranking server sometimes looses some of subchanges #1261

kunyavskiy opened this issue Sep 5, 2024 · 0 comments

Comments

@kunyavskiy
Copy link

kunyavskiy commented Sep 5, 2024

Description:

During IOI 2024 contest, we had a live stream, using scoreboard as a source of data for inforgrafics.
In particular, we are using /subchanges endpoint to receiver score updates. While not being optimal, for simplicity,
we just reload the whole endpoint every 5 seconds.

The problem is on the second day by some reason some of day1 submissions sumtimes disappeared from /subchanges endpoint and appeared back.

As an estimation here is log of 4-digit submission ids available requested several times.

/tmp/d1/message$ curl https://ranking.ioi2024.eg/subchanges/ | grep -oe '"submission": "...."' | wc -l
5383
/tmp/d1/message$ curl https://ranking.ioi2024.eg/subchanges/ | grep -oe '"submission": "...."' | wc -l
5383
/tmp/d1/message$ curl https://ranking.ioi2024.eg/subchanges/ | grep -oe '"submission": "...."' | wc -l
5373
/tmp/d1/message$ curl https://ranking.ioi2024.eg/subchanges/ | grep -oe '"submission": "...."' | wc -l
5373
/tmp/d1/message$ curl https://ranking.ioi2024.eg/subchanges/ | grep -oe '"submission": "...."' | wc -l
5383

There is normally 5383 submissions with 4-digit id, while 10 of them disappeared for some time, and then appeared back.

I'm not sure if it is cms bug, or setup problem, as I don't have any access to setup.

Expected: All submissions of the first day are always available during the second

Actual: They eventually disappears and appears back

Logs

System Information

Unfortunately, I don't have access to setup, so I have no logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant