• Email
  • Like
  • Save
  • Private Content
  • Embed
 

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

by

  • 23,829 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.

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

9 Embeds 139

http://www.slideshare.net 75
http://www.scoop.it 43
http://heeha.wordpress.com 8
http://www.linkedin.com 7
http://blog.nuessler.org 2
http://wildfire.gigya.com 1
http://www.mefeedia.com 1
http://twitter.com 1
http://127.0.0.1 1

More...

Statistics

Likes
82
Downloads
768
Comments
9
Embed Views
139
Views on SlideShare
23,690
Total Views
23,829

19 of 9 previous next Post a comment

  • janainaxD janainaxD Jogando.net/mu Season 6 EP 3 (15) Participem da Nova Temporada da Jogando.Net/mu em versão Season6 sem bugs e com muitas Novidades. São mais de 20 servidores hospedados na equipe jogando.net com segurança e diversão garantida, os tais são: Pvp - Free: 30.000x | VIP: 50.000x Super - Free: 10.000x | VIP:15.000X Very Easy- Free: 5.000x - VIP: 7.500x Hard - Free: 100x - VIP: 150x Extreme - Free:10x - VIP 16x War: Fre 1000x - VIP 1500x Phonix : Free 1000x Vip 3000x NOVO Confiram as novidades: ** Novos Kits Diamond V2 Supremo ! ** AnimesClud site de anime onlines http://www.animescloud.com/ ** Novos Kits Fusion V2 Supremo (Exellent + anc + soket) ** Novo Kits JDiamond (Kit Raro 100 unidades ) Resta 0/100 ** Novo Sistema Vip Premium (Muito Bom para upar rapido) ** Novos Shields Power 18opts. ** Novas Asas level master socket ** Novos rings sockets (Excellent + opção socket) ** Novos Sets de Animes (Com o melhor preço implantado somente no jogando.net) ** Novo char: Rage Fighter ** Novos itens do novo char ** Novos mapas season 6. ** Novos PVPs ** Novo site disponibilizado >> CADASTRE-SE AGORA E GANHA 5 DIAS DE VIP EM QUAISQUER DOS SERVIDORES 9 months ago
    Are you sure you want to
  • mihaisoloi Mihai Soloi very nice history of concurrency models 1 year ago
    Are you sure you want to
  • savdalion Dalion at Dalion Very useful review. Thanks! 1 year ago
    Are you sure you want to
  • jzyzll jzyzll 强烈推荐!Highly recommend! 2 years ago
    Are you sure you want to
  • parallellabs parallellabs Highly recommend! 2 years ago
    Are you sure you want to
  • SunGreal2010 SunGreal2010 Nice Boat 2 years ago
    Are you sure you want to
  • Sarah1986 Sarah Green, Shopper at BuynShopping.com Great Presentation!
    Just add to my favourited.

    --
    http://buynshopping.com
    3 years ago
    Are you sure you want to
  • byjupv byjupv Alternative Concurrency Paradigms For The JVM 3 years ago
    Are you sure you want to
  • internetgg internetgg good 3 years ago
    Are you sure you want to
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