witnet-rust icon indicating copy to clipboard operation
witnet-rust copied to clipboard

Put JsonRpcServer into its own Arbiter

Open aesedepece opened this issue 5 years ago • 1 comments

Context

Flooding JsonRpcServer with dummy messages makes the entire System unresponsive as it runs on a single system thread which is shared by every actor in our app.

We need to isolate JsonRpcServer into its own Arbiter so that it can run on a separate thread and not block the rest of our actors.

If this works well, it will be useful as a PoC for a more general strategy for actor arbitration and safe isolation of different parts of our apps, which is important for #72.

aesedepece avatar Nov 22 '18 14:11 aesedepece

This issue is still relevant as it is an attack vector for those nodes with public Json RPC server.

mariocao avatar Jul 27 '20 14:07 mariocao