Improve context handling for memcache and badger storage backends

Open
#77 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
go
Domain
backend

Research direction

Locate the memcache and badger storage backend implementations and trace where they wait for storage responses. Check how cancellation is represented elsewhere in the package; done means both backends observe the caller's context instead of continuing a blocking request after cancellation, with tests covering that behavior.

Written by the indexing model from the issue text.

Description

in current implemenatation for memcache and badger, context is not used that could lead to blocking request for longer that it's needed, we should try to introduce context observing why we waiting response from storage backend

Dominant language
Go
Stars
1
Forks
0
Avg merge
4d 22h
Merged PRs (30d)
5

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ksysoev/anycache

All issues in ksysoev/anycache

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.