Skip to content
/ r_place Public

r/place clone, scales vertically, handeled 600k simulated clients per second with 8 cores and 8gb of ram.

Notifications You must be signed in to change notification settings

Askill/r_place

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

r/place clone, scales vertically, handeled 600k simulated clients per second with 8 cores and 8gb of ram.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published