These are chat archives for atomix/atomix

26th
Sep 2018
Jordan Halterman
@kuujo
Sep 26 2018 23:28
@incube8r there is a pub/sub API, but all REST APIs are considered beta ATM. There will probably be a version 2 of the API for 3.1 that is stateless as it should be.
Jordan Halterman
@kuujo
Sep 26 2018 23:34

@alexrobin sorry I’ve been offline for a while...

I think exposing the primitive name is fine, and it’s currently provided through getServiceName(). The reason the member ID is not exposed is because it could be used to violate the invariant that all instances (in a partition) have the same state. In general, only state that is consistent across all nodes is exposed to services so clients can arbitrarily switch between nodes and expect to see the same state, or at least state changes that maintain some consistent model (sequential or linearizable). Although, that’s not to say there’s not a valid rationale for exposing it to services. If we have one then I’m open to doing so with some warnings about consistency.