You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to get rid of #[derive(Default)] for most of the types
Make StoreToDisk more intelligent or give client more control into which file and in which variant to store back. Currently, multiple stores may grow the head configuration file in the location without need because we cannot detect easily which items to discard.
Only send updates to subscribed clients if the values actually changed.
Document Communication design (refinement needed):
Messages
Requests are always textual, binary requests are protocol errors
At least within textual stream, messages are in order
Each sent data frame contains all textual data of this frame and binary references
This allows to have the binary stream separate and only the order in the textual stream matters
When the client subscribes, the request's id is used to store the subscription, unsubscribe in the future, and receive updated data from the server
Clients must specify with which cycler instance they want to speak
Databases
Clients choose subscription IDs, they need to be prefixed with a unique client identifier (e.g. peer address)
These asynchronous tasks exist: provider n--1 router 1--1 receiver/sender
Single router demultiplexes to provider
Each connected cycler instance spawns a provider task
Each provider task stores subscriptions
All provider tasks and the receiver tasks can send requests to the router
The provider first registers itself at the router
GetNext and Subscribe ids are shared and need to be unique
Parameters
framework configuration parsing (directory parsing based on hardware ids)
#[derive(Default)]
for most of the typesStoreToDisk
more intelligent or give client more control into which file and in which variant to store back. Currently, multiple stores may grow the head configuration file in the location without need because we cannot detect easily which items to discard.provider n--1 router 1--1 receiver/sender
router
demultiplexes toprovider
provider
taskprovider
task stores subscriptionsprovider
tasks and thereceiver
tasks can send requests to therouter
provider
first registers itself at therouter
GetNext
andSubscribe
ids are shared and need to be uniqueThe text was updated successfully, but these errors were encountered: