• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transactions hurt concurency

 
Prashant Neginahal
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I want to understand the meaning of following statement.
"Transactions hurt concurency".

Always all methods of bean are synchronised, so at any point of time only one thread executes business method. So how does transaction further hurts concurrency?

Thanks,
Prashant
 
KasiMurugan Ramasamy
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prashant,

Could you tell me, where you got this statement.

Thanks & Regards
Kasimurugan R.
 
Miki Muzsi
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It hurts in the sens that threads need to wait! So if you have a lot of big methods all running in (say) different transactions, multipls threads can not (hurt) execute concurrently.

Miki
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic