apache / apache/cassandra-gocql-driver

#1062 and #1068 causes perf degradation

Open
#1,072 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.7k
Forks
658
PR merge metrics
No merged PRs in 30d

Description

We put requests in a buffer, and pull the buffer async to process them. The buffer is building up easily after pulling in #1062 and #1068.

The issue may be caused by the fact that these two diffs would make write serialized.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the changes referenced in #1062 and #1068, then trace how requests enter the buffer and are pulled asynchronously for processing. Investigate whether writes became serialized and measure whether that causes the buffer to build up. Done means the performance degradation and buffer growth are resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
cassandra, go
Domain
databases, performance
Issue type
Bug
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.