MCPcopy Index your code
hub / github.com/beanstalkd/beanstalkd

github.com/beanstalkd/beanstalkd @v1.13

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.13 ↗ · + Follow
396 symbols 1,259 edges 27 files 59 documented · 15% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build Status codecov

beanstalkd

Simple and fast general purpose work queue.

https://beanstalkd.github.io/

See doc/protocol.txt for details of the network protocol.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See CodeOfConduct.txt for details.

Quick Start

$ make
$ ./beanstalkd

also try,

$ ./beanstalkd -h
$ ./beanstalkd -VVV
$ make CFLAGS=-O2
$ make CC=clang
$ make check
$ make install
$ make install PREFIX=/usr

Requires Linux (2.6.17 or later), Mac OS X, FreeBSD, or Illumos.

Currently beanstalkd is tested with GCC and clang, but it should work with any compiler that supports C99.

Uses ronn to generate the manual. See http://github.com/rtomayko/ronn.

Subdirectories

  • adm - files useful for system administrators
  • ct - testing tool; vendored from https://github.com/kr/ct
  • doc - documentation
  • pkg - scripts to make releases

Tests

Unit tests are in test*.c. See https://github.com/kr/ct for information on how to write them.

Core symbols most depended-on inside this repo

job_free
called by 30
job.c
heapremove
called by 20
heap.c
nanoseconds
called by 19
time.c
optparse
called by 17
util.c
die
called by 16
ct/ct.c
heapinsert
called by 15
heap.c
ctdir
called by 15
ct/ct.c
warnx
called by 14
util.c

Shape

Function 349
Class 47

Languages

C96%
C++4%

Modules by API surface

testserv.c98 symbols
prot.c64 symbols
ct/ct.c30 symbols
walg.c23 symbols
conn.c20 symbols
testutil.c18 symbols
job.c18 symbols
file.c18 symbols
dat.h12 symbols
util.c10 symbols
testjobs.c10 symbols
net.c10 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add beanstalkd \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact