JanusGraph / JanusGraph/janusgraph

Use BYPASS_CACHE in ScyllaDB driver when full scan queries are used

Open
#3,582 0 comments 0 reactions 0 assignees View on GitHub
kind/enhancement kind/performance storage/scylladb
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

For full scan queries we don't need to populate ScyllaDB cache. As noted [here](https://github.com/JanusGraph/janusgraph/issues/1778#issuecomment-527584375) we can apply `BYPASS_CACHE` flag on per query basis to not populate the cache when it's not needed.

Contributor guide

Open the contributing guide

Research direction

Start by locating the ScyllaDB driver code that handles full scan queries and existing per-query cache settings. Trace how the BYPASS_CACHE flag is represented, then add or update focused tests showing that full scans bypass cache population while other queries retain their current behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.