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

Like this? Share it with your network

Share

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

  • 27,860 views
Uploaded on

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • returns different values...
    ...then it has state
    i.e.
    state = identity + value
    Are you sure you want to
    Your message goes here
  • very nice history of concurrency models
    Are you sure you want to
    Your message goes here
  • 强烈推荐!Highly recommend!
    Are you sure you want to
    Your message goes here
  • Highly recommend!
    Are you sure you want to
    Your message goes here
  • Nice Boat
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
27,860
On Slideshare
27,661
From Embeds
199
Number of Embeds
13

Actions

Shares
Downloads
839
Comments
8
Likes
94

Embeds 199

http://www.slideshare.net 75
http://www.scoop.it 44
http://heeha.wordpress.com 28
http://jonasboner.com 24
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

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide