beanstalkd / beanstalkd/beanstalkd

mailbox tubes

Open
#3 5 comments 0 reactions 0 assignees View on GitHub
FeatureRequest NeedsDecision
Dominant language
C
Stars
6.7k
Forks
868
PR merge metrics
No merged PRs in 30d

Description

Most tubes exist as long as jobs exist in them or a client is watching or using them. Mailbox tubes exist only while a client is watching. If no clients are watching, the tube and all jobs in it vanish.

A common use for this is to indicate completion of a job by a "reply job" sent to a mailbox tube.

Such tubes can be marked as special by prefixing the name with a special char. I think "~" would work fine as that char.

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are named. Begin by locating the code that creates, watches, and removes tubes, then trace how jobs are retained; the proposal is done when a prefixed mailbox tube exists only while a client watches and its queued jobs disappear when the last watcher leaves.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.