-
Notifications
You must be signed in to change notification settings - Fork 8
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
🔍 Implement multiplayer micro-stack #174
Labels
enhancement
New feature or request
Comments
This was referenced Feb 28, 2020
Merged
This was referenced Mar 7, 2020
Merged
Terkwood
changed the title
🔍 Implement micro-stack
🔍 Implement multi-player micro-stack
Mar 23, 2020
Terkwood
changed the title
🔍 Implement multi-player micro-stack
🔍 Implement multiplayer micro-stack
Mar 23, 2020
This was referenced Apr 3, 2020
Closed
This was referenced Jun 15, 2020
Closed
This was referenced Sep 21, 2020
Terkwood
added a commit
that referenced
this issue
Sep 23, 2020
Advances #174 (micro multiplayer stack) * Stub out project * Add dependency * Add deps * Delete stub * Stub out components * Add model and API structs * Write model and API * Add topics * Stub out streaming * Add dockerfile * Add create_consumer_group * Add client to components * update main * Start writing test , add history repo trait * Advance test and rename things * Advance test and stub methods * structure test * Advance test, rework client and components * advance test * advance test * advance test * advance test * Advance test * advance test * Advance test * implement xadd for history-provided topic * nit * implement stream processing * call: convert gamestate to history * stub test * write test * implement to-history * finish stream processor * check game states ack in test * Update docker-composes * Write deser * write acks * impl xread * advance fn * finish xread * impl redis history get * touch ttl * write to history repo
This was referenced Sep 24, 2020
Closed
Merged
This was referenced Oct 11, 2020
This was referenced Oct 19, 2020
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rationale
In the current multiplayer implementation, the first person to visit the site in a given period has to endure an impossibly long wait time (75 seconds+) while the bigger box with Kafka starts up. Having a tiny little implementation dependent on Redis Streams can solve this.
RAM footprint of the total system will decrease by about 100x.
Our goal is to sunset the Kafka implementation.
Write the following
Testing and verification
Found work
Admin cleanup
Deferred work
We don't need the participation service ported immediately, as it was never actually finished for the old JVM stack. Here's the ticket related to that work: #325
We can delete Kafka and all related apps, once this ticket is complete. See #229
Memory usage tracking
With
micro-judge v0.1.1
docker stats --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}"
The text was updated successfully, but these errors were encountered: