keva-dev / keva-dev/keva

Offboard from ObjectOutputStream to custom writer or use reset

Open
#101 0 comments 2 reactions 0 assignees View on GitHub
enhancement evaluation
Dominant language
Java
Stars
109
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the AOF code that uses ObjectOutputStream and inspect how commands are written and read. Done should remove unnecessary object-stream caching, or apply reset safely, while preserving independent command handling and improving the stated memory and I/O behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
database
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.