Add `Lease-Read` request support

Open
#29 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

The issue names no files, tests, or entry points. Start by tracing where requests are redirected to the leader and how follower reads are handled; done means read requests can use followers through the specified Lease-Read request without breaking leader-only operations.

Written by the indexing model from the issue text.

Description

feature

Currently, all requests are being redirected to the leader.

But this approach concentrates all the read requests on the leader unnecessarily, and not all the read requests should be processed only on the leader node.

Let's add the ability to handle read requests from followers via implementing Lease-Read request.

Dominant language
Rust
Stars
44
Forks
14
PR merge metrics
No merged PRs in 30d

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 lablup/raftify

All issues in lablup/raftify

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.