State: You're Doing It Wrong - Alternative Concurrency Paradigms For The JVM
Upcoming SlideShare
Loading in...5
×
 

State: You're Doing It Wrong - Alternative Concurrency Paradigms For The JVM

on

  • 27,485 views

My talk for JavaOne 2009 ...

My talk for JavaOne 2009

Abstract:
Writing concurrent programs in the Java programming language is hard, and writing correct concurrent programs is even harder. What should be noted is that the main problem is not concurrency itself but the use of mutable shared state. Reasoning about concurrent updates to, and guarding of, mutable shared state is extremely difficult. It imposes problems such as dealing with race conditions, deadlocks, live locks, thread starvation, and the like.

It might come as a surprise to some people, but there are alternatives to so-called shared-state concurrency (which has been adopted by C, C++, and the Java programming language and become the default industry-standard way of dealing with concurrency problems).

This session discusses the importance of immutability and explores alternative paradigms such as dataflow concurrency, message-passing concurrency, and software transactional memory. It includes a pragmatic discussion of the drawbacks and benefits of each paradigm and, through hands-on examples, shows you how each one, in its own way, can raise the abstraction level and give you a model that is much easier to reason about and use. The presentation also shows you how, by choosing the right abstractions and technologies, you can make hard concurrency problems close to trivial. All discussions are driven by examples using state-of-the-art implementations available for the JVM machine.

Statistics

Views

Total Views
27,485
Views on SlideShare
27,293
Embed Views
192

Actions

Likes
92
Downloads
831
Comments
8

13 Embeds 192

http://www.slideshare.net 75
http://www.scoop.it 44
http://heeha.wordpress.com 25
http://jonasboner.com 20
http://www.linkedin.com 18
http://blog.nuessler.org 2
https://twitter.com 2
http://wildfire.gigya.com 1
https://www.rebelmouse.com 1
http://127.0.0.1 1
http://twitter.com 1
http://www.mefeedia.com 1
https://www.linkedin.com 1
More...

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…
  • returns different values...
    ...then it has state
    i.e.
    state = identity + value
    Are you sure you want to
    Your message goes here
    Processing…
  • very nice history of concurrency models
    Are you sure you want to
    Your message goes here
    Processing…
  • 强烈推荐!Highly recommend!
    Are you sure you want to
    Your message goes here
    Processing…
  • Highly recommend!
    Are you sure you want to
    Your message goes here
    Processing…
  • Nice Boat
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

State: You're Doing It Wrong - Alternative Concurrency Paradigms For The JVM State: You're Doing It Wrong - Alternative Concurrency Paradigms For The JVM Presentation Transcript