mikolalysenko / mudb

Low latency state replication for the web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make the examples easier to run and set up

mikolalysenko opened this issue · comments

For new users the experience of starting and playing with MuDB is not good.

The documentation is part of the problem, but there's also too much boiler plate setting up an example.

We should figure out ways to reduce the amount of bullshit required to run a simple mudb example. Some ideas:

  • Maybe do some pure nodejs mudb examples
  • Use webrtc for hosting a mudb app, then no hosting required
  • Maybe use local sockets to demonstrate a mock client/server
  • For the websocket example have a complete server instead of using mudo

Ultimately we should deprecate mudo. It kind of sucks and glitches out all the time, and isn't really representative of how you'd use mudb in practice anyway.

This requires making some more socket types:

  • TCP/UDP socket for nodejs
  • WebRTC socket for static page demo