keva icon indicating copy to clipboard operation
keva copied to clipboard

Offboard from ObjectOutputStream to custom writer or use reset

Open the123saurav opened this issue 3 years ago • 0 comments

Object output stream comes with an overhead of object cache which doesn’t make much sense for AOF as each command is independent. This leads to memory leaks and also slows down reads and writes. Since we are already writing byte stream we don’t need specific serialisation capabilities.

the123saurav avatar Dec 25 '21 06:12 the123saurav