Skip to content

Rewrite to use P2P and client side heavier rather than SQL and server side heavier #14

@mpuckett159

Description

@mpuckett159

It was brought up to me that it may be best to avoid using SQL as a central repository of data all together, and that we could potentially just use a simple P2P style set up instead. At first I was having a hard time conceptualizing this but here are some notes for how I think it would be doable:

  • The only data that would be required to send around to all users would be the current stack info, which is simple to track and can just be speaker positions, name, and a UUID for identification.
  • Ensures that all notes kept by mods are kept client side rather than in a central repository, reducing data leakage potential.
  • We can keep the rest of the majority of the Go server side app. Really all we would need to do is rip out the SQL portion of it and move that kind of tracking functionality into the client side app, which honestly is a pretty simple move. This would also allow me to simplify a lot of the Go code to literally just websocket management.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions