Contents

ElasticMQ - a fully asynchronous, Akka-based Amazon SQS server

Adam Warski

13 Nov 2013.0 minutes read

Amazon SQS is great if you need a simple message queueing system. Though when using SQS, it would be good
to test how our code integrates with it (for example if it correctly handles the visibility timeout or
queue creation parameters). Thus ElasticMQ was created: to provide an embeddable, in-memory SQS implementation.

In the talk I will show how easy it is to run an embedded or stand-alone ElasticMQ server and test SQS client code,
both from JVM-based and non-JVM languages.

The second part will be more technical; I will briefly explain how actors are used to handle queues, how to implement
long polling using futures, and how to write sequential-like code which in fact runs asynchronously using Akka Dataflow.
I will also demo some of the features of Spray, an Akka-based HTTP/REST toolkit, which make it easy to quickly create APIs.

The project is fully open-source. You are encouraged to fork at: https://github.com/adamw/elasticmq.

Slides

Video

Blog Comments powered by Disqus.