decentraland / decentraland-rpc

📡 Sandboxed code execution + Plugins + JSON-RPC engine
Apache License 2.0
5 stars 5 forks source link

Allow batch messages from JSON-RPC #12

Open menduz opened 6 years ago

menduz commented 6 years ago

Right now we have a limitation of 1 concurrent message/notification per (transport layer) message.

JSON-RPC allows us to batch those messages into one using arrays.

Follow the spec and implement. Then include the batching strategy inside the implementation. This should be transparent for every implementation that is already working due to the async nature of JSON-RPC