Avout

727 views
664 views

Published on

Avout, Clojure, STM, Distributed

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
727
On SlideShare
0
From Embeds
0
Number of Embeds
29
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Avout

  1. 1. @diego_pachecoSoftware Architect | Agile Coach
  2. 2. Current Models Locks Actors STM
  3. 3. Current Models - Actors Actors NO Shared DataAsync Messages Lightweight Threads
  4. 4. Current Models - STM STM ACID
  5. 5. This is avout Infra-structure.
  6. 6. $ lein new avout-playgroundAdd [avout "0.5.3"] as dependency on project.clj$ lein deps$ touch avout-sample.clj$ lein repluser=> (load-file "src/avout_playground/avout-sample.clj" )
  7. 7. user=> (use avout-playground.core)user=> (inckz)[1]user=> (inckz)[1 2]user=> (inckz)[1 2 3]user=> (inckz)[1 2 3 4]user=> (inckz)[1 2 3 4 5]user=> (getr0)5niluser=> (getr1) avout-sample.clj[1 2 3 4 5]niluser=> (inckz)[1 2 3 4 5 6]
  8. 8. Support for Atoms and Refs reset!!, swap!!, dosync!!, ref-set!!, alter!!, commute!!
  9. 9. You also can add things to the groups like...
  10. 10. Distributed Locks
  11. 11. Distributed Locks
  12. 12. Thank You!Obrigado!@diego_pachecoSoftware Architect | Agile Coach

×