mailgun / mailgun/groupcache

Support batching multiple `Get()` requests in a single HTTP request

Open
#9 3 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

todo
Dominant language
Go
Stars
539
Forks
76
PR merge metrics
No merged PRs in 30d

Description

This would work just like mailgun/gubernators PeerClient which would wait a few microseconds and batch requests together in a single request. This technique has dramatically improved throughput of gubernator, I imagine groupcache would also benefit. In production we have seen batch sizes of 1k in a single request when queueing for only 500 Microseconds.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reading mailgun/gubernator's PeerClient, then trace groupcache's existing HTTP Get path to identify where requests enter. Define the batching behavior and verify that multiple Get requests can be served through one HTTP request without changing existing single-request behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.