To do an external SDK, we need to be able to write a library that would keep.
The current idea is to use a file or a memory-mapped file as a pipe-like communication mechanism between multiple processes. An "External" SDK will stand on top of the Go SDK, communicating with an Elixir runtime.
The message passing would happen as follows:
OnJoin => Elixir runtime: make node
OnLeave => Elixir runtime: clear node
Key => poll key from Elixir node
poll for Elixir node calls to UnreliableNode:
Id => send Id to Elixir node
Send => push packet to Go node
Recv => send packet to Elixir node
Join => send node Id to Elixir node
We might need to refactor the interfaces before doing new SDKs.
Usefulness:
we can distribute the node on multiple physical hosts
To do an external SDK, we need to be able to write a library that would keep.
The current idea is to use a file or a memory-mapped file as a pipe-like communication mechanism between multiple processes. An "External" SDK will stand on top of the Go SDK, communicating with an Elixir runtime.
The message passing would happen as follows:
We might need to refactor the interfaces before doing new SDKs.
Usefulness: