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

Some events ideas #426

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Some events ideas #426

wants to merge 2 commits into from

Conversation

zardus
Copy link
Contributor

@zardus zardus commented May 25, 2024

Opening this PR to explore some ideas around more social involvement. This implements a http://localhost.pwn.college/pwncollege_api/v1/events endpoint that shows recent emojis, belts, solves, and container launches (out of running containers). I figure a frontend component would repeatedly request this, filter out things it'd already displayed, and display stuff up in navbar or something.

Some problems:

  1. There's probably a much more correct way to do this web-wise. We could have events get queued by the backend when something event-worthy happens (solve, belt assignment, etc), put it in some queue in redis, and distribute it properly from there.
  2. The query takes 35 seconds on my desktop, which means the server has no chance. I think it's mostly the stupid solves.

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

Successfully merging this pull request may close these issues.

1 participant