Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kitech/gearmand
在阅读代码过程中,为了方便理解,添加的一些启发性注释。
https://github.com/kitech/gearmand
Last synced: 20 days ago
JSON representation
在阅读代码过程中,为了方便理解,添加的一些启发性注释。
- Host: GitHub
- URL: https://github.com/kitech/gearmand
- Owner: kitech
- License: other
- Created: 2012-08-09T15:22:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-18T02:40:12.000Z (about 12 years ago)
- Last Synced: 2023-03-12T22:52:33.820Z (almost 2 years ago)
- Language: C++
- Homepage:
- Size: 1.11 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
README
Hi!
You've most likely downloaded this package as a tar.gz distribution,
so you'll want to read Getting Started. If you are interested in
developing or submitting patches to the project, read the Contributing
and Coding Style sections.Getting Started
---------------To build, you can follow the normal:
./configure
make
make installYou can also run 'make test' before installing to make sure everything
checks out ok. Once you have it installed, you can start the Gearman
job server with:gearmand -v
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
If you want to start writing your own client and workers, be sure to
check out the developer API at:http://gearman.info/libgearman.html
You can also find other useful resources related to the project at:
http://www.gearman.org/
Enjoy!
Contributing
------------If you are getting this code from https://launchpad.net/gearmand
then continue reading. Otherwise these directions are not for you
(well maybe...).To obtain code from https://launchpad.net/gearmand you will need to
issue the following command:bzr branch lp:gearmand
Once the tree is branched you will need to build the "configure"
script. You can do this by running the script:./config/autorun.sh
It will set up all of the files you need to build the package. At
that point it is just the typical "./configure; make; make test;
make install"For a tarball release do a "make dist" and for an RPM type "make rpm".
For patches please create a branch on launchpad and propose it to be
merged into the trunk. You can find out more information on how to
do this at the launchpad help site:https://help.launchpad.net/
Thanks and keep hacking!
Cheers,
-Brian
Seattle, WA.