apache / apache/cassandra-gocql-driver

gocql prepares all queries

Open
#845 13 comments 0 reactions 0 assignees View on GitHub
waiting-for-info
Dominant language
Go
Stars
2.7k
Forks
658
PR merge metrics
No merged PRs in 30d

Description

Hi,

It seems that gocql will prepare all the queries like CRUD.
But we have lots of random read and write, which may cause the cache soon run out.
Is there some ways to avoid using prepared query?

Thanks.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the GoCQL driver prepares CRUD and random read/write queries, then inspect its existing configuration or query APIs for an opt-out. Done means the driver provides a clear, tested way to avoid unwanted prepared queries and documents its effect on the cache concern.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.