Skip to content
This repository has been archived by the owner on Sep 8, 2018. It is now read-only.
/ routeawster Public archive

An attempt of a "pure" AWS implementation of: https://github.com/deliveroo/routemaster

Notifications You must be signed in to change notification settings

chids/routeawster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This was hacked together in December 2017, the commits in this repo are from when it was moved into the open.

What this is

This repository contains Terraform modules to create a Routemaster-ish setup using only pure AWS componets, like so:

Prior art

Shortcomings

Not ordered

The original Routemaster is ordered, this is not.

Only batched for SQS

The original Routemaster delivers events in batches, this only does so over SQS and only at the consumers discretion.

AWS hurdles discovered while hacking on this

SQS FIFO queues can't subscribe to SNS

AWS support case: 4668800311:

Presently, SNS does not support FIFO queues as a subscription endpoint - this is an open feature request and I have added your voice to these requests.

A word of caution: In practice, FIFO queues behind an SNS topic aren't likely to work as expected. Because of the way topics and notifications are handled within SNS, it's entirely possible that messages will be delivered to the FIFO queue from SNS in an order that differs from the publishing order. That said, the real value in FIFO behind SNS is deduplication - which is something that can be approximated through other means when using a standard SQS queue. There's a great discussion of duplicate checking on the AWS Forums here: https://forums.aws.amazon.com/thread.jspa?threadID=140782

SQS FIFO queues aren't available in eu-central-1

AWS support case: 4673571521:

While I cannot provide an exact timeline for the availability of SQS FIFO queues in the eu-central-1 region, please know that we are constantly working to deliver additional services and features to as many regions as possible. FIFO is a highly requested feature and I will ensure your voice is added to those of other customers who have inquired about the same.

Bonus! The SNS console allows subscribing an SQS FIFO queue to a topic

...but nothing is delivered b/c it's not supported 😬, AWS support case: 4668836031