AllQ
  • What is AllQueue?
  • Getting Started
  • Install
    • Why AllQueue?
    • Architecture
    • 1. Install AllQueue Server
    • 2. Install AllQueue Client
    • Installation (Quick Start)
  • Foundational Concepts
    • Talking to AllQueue
    • Server/Client
    • Jobs
    • Tubes
    • Persistence
  • Features
    • Autobury Failed Jobs
    • Delayed Jobs/Scheduling
    • Priority
    • Workflow
    • Throttle
    • Fair Queuing
  • Configuration
  • Rest API Usage
  • Scenarios
  • Advanced
    • Docker Configuration Options
    • Federation Deployment
Powered by GitBook
On this page
  • Requirements
  • Run client
  • Test Connection

Was this helpful?

  1. Install

2. Install AllQueue Client

AllQClient

The client is used for your App to talk to AllQueue server. There is no way to talk directly to the server, your app must talk to a (preferrably) local AllQueue client. This is done by talking to the local AllQClient via http. (Or for more advanced needs, you can actually talk to the local client via raw TCP as well)

Requirements

You MUST have generated credentials from the "Install AllQueue Server" page to run the AllQueue Client install

Run client

$ docker run --name=allq_client -d \
    -e "SERVER_STRING=YOUR_SERVER_IP:5555" \
    -e "A_CURVE_SECRETKEY=$A_CURVE_SECRETKEY" \
    -e "A_CURVE_PUBLICKEY=$A_CURVE_PUBLICKEY" \
    -e "A_CURVE_SERVER_PUBLICKEY=$A_CURVE_SERVER_PUBLICKEY" \
    -p 8090:8090 \
    blitline/allq:client_latest
  1. Update the SERVER_STRING with your server IP/DNS name, and default port 5555

  2. Update the A_CURVE_* values with your client values you wrote down when setting up the server.

It's important that you use the CLIENT credentials, and not the server credentials.

Test Connection

You can test your client to see if it's talking with the server via curl

curl http://localhost:8090/stats

If you get a 500 error, you probably have the SERVER_STRING, or CURVE keys incorrect.

Also remember that port 5555 must be open on the server (not firewalled)

If you get JSON back, your client/server connection is OK and you are all set!

Previous1. Install AllQueue ServerNextInstallation (Quick Start)

Last updated 4 years ago

Was this helpful?