github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/docs/operating/mqs/README.md (about)

     1  # Message Queues
     2  
     3  A message queue is used to coordinate asynchronous function calls that run through IronFunctions.
     4  
     5  We currently support the following message queues and they are passed in via the `MQ_URL` environment variable. For example:
     6  
     7  ```sh
     8  docker run -e "MQ_URL=redis://localhost:6379/" ...
     9  ```
    10  
    11  ## [Bolt](https://github.com/boltdb/bolt) (default)
    12  
    13  URL: `bolt:///titan/data/functions-mq.db`
    14  
    15  See Bolt in databases above. The Bolt database is locked at the file level, so
    16  the file cannot be the same as the one used for the Bolt Datastore.
    17  
    18  ## [Redis](http://redis.io/)
    19  
    20  See Redis in databases above.
    21  
    22  ## [IronMQ](https://www.iron.io/platform/ironmq/)
    23  
    24  URL: `ironmq://project_id:token@mq-aws-us-east-1.iron.io/queue_prefix`
    25  
    26  IronMQ is a hosted message queue service provided by [Iron.io](http://iron.io). If you're using IronFunctions in production and don't
    27  want to manage a message queue, you should start here.
    28  
    29  The IronMQ connector uses HTTPS by default. To use HTTP set the scheme to
    30  `ironmq+http`. You can also use a custom port. An example URL is:
    31  `ironmq+http://project_id:token@localhost:8090/queue_prefix`.
    32  
    33  ## What about message queue X?
    34  
    35  We're happy to add more and we love pull requests, so feel free to add one! Copy one of the implementations above as a starting point.
    36