-
Notifications
You must be signed in to change notification settings - Fork 5
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
Bus: "Universal Protocol" design #23
Comments
Some of my own thoughts about this:
|
One point I forgot to mention and seems rather important is mobile systems and massging protocols. Talking to people about using MQTT (though the same applies to any protocol) as messaging protocol on mobile systems (iOS and Android ) I get the idea that communication can be lagged or even broken in those systems when sending data from one process to another in the voice assistant chain due to the fact that they mean to restrict their processes CPU time as much as possible for battery life sake. Which means that for something to work there reliable IPC must be used (Snips does some mention of this too) and each platform has their own IPC mechanism, meaning that wathever we make must be able to at least work on: the messaging protocol selected, on XPC and on wathever is chosen for Android (there are several, can't decide which one should be used). |
The only way to determine what is best is an old fashion benchmark.
|
Seeing as the community is swarming towards microservices (because of several benefits: easier dependency management, easy concurrency, sandboxing ...) I think that designing a common protocol has benefits that potentially can revolutionize our community, mostly:
Now that we know the "why?" the "what?" should be discussed, or in other terms, which features should be included, here are some but consider this an open list:
Of course there might be more out there, anyone with a suggestion feel free to comment.
Finally, there's the "how?" which is decissive, as it will determine the robustness and performance of our solution. Some questions about how to build this:
The text was updated successfully, but these errors were encountered: