Нет описания http://gearman.org/
Ed Sabol c24d8998e4 Merge pull request #411 from esabol/address-CodeQL-gripe-about-uncontrolled-format-string | 1 месяц назад | |
---|---|---|
.github | 3 месяцев назад | |
benchmark | 2 лет назад | |
bin | 2 лет назад | |
docker | 3 месяцев назад | |
docs | 2 лет назад | |
examples | 8 лет назад | |
gearmand | 2 лет назад | |
libboost | 2 лет назад | |
libgearman | 1 год назад | |
libgearman-1.0 | 5 лет назад | |
libgearman-server | 2 месяцев назад | |
libgearmancore | 7 лет назад | |
libhashkit | 4 лет назад | |
libhashkit-1.0 | 12 лет назад | |
libhostile | 10 лет назад | |
libtest | 3 месяцев назад | |
m4 | 1 год назад | |
man | 10 лет назад | |
rpm | 6 лет назад | |
scripts | 3 лет назад | |
support | 3 лет назад | |
tests | 4 месяцев назад | |
util | 3 месяцев назад | |
.bootstrap | 12 лет назад | |
.gitignore | 2 лет назад | |
.quickly | 13 лет назад | |
.travis.yml | 3 лет назад | |
AUTHORS | 13 лет назад | |
CODE_OF_CONDUCT.md | 3 лет назад | |
CONTRIBUTING.md | 3 лет назад | |
COPYING | 13 лет назад | |
ChangeLog | 4 лет назад | |
GNUmakefile | 10 лет назад | |
Makefile.am | 2 лет назад | |
NEWS | 16 лет назад | |
PROTOCOL | 5 лет назад | |
README.md | 7 месяцев назад | |
THANKS | 13 лет назад | |
bootstrap.sh | 1 год назад | |
configure.ac | 3 месяцев назад | |
version.m4 | 8 лет назад |
The latest version of gearmand
source code and versions 1.1.13 and later can be found at GitHub Repository. Older versions released before 1.1.13 can be found at Launchpad Repository.
You can grab the latest release distribution of Gearman from https://github.com/gearman/gearmand/releases. Unless otherwise specified, releases are GPG-signed by Clint Byrum, whose public key can be found at https://fewbar.com/clint-byrum-public-key/.
Gearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the work. It allows you to do work in parallel, to load balance processing, and to call functions between languages. Gearman is the nervous system for how distributed processing communicates.
If you downloaded this package as a tar.gz
distribution, you'll want to read the Getting Started section below or visit the more detailed web page Getting Started.
If you are interested in developing or submitting patches to the project, read the Contributing section below and check out the CONTRIBUTING.md file for Coding Style and COPYING for details on licensing.
If you want to work on the latest code, please read the file CONTRIBUTING.md.
To build a release version from a tarball (.tar.gz
or .tgz
), you can follow the normal:
Change into the directory where you saved the tarball and run:
tar xzf gearmand-X.Y.tar.gz
cd gearmand-X.Y
Then run the usual autoconfigure style build (you may need to use sudo
to install):
./configure
make
make install
There are various dependencies that may be satisfied on Ubuntu by installing these packages:
sudo apt install automake autoconf libtool make curl gcc g++ git gperf \
libssl-dev libboost-all-dev libevent-dev libhiredis-dev libpq-dev \
libtokyocabinet-dev python3-sphinx uuid-dev
You can also run make test
before installing to make sure everything
checks out ok. You can also streamline the process of building and testing by running:
./configure && make && make test
make install
Once you have it installed, you can start the Gearman job server with:
gearmand --verbose INFO
This will start it while printing some verbose messages. To try running a job through it, look in the examples/ directory of this source and run:
./reverse_worker
Once that is running, you can run your first job with:
./reverse_client "Hello, Gearman!"
If all goes well, the reverse_worker application should have output:
Job=H:lap:1 Workload=Hello, Gearman! Result=!namraeG ,olleH
While the reverse_client returned:
Result=!namraeG ,olleH
There are a lot more details about gearmand at Getting Started.
If you want to start writing your own client and workers, be sure to check out the Developer API documentation.
For using and configuring the gearmand server, please check out the latest documentation.
There are also many other useful resources to help you put gearmand to work for you!
Enjoy!
The current versions of geamand are maintained on our GitHub Repo for gearmand.
If you are not familiar with git
, you can find more info at Getting Started with Git.
Please follow these instructions to clone, create a branch, and generate a pull request on that branch. More details on using GitHub can be found at GitHub Help.
Clone the GitHub repository to your local file system:
git clone https://github.com/gearman/gearmand
If you do not have access to create branches in the gearmand GitHub repository, you should fork the repository and clone your fork instead. Refer to Contributing to Open Source on GitHub for details.
Next, think of a clear, descriptive branch name and then create a new branch and change to it:
cd gearmand
git checkout -b DESCRIPTIVE_BRANCH_NAME
Once the tree is branched you will need to generate the "configure" script for autoconfigure.
./bootstrap.sh -a
Finally, you are ready to run tests, make changes to the code, commit and push them to GitHub, and generate a pull request on your branch so we can consider your changes.
You can learn more about how to Create a Pull Request and Create a Pull Request from a Fork.
Once you have made your changes there are two additional make
targets to build release ready distributions:
To generate a tarball distribution of your code:
make dist
Or to generate an RPM distribution use:
make rpm
Thanks and keep hacking!
Cheers,
-Brian
Seattle, WA.