Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
@petabridge Petabridge.com
DataStax Enterprise and Actor
Systems
By Aaron Stannard
Co-Founder and CTO – Petabridge
Co-Foun...
@petabridge Petabridge.com
What do we love about
Datastax Enterprise?
@petabridge Petabridge.com
Intuitive Programming Model
(CQL3)
@petabridge Petabridge.com
Easily Distributed
@petabridge Petabridge.com
Highly Available
@petabridge Petabridge.com
Amazing Conference Swag!
@petabridge Petabridge.com
And more!
• Automatic cluster discovery (drivers)
• Tunable consistency
• Tremendous R/W throug...
@petabridge Petabridge.com
What if we could have these
nice things in the application
layer too?
@petabridge Petabridge.com
WHAT DO WE WANT?!
• Intuitive programming
model
• High availability
• Reliability
• Decouple ap...
@petabridge Petabridge.com
Enter the Actor Model
@petabridge Petabridge.com
Akka.NET: Actor Model in .NET
@petabridge Petabridge.com
Social Proof
@petabridge Petabridge.com
Everything is an "actor"
@petabridge Petabridge.com
This is an actor
@petabridge Petabridge.com
Actors work by passing each
other messages
@petabridge Petabridge.com
Message passing in action
@petabridge Petabridge.com
Actors send messages to
addresses
@petabridge Petabridge.com
Example
@petabridge Petabridge.com
Actor addresses have location
transparency
@petabridge Petabridge.com
So this means...
@petabridge Petabridge.com
Magic Scaling Sauce!!!
@petabridge Petabridge.com
(High Availability)
@petabridge Petabridge.com
We Can Deploy Actors and
Send Messages Anywhere
@petabridge Petabridge.com
Scaling Out
• Actors can be deployed anywhere
• Special "Router" actors distribute work
• Actor...
@petabridge Petabridge.com
And Can Form Highly Available
Systems
@petabridge Petabridge.com
Automatic Clustering
• Use seed nodes (just like DSE)
• New nodes can join and leave
• Work aut...
@petabridge Petabridge.com
But That's Not All!
• Persistent Actors
• Cluster Sharding
• And more!
@petabridge Petabridge.com
DSE + Actor Systems...
@petabridge Petabridge.com
In fact, you might already be
using them together...
@petabridge Petabridge.com
Apache Spark: Built on Akka
(JVM)
@petabridge Petabridge.com
Powerful Combinations
• Stream processing
• Event sourcing
• Real-time aggregation and analytic...
@petabridge Petabridge.com
Have questions? Ask us!
http://petabridge.com/datastax
Upcoming SlideShare
Loading in …5
×

2 12-2015 - Cassandra Day LA - Using DataStax Enterprise and Actor Systems for Fault Tolerant, Reliable Systems

1,782 views

Published on

Cassandra and DataStax Enterprise have made it a lot easier to build distributed applications by providing a solid persistence layer that distributes well, is highly available, and comes with an intuitive programming model.

So what if you could have all of the nice things DataStax Enterprise provides to you at your application layer too?

1. An intuitive programming model;
2. High availability;
3. Reliability; and
4. The ability to decouple application design from network topology.

Well it turns out you can do this easier than ever before using the Actor Model and Akka.NET. This talk explains how.

http://getakka.net/
http://petabridge.com/

Published in: Technology
  • Be the first to comment

2 12-2015 - Cassandra Day LA - Using DataStax Enterprise and Actor Systems for Fault Tolerant, Reliable Systems

  1. 1. @petabridge Petabridge.com DataStax Enterprise and Actor Systems By Aaron Stannard Co-Founder and CTO – Petabridge Co-Founder – Akka.NET
  2. 2. @petabridge Petabridge.com What do we love about Datastax Enterprise?
  3. 3. @petabridge Petabridge.com Intuitive Programming Model (CQL3)
  4. 4. @petabridge Petabridge.com Easily Distributed
  5. 5. @petabridge Petabridge.com Highly Available
  6. 6. @petabridge Petabridge.com Amazing Conference Swag!
  7. 7. @petabridge Petabridge.com And more! • Automatic cluster discovery (drivers) • Tunable consistency • Tremendous R/W throughput • DSE Startup Program
  8. 8. @petabridge Petabridge.com What if we could have these nice things in the application layer too?
  9. 9. @petabridge Petabridge.com WHAT DO WE WANT?! • Intuitive programming model • High availability • Reliability • Decouple application design from network topology
  10. 10. @petabridge Petabridge.com Enter the Actor Model
  11. 11. @petabridge Petabridge.com Akka.NET: Actor Model in .NET
  12. 12. @petabridge Petabridge.com Social Proof
  13. 13. @petabridge Petabridge.com Everything is an "actor"
  14. 14. @petabridge Petabridge.com This is an actor
  15. 15. @petabridge Petabridge.com Actors work by passing each other messages
  16. 16. @petabridge Petabridge.com Message passing in action
  17. 17. @petabridge Petabridge.com Actors send messages to addresses
  18. 18. @petabridge Petabridge.com Example
  19. 19. @petabridge Petabridge.com Actor addresses have location transparency
  20. 20. @petabridge Petabridge.com So this means...
  21. 21. @petabridge Petabridge.com Magic Scaling Sauce!!!
  22. 22. @petabridge Petabridge.com (High Availability)
  23. 23. @petabridge Petabridge.com We Can Deploy Actors and Send Messages Anywhere
  24. 24. @petabridge Petabridge.com Scaling Out • Actors can be deployed anywhere • Special "Router" actors distribute work • Actors can be easily restarted and redeployed
  25. 25. @petabridge Petabridge.com And Can Form Highly Available Systems
  26. 26. @petabridge Petabridge.com Automatic Clustering • Use seed nodes (just like DSE) • New nodes can join and leave • Work automatically gets redistributed (because, routers)
  27. 27. @petabridge Petabridge.com But That's Not All! • Persistent Actors • Cluster Sharding • And more!
  28. 28. @petabridge Petabridge.com DSE + Actor Systems...
  29. 29. @petabridge Petabridge.com In fact, you might already be using them together...
  30. 30. @petabridge Petabridge.com Apache Spark: Built on Akka (JVM)
  31. 31. @petabridge Petabridge.com Powerful Combinations • Stream processing • Event sourcing • Real-time aggregation and analytics • Dynamic pricing and other fun e- commerce problems
  32. 32. @petabridge Petabridge.com Have questions? Ask us! http://petabridge.com/datastax

×