• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
STM
 

STM

on

  • 1,028 views

STM, dev,clojure,

STM, dev,clojure,

Statistics

Views

Total Views
1,028
Views on SlideShare
1,021
Embed Views
7

Actions

Likes
2
Downloads
12
Comments
0

1 Embed 7

http://paper.li 7

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    STM STM Presentation Transcript

    • STM@diego_pachecoSoftware Architect | Agile Coach
    • Moores law (Number os Transistors double ~2 years)
    • AMD Athlon 64 FX-53 CPU 2.4 GHz - Single CORE - 2005
    • Single Thread App: It’s ALL OVER !!!
    • More Than one CORE: Dual, Quad, etc..
    • Concurrent Threads == Challenges
    • Order of operations is not fixed…
    • Difficult to repeat failures…
    • WE often don’t think this way…
    • Testing effort is bigger…
    • Multithreaded: 2 General Categories JOB JOB Group P1 P3 J1 P2 J2 J3 P4 P5 J4 J5 JOB JOB Group DONE DONE
    • Current Models Locks Actors STM
    • Current Models - LOCKS Locks Shared-Memory OO Surreal
    • Current Models - Actors Actors NO Shared DataAsync Messages Lightweight Threads
    • Current Models - STM STM ACID
    • STM Implementations Guarantee NO: Dead Locks LivelockRace Conditions
    • STM Issues:Retry Waste: Lots of transactions retry Overhead: Transaction Bookkeeping Lack of Tools: Identify, learn, tunning, etc...
    • Clojure/Haskell: All Immutable Everything is immutable! Change: Always Inside a Transaction.
    • Clojure: Persistent Data Structures
    • Clojure STM ImplementationMulti-Version Concurrency Control (MVCC) + Snapshot isolation Databases (Mysql, Postgress & Oracle), Subversion, EhCache, JBoss Cache Clojure and several other solutions…
    • STMThank You!@diego_pachecoSoftware Architect | Agile Coach