r/place clone, scales vertically, handeled 600k simulated clients per second with 8 cores and 8gb of ram.
Go to file
dependabot[bot] 025f311173
Bump @babel/traverse from 7.18.2 to 7.23.9 in /frontend
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.18.2 to 7.23.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.9/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 15:20:45 +00:00
.github/workflows Create codeql.yml 2022-11-21 10:53:15 +01:00
client removed images 2022-09-25 15:10:01 +00:00
frontend Bump @babel/traverse from 7.18.2 to 7.23.9 in /frontend 2024-01-31 15:20:45 +00:00
images docs 2022-09-11 16:31:59 +02:00
server docker user 2022-09-25 15:06:16 +00:00
.gitignore ignoring state 2022-09-17 14:42:24 +00:00
README.md docs 2022-09-11 16:31:43 +02:00
colorpalette.txt adedd reconnect to client 2022-06-19 20:42:01 +02:00

README.md

r_place

A go based r/place clone.

The server has 3 endpoints, get, set and getAll:

  • get:
    • websocket connection
    • returns once a second all changes as individual events
  • set:
    • websocket connection

    • expects data in the following format:

      x: int [0 - 1000]
      y: int [0 - 1000]
      color: int [0-15]
      timestamp: int [unix time]
      userid: int 
      
  • getAll:
    • returns a jpeg image of current state

Example Image, created by python client: