mandiant / mandiant/gocrack

server/workmgr: evict workers on disconnect/idle

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

Nobody has claimed this yet.

Dominant language
Go
Stars
1.3k
Forks
238
PR merge metrics
No merged PRs in 30d

Description

Let's evict a worker from the workmgr if we haven't gotten a ping from it in a period of time.

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 in server/workmgr and trace how workers register and send pings. Determine the intended idle or disconnect period, then verify that a worker with no ping is evicted from the work manager. Check for focused worker-lifecycle tests in that package and ensure they cover the eviction behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.