Are there docs about embedding Scalaris in an existing application?
I'd like to embed it to back a cache module my application uses to
distribute the data across my cluster of nodes.
The goal here is to back a soft real time billing platform, where we
need consistency across the cluster to know how much credit a user has
at a given time.
Essentially, I have a prepay system that tracks a users' credit level.
When they access the system, it can be through any number of servers
in the cluster (load balancer distributing the requests), so each
server capable of handling a request needs to update the rest of the
servers with what just happened. We're currently investigating a
number of K/V stores and Scalaris looks interesting for its strong
consistency, and Paxos seems a novel approach.
What I'm most concerned with is a user trying to flood us with
requests and not being able to keep an accurate accounting of credit
available. If two requests come in simultaneously, with credit
available only for one request, one request should succeed and the
other denied for insufficient funds.
Would you figure Scalaris to be an appropriate way to handle this
class of problem? Is embedding Scalaris as simple as setting up config
files and issuing an 'application:start(scalaris)' in my application's
code? Or what steps are needed to approach that level of usability.
Thanks for any help,
James
--
James Aimonetti
Distributed Systems Engineer / DJ MC_
2600hz |
http://2600hz.com
sip:ja...@2600hz.com
tel:
415.886.7905
> signature.asc
> < 1KViewDownload