mikolalysenko / mudb

Low latency state replication for the web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MuRPC problems

mikolalysenko opened this issue · comments

  • Server RPC handlers need a reference to the client initiating the RPC call
  • RPC error replies should use a separate protocol to prevent namespace conflicts
  • Server and client should be able to reuse names:
{
	client: {
		sum: {
			0: new MuInt8(),
			1: new MuInt8(),
		}
	},
	server: {
		sum: {
			0: new MuInt32(),
			1: new MuInt32(),
		}
	}
}

do u think broadcasting RPCs to clients is useful?