Skip to content

Latest commit

 

History

History
115 lines (64 loc) · 3.15 KB

File metadata and controls

115 lines (64 loc) · 3.15 KB

Contributing

Coolbeans is currently at alpha release quality. It is all about improving the quality by adoption and testing.

By participating in this project you agree to abide by the code of conduct.

Building coolbeans

This section walks through the process of building the source and running coolbeans.

Dependencies

Build the binary.

The Makefile provides different target options to build and run from source.

To explore these options, run make which shows all possible targets:

make

For example: To generate a statically linked binary for the local operating-system.

make build

Run the service

Coolbeans typically runs as a two processes, refer the design for more detail.

Run a single node cluster. Note this creates two processes, a cluster-node process and beanstalkd proxy:

make run-single

Run a three node cluster. Note this spawns four processes, three cluster-node processes and beanstalkd proxy.:

make run-cluster

Other Run options

Run a single process beanstalkd (no replication via Raft, the entire queue is in memory):

make run-beanstalkd

Run a three node cluster via docker-compose. Run this prior to running docker-compose-up

make docker-compose-build

make docker-compose-up

Once done:

make docker-compose-down

Testing

Manual test

Download and run a beanstalk client from here.

Some client I tested with:

Unit Tests

Run unit-tests

make test

Explore other test options by running make

Run end to end tests

Run an end to end test scenarios against a running cluster.

make test-e2e

Other

  • Reporting an issue, please refer here

  • Guidelines for a good commit message. please refer here