apache / apache/accumulo-fluo-recipes

Look into dropping Optional from serialized data

Open
#65 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
19
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Optional is used in some of the Recipes APIs. It also used internally. This results in slightly larger serialized data. We could drop the use of Optional internally in classes private instance var. For example [DifferenceExport.java line 49](https://github.com/fluo-io/fluo-recipes/blob/981e9accb7260767fef4c6fa906d2e3031a12ec4/modules/accumulo/src/main/java/io/fluo/recipes/accumulo/export/DifferenceExport.java#L49) uses Optional internally.

Contributor guide

Open the contributing guide

Research direction

Start with DifferenceExport.java at line 49 and inspect other private instance variables that use Optional internally. Determine which internal Optional values affect serialized data, while distinguishing them from Optional values in the Recipes APIs. Done means the agreed internal uses no longer add Optional-related serialization overhead.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.