-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Installation instructios for compiled packages
- Loading branch information
1 parent
57ccc75
commit c97d4fc
Showing
1 changed file
with
13 additions
and
3 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 |
---|---|---|
|
@@ -10,19 +10,29 @@ Only "safe" channels are reused, that is channels where only Basic Publish or Ba | |
|
||
In our benchmarks publishing one message per connection to a server (using TLS) with a round-trip latency of 50ms, takes on avarage 0.01s using the proxy and 0.50s without. | ||
|
||
## Installation | ||
## Installation (from source) | ||
|
||
[Install Crystal](https://crystal-lang.org/docs/installation/) | ||
|
||
``` | ||
crystal build --release -o bin/amqproxy src/amqproxy.cr | ||
cp bin/amqproxy /usr/local/bin | ||
cp bin/amqproxy /usr/bin | ||
cp extras/amqproxy.service /etc/systemd/systems/ | ||
service start amqproxy | ||
systemctl enable amqproxy | ||
systemctl start amqproxy | ||
``` | ||
|
||
You probably want to modify `/etc/systemd/systems/amqproxy.service` and configure another upstream host. | ||
|
||
## Installation (from binary package) | ||
|
||
Download deb-package or any of the tar.gz packages with compiled binaries from the [Releases page](https://github.com/cloudamqp/amqproxy/releases). | ||
|
||
Requirements OS X: | ||
|
||
`brew install [email protected] bdw-gc libevent` | ||
|
||
Requirements Linux: OpenSSL | ||
|
||
## Usage | ||
|
||
|