-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discuss new host implementation #103
Comments
We discussed that |
Maybe we can implement host using autobahn now, then we can add the custom backend for host feature, and then implement a small and clean library as our official host backend. I propose we have a package/module named
This way host won't be added as dependency to projects that do not need it. And in the cli, for const server = require("/build/node_modules/host/server")
const main = require("/build/main.clio.js")
server(main) Or something like that. |
I made an entire RPC stack for the new Clio. It has concepts like Transports, Executors, Workers, Clients, Servers, Dispatcher and etc. It's a modular design, the Dispatcher acts as a Hub, it accepts Server Transports and accepts connections using that Transport, it also registers and manages the Workers who request to be registered through one of the Transports. This way a TCP client can communicate with a WebSocket client with no issues, in other words you can have TCP/UDP/WS/WT/WW... workers and clients all communicating with each other without worrying about communication protocols. I'm going to keep this open for further discussions, I'll close this once we have our RFC system established. |
This issues just serves as a mental note that the new host implementation will need to be implemented in
v0.2.0
.Further discussions on this topic should be documented here.
The text was updated successfully, but these errors were encountered: