forked from MeetMe/VorpalBunny
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gavin M. Roy
committed
Feb 25, 2011
1 parent
f260ff3
commit 8800c55
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
VorpalBunny | ||
=========== | ||
|
||
VorpalBunny is a publishing client for RabbitMQ's JSON-RPC Channel Plugin | ||
|
||
The goal is to be a light-weight tool for higher throughput with smaller | ||
protocol overhead for calling Basic.Publish from PHP applications. | ||
|
||
VorpalBunny uses PHP with CURL and APC to reduce the traffic footprint for | ||
clients who do nothing but publishing. The workflow is to allow the client | ||
to grab a session off of the RabbitMQ JSON-RPC Channel plugin web server | ||
and reuse that session until it is no longer valid. This is accomplished by | ||
using APC to cache the value of the sessionToken for the given server. | ||
|
||
Your exchange and routing key *MUST* be setup prior to use. | ||
|
||
Requirements | ||
------------ | ||
|
||
PHP 5 | ||
w/ CURL | ||
APC use is optional but recommended | ||
|
||
Example Usage | ||
------------- | ||
|
||
$vb = new VorpalBunny( 'localhost' ); | ||
$vb->publish( "Hello World!", "", "test" ); | ||
|
||
License | ||
------- | ||
VorpalBunny is released under the BSD License |