Joep Meindertsma
Joep Meindertsma
OpenDAL now also supports TiKV! https://github.com/apache/incubator-opendal/issues/2533 This opens up multi-node setups for Atomic-Server.
Another approach: ## Use a multi-node KV store Wherever we're currently using `sled`, we could use `tikv` (for example). This means instead of using an _embedded_ key-value store, we'll use...
https://github.com/lnx-search/datacake/tree/main/examples/replicated-kv Data cake also seems interesting, I'll take a closer look soon
## Coordinator node approach This is a load balancer / proxy server / rust server (actix / axum?) that forwards requests to AtomicServer instances, depending on the used subdomain (`drive`)....
https://wasmer.io/posts/wasmer-takes-webassembly-libraries-manistream-with-wai
Restarting is no longer default - only behind a flag, because #324 was implemented. I think this one is fixed now.
Also, maybe use JSON Web Signature encoding? https://crates.io/crates/jws See https://github.com/ontola/atomic-data/issues/35
Also, don't use base64 in URLs (because of `=`, `/` characters), maybe consider [base64URL](https://tools.ietf.org/html/rfc4648)
I used `serde_canonical_json`. Not sure it is actually JCS, though: https://github.com/gelvinp/rs-serde_canonical_json/issues/1 EDIT: switched to `serde_jcs` because the other one wasnt JCS.