Giter Site home page Giter Site logo

beanstalkd's Introduction

This is beanstalkd, a fast, general-purpose work queue.
See http://kr.github.com/beanstalkd/ for general info.

QUICK START

    $ make
    $ ./beanstalkd

also,

    $ make CFLAGS=-g
    $ make CC=clang
    $ make check
    $ make install
    $ make install PREFIX=/usr

You might need to type "gmake"; our build requires GNU make.
Requires Linux (2.6.17 or later), Mac OS X, or FreeBSD.
See doc/protocol.txt for details of the network protocol.


SUBDIRECTORIES

adm		files useful for system administrators
ct		testing tool; see https://github.com/kr/ct
doc		documentation
mk		include files for make
pkg		miscelaneous files for packagers
sh-tests	tests written as shell scripts


TESTS

There are two kinds of tests here: unit tests and shell tests.

== Unit Tests ==

Test functions are in *-test.c.

== Shell Tests ==

Shell tests go in the sh-tests directory and are to be written in pairs:

    my_test.commands
    my_test.expected

Each .commands file will be nc'd to beanstalkd, and the response diff'd
with the appropriate .expected file.  If the response is not identical to the
.expected file, the test fails.  At the moment, the test harness bails upon the
first failure, but it could easily be extended to finish the tests and print
full results.

IMPORTANT: Since beanstalkd expects \r\n line endings, you must be sure to
include those in your files.  You can tell vim to do this with
  :set ff=dos

Copyright 2007-2011 the authors of beanstalkd.
Copyright in contributions to beanstalkd is retained
by the original copyright holder of each contribution.
See the COPYING file for terms of use.

beanstalkd's People

Contributors

abh avatar blueness avatar copiousfreetime avatar dolfelt avatar drasch avatar dustin avatar gbarr avatar jbergstroem avatar joncooper avatar kr avatar lericson avatar manveru avatar noahwilliamsson avatar pda avatar sebest avatar sempr avatar sophacles avatar stephan-hof avatar tony2001 avatar zhan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.