Suche senden
Hochladen
Treasure Island -- Concurrency in JRuby
•
1 gefällt mir
•
1,013 views
Tim Lossen
Folgen
talk given by @phuesler and me on 2012-04-19 at railsberry 2012 in krakow, poland
Weniger lesen
Mehr lesen
Technologie
Sport
Melden
Teilen
Melden
Teilen
1 von 98
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Sifat allah
Sifat allah
Norhidayah Nawi
Visual Resume
Visual Resume
dcmoore1
Consumers behaviour 2
Consumers behaviour 2
edmond061
Trabajo de evaluacion de periodo
Trabajo de evaluacion de periodo
hip-hop-rap-porta
resume-YOGESH MATHURn
resume-YOGESH MATHURn
YOGESH MATHUR
Spectrum Community Investment Casebook May 2015lo-respages - LB
Spectrum Community Investment Casebook May 2015lo-respages - LB
Suzie Mundell
Apocalypse Later
Apocalypse Later
Tim Lossen
Embracing Failure
Embracing Failure
Tim Lossen
Empfohlen
Sifat allah
Sifat allah
Norhidayah Nawi
Visual Resume
Visual Resume
dcmoore1
Consumers behaviour 2
Consumers behaviour 2
edmond061
Trabajo de evaluacion de periodo
Trabajo de evaluacion de periodo
hip-hop-rap-porta
resume-YOGESH MATHURn
resume-YOGESH MATHURn
YOGESH MATHUR
Spectrum Community Investment Casebook May 2015lo-respages - LB
Spectrum Community Investment Casebook May 2015lo-respages - LB
Suzie Mundell
Apocalypse Later
Apocalypse Later
Tim Lossen
Embracing Failure
Embracing Failure
Tim Lossen
Embracing Failure
Embracing Failure
Tim Lossen
Enemy of the State?
Enemy of the State?
Tim Lossen
Beyond Devops
Beyond Devops
Tim Lossen
All Your Core Are Belong To Us
All Your Core Are Belong To Us
Tim Lossen
Podularity FTW!
Podularity FTW!
Tim Lossen
Cubic Foot Gardening
Cubic Foot Gardening
Tim Lossen
Dashboard Mania
Dashboard Mania
Tim Lossen
Event-Stream Processing with Kafka
Event-Stream Processing with Kafka
Tim Lossen
Into the Void
Into the Void
Tim Lossen
Dashboard Mania
Dashboard Mania
Tim Lossen
JRuby vs. Rubinius
JRuby vs. Rubinius
Tim Lossen
Redis to the Rescue?
Redis to the Rescue?
Tim Lossen
Redis to the Rescue?
Redis to the Rescue?
Tim Lossen
The Smallest Cluster in the World
The Smallest Cluster in the World
Tim Lossen
Announcing Euruko 2011
Announcing Euruko 2011
Tim Lossen
Memory: The New Disk
Memory: The New Disk
Tim Lossen
Key-Value-Stores -- The Key to Scaling?
Key-Value-Stores -- The Key to Scaling?
Tim Lossen
Cassandra vs. Redis
Cassandra vs. Redis
Tim Lossen
An Introduction to Membase
An Introduction to Membase
Tim Lossen
Petascale Storage -- Do It Yourself!
Petascale Storage -- Do It Yourself!
Tim Lossen
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Roshan Dwivedi
Weitere ähnliche Inhalte
Mehr von Tim Lossen
Embracing Failure
Embracing Failure
Tim Lossen
Enemy of the State?
Enemy of the State?
Tim Lossen
Beyond Devops
Beyond Devops
Tim Lossen
All Your Core Are Belong To Us
All Your Core Are Belong To Us
Tim Lossen
Podularity FTW!
Podularity FTW!
Tim Lossen
Cubic Foot Gardening
Cubic Foot Gardening
Tim Lossen
Dashboard Mania
Dashboard Mania
Tim Lossen
Event-Stream Processing with Kafka
Event-Stream Processing with Kafka
Tim Lossen
Into the Void
Into the Void
Tim Lossen
Dashboard Mania
Dashboard Mania
Tim Lossen
JRuby vs. Rubinius
JRuby vs. Rubinius
Tim Lossen
Redis to the Rescue?
Redis to the Rescue?
Tim Lossen
Redis to the Rescue?
Redis to the Rescue?
Tim Lossen
The Smallest Cluster in the World
The Smallest Cluster in the World
Tim Lossen
Announcing Euruko 2011
Announcing Euruko 2011
Tim Lossen
Memory: The New Disk
Memory: The New Disk
Tim Lossen
Key-Value-Stores -- The Key to Scaling?
Key-Value-Stores -- The Key to Scaling?
Tim Lossen
Cassandra vs. Redis
Cassandra vs. Redis
Tim Lossen
An Introduction to Membase
An Introduction to Membase
Tim Lossen
Petascale Storage -- Do It Yourself!
Petascale Storage -- Do It Yourself!
Tim Lossen
Mehr von Tim Lossen
(20)
Embracing Failure
Embracing Failure
Enemy of the State?
Enemy of the State?
Beyond Devops
Beyond Devops
All Your Core Are Belong To Us
All Your Core Are Belong To Us
Podularity FTW!
Podularity FTW!
Cubic Foot Gardening
Cubic Foot Gardening
Dashboard Mania
Dashboard Mania
Event-Stream Processing with Kafka
Event-Stream Processing with Kafka
Into the Void
Into the Void
Dashboard Mania
Dashboard Mania
JRuby vs. Rubinius
JRuby vs. Rubinius
Redis to the Rescue?
Redis to the Rescue?
Redis to the Rescue?
Redis to the Rescue?
The Smallest Cluster in the World
The Smallest Cluster in the World
Announcing Euruko 2011
Announcing Euruko 2011
Memory: The New Disk
Memory: The New Disk
Key-Value-Stores -- The Key to Scaling?
Key-Value-Stores -- The Key to Scaling?
Cassandra vs. Redis
Cassandra vs. Redis
An Introduction to Membase
An Introduction to Membase
Petascale Storage -- Do It Yourself!
Petascale Storage -- Do It Yourself!
Kürzlich hochgeladen
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Roshan Dwivedi
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Pooja Nehwal
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
gurkirankumar98700
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Allon Mureinik
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Paola De la Torre
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
Kürzlich hochgeladen
(20)
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Slack Application Development 101 Slides
Slack Application Development 101 Slides
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
Treasure Island -- Concurrency in JRuby
1.
Treasure Island
2.
3.
Tour Guides
4.
5.
6.
@tlossen
7.
@phuesler
8.
9.
“The Free Lunch
is Over.” — Herb Sutter (2005)
10.
11.
Concurrency
12.
13.
14.
Fin?
15.
16.
Concurrency
17.
Multi Core
18.
19.
20.
Thread Concurrency
21.
!fork()
22.
Rubies!!!
23.
GIL
24.
http://igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/
25.
Ruby MRI 1.8
X REE 1.8 X Ruby MRI 1.9 X IronRuby (✔) Maglev ? Rubinius ✔ JRuby ✔ MacRuby ✔
26.
JRuby
27.
Java Island
28.
Multi-Threading
29.
30.
Evil?
31.
32.
33.
34.
java.util. concurrent
35.
36.
37.
Atomic Boolean
38.
CountDown Latch
39.
Cyclic Barrier
40.
41.
Executor
42.
Future
43.
44.
Actors
45.
46.
Bad Actors
47.
48.
and the nominees are...
49.
50.
MRI
51.
Better Actors
52.
Erlang
53.
Scala
54.
Rubinius
55.
JRuby
56.
Frameworks
57.
58.
59.
Akka
60.
61.
Scala
62.
Heavily Inspired
by Erlang
63.
Simple Concurrency
64.
Distributed
65.
Fault Tolerant
66.
Supervisors
67.
68.
Fast
69.
70.
Can it be
used with JRuby?
71.
Yes*
72.
Moarrrrr!!!!
73.
STM
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
Evented
91.
Disruptor
92.
http://martinfowler.com/articles/lmax.html
93.
Q&A
94.
“There ain’t no
such thing as a free lunch.” — Robert A. Heinlein ❦
95.
Links • “The Free
Lunch Is Over” (Herb Sutter, 2005) • “Real-World Concurrency” (Bryan Cantrill, Jeff Bonwick, 2008) • “Don't Fear the Threads” (David Copeland, 2012) • “Concurrency is not Parallelism” (Rob Pike, 2012) • “The LMAX Architecture” (Martin Fowler, 2011)
96.
97.
Credits Ajith Kumar (Flickr) tontoncopt
(Flickr) Hatem Riahi (Flickr) Stefanie (Flickr)
98.
Credits Barry Skeates (Flickr) Hillary
White (Flickr) David Thompson (Flickr) “Dope Zebra”, Rhett & Link
Jetzt herunterladen