When a user creates a large amount of big commits in a replicated environment, a replica might suffer from heap shortage, because we serialize commits (PushAsIsCommand to be precise) into JSON and store it into ZooKeeper.
To reduce the risk of running out of memory, we could compress the serialized replication command (zstd?)
When a user creates a large amount of big commits in a replicated environment, a replica might suffer from heap shortage, because we serialize commits (
PushAsIsCommand
to be precise) into JSON and store it into ZooKeeper.To reduce the risk of running out of memory, we could compress the serialized replication command (zstd?)