lshift/diffa — pull request #280 by anthonyls (2012-12-17 16:29:42+00:00)
Title: Use Snowflake ID provider to generate Endpoint identifiers

In order to have a more reliable service in the event of faults,
As a DaaS Operator
I want to run the Diffa service on a cluster of many nodes.

Scope

* Endpoint identifiers to be provided by a configurable ID provider
* ID provider implementation: k-ordered, unique identifier (aka Snowflake)

Acceptance Criteria

* given an existing endpoint e1, when I create an endpoint e2, e2 should have an identifier that is different to that of e1
* given an existing endpoint e1, when I create an endpoint, e2, on the same node, e2 should have an identifier that is greater than that of e1