Actor Myths

Actors are the new concurrency. They are everywhere. People make bold claims about actors, and while I do not agree with many of them, two in particular I regard as myths. Here they are:

  1. Actors are a shared nothing architecture
  2. Actors are easier to get right because of their shared nothing architecture

I know I’m alone with calling those myths, but here we go. Considering the first myth. If they share nothing, they could not collaborate on data. Sharing immutable messages does not help for getting data synced up again. So this can’t be the way to collaborate. Indeed actors do share everything! Each actor can be considered a data structure with state and a write lock (synchronized in Java).

The second myth. Actors are easier to get right because they share nothing and therefor do not have locks. As argued above they have locks, so this can’t be the reason why they are easier to get right. I consider two characteristics of actors to be the reason for them being easier:

  1. They only can hold one lock at a time (when using synchronized send messages). This is a common approach to prevent deadlocks in locking architectures.
  2. They mostly send asynchronous messages. This prevents the common problems that arise from holding locks and blocking. In locking architectures when accessing locks in an asynchronous way (e.g. with futures and timeouts) there are also no deadlocks for the calling thread.

I would like to learn something from this. So please keep your flaming minimal and help me understand possibles errors in my thinking instead.

Update: If you do not believe me concerning the shared-nothing part, read the example from James

337 thoughts on “Actor Myths”

  1. Pingback:
  2. Pingback: uggs Sko
  3. Pingback: parajumpers norge
  4. Pingback: louis vuitton salg
  5. Pingback: LhBiqoXi
  6. Pingback: parajumpers salg
  7. Pingback: nike air max solde
  8. Pingback: nike air max 2015
  9. Pingback: roger vivier shoes
  10. Pingback: 財布コピー
  11. Pingback: コーチ 意味
  12. Pingback: nike air max 92
  13. Pingback: fifa 16 coins
  14. Pingback: electric scooter
  15. Pingback: sell fifa coins
  16. Pingback: fifa 14 coins free
  17. Pingback: fifa world coins
  18. Pingback: fifa 14 coins xbox
  19. Pingback: fifa shop coins
  20. Pingback: ultimate coins
  21. Pingback: xbox fifa 14 coins
  22. Pingback: nike outlet
  23. Pingback: 腕時計 無印
  24. Pingback: Ralph Lauren Polo
  25. Pingback: fifa 16 coins
  26. Pingback: air max shoes
  27. Pingback: FENDI ?????
  28. Pingback: cs go start
  29. Pingback: cs go item drops
  30. Pingback: case key cs go
  31. Pingback: 5on5 csgo
  32. Pingback: Google
  33. Pingback: coffee
  34. Pingback: coffee
  35. Pingback: coffee
  36. Pingback: girne üniversite
  37. Pingback: floor lamination
  38. Pingback: bantningspiller
  39. Pingback: iPhone
  40. Pingback: coffee from kona
  41. Pingback: gymshark
  42. Pingback: peaberry coffee
  43. Pingback: homes
  44. Pingback: find a house
  45. Pingback: home sale
  46. Pingback: agen bola
  47. Pingback: how to be happy
  48. Pingback: Huge savings
  49. Pingback: Broke iPhone
  50. Pingback: Web Site
  51. Pingback: Piece Of Heaven
  52. Pingback: fukuidatumou
  53. Pingback: fukuidatumou
  54. Pingback: iptv
  55. Pingback: IM 体育
  56. Pingback: best-coffee-inc
  57. Pingback: gourmet coffee
  58. Pingback: ücretsiz indir
  59. Pingback: saltwater fish
  60. Pingback: care va
  61. Pingback: page
  62. Pingback: best e liquid
  63. Pingback: SEO Oslo
  64. Pingback: ücretsiz indir
  65. Pingback: Maria Johnsen
  66. Pingback: soundcloud search
  67. Pingback: Make Money Online
  68. Pingback: beatz
  69. Pingback: عروض مترو
  70. Pingback: best coffee
  71. Pingback: womens apparel
  72. Pingback: descargar juegos
  73. Pingback: home
  74. Pingback: live rock
  75. Pingback: False accusations
  76. Pingback: jobs from home
  77. Pingback: app maker
  78. Pingback: 弥敦 租房
  79. Pingback: wildlife removal
  80. Pingback: lookup code
  81. Pingback: Ausgetrickst
  82. Pingback: Marine Transport
  83. Pingback: Sac kraft
  84. Pingback: Queen Hair
  85. Pingback: 7 color shower
  86. Pingback: my company
  87. Pingback: homes for sell
  88. Pingback: a fantastic read
  89. Pingback: travel tips
  90. Pingback: read more
  91. Pingback: jaw bone Deltona
  92. Pingback: patio dining sets
  93. Pingback: Used car dealer
  94. Pingback: bidding websites
  95. Pingback: digital nomad job
  96. Pingback: figures
  97. Pingback: Technology
  98. Pingback: pet
  99. Pingback: travel
  100. Pingback: friv
  101. Pingback: good mattress
  102. Pingback: gambling
  103. Pingback: shopping online
  104. Pingback: shelf corps
  105. Pingback: 3-D printer
  106. Pingback: 福井脱毛
  107. Pingback: Taxi St. Anton
  108. Pingback: 유흥알바
  109. Pingback: Jaydani
  110. Pingback: sewing thread
  111. Pingback: BSM20GP60
  112. Pingback: Barbican Centre
  113. Pingback: Shakespeares Globe
  114. Pingback: tampa bay magazine
  115. Pingback: oakley outlet
  116. Pingback: فيلم رعب
  117. Pingback: camping flashlight
  118. Pingback: sattamatka
  119. Pingback: Spezialturen
  120. Pingback: kona coffee beans
  121. Pingback: dabjars
  122. Pingback: cours de guitare
  123. Pingback: custom paint
  124. Pingback: Home Surveillance
  125. Pingback: porn
  126. Pingback: Home Surveillance
  127. Pingback: guides
  128. Pingback: details
  129. Pingback: read more
  130. Pingback: swiss alps
  131. Pingback: wedding
  132. Pingback: sex toys
  133. Pingback: kala jadu
  134. Pingback: skin beauty
  135. Pingback: satta matka
  136. Pingback: SATTA KING
  137. Pingback: fonte IMP
  138. Pingback: manager
  139. Pingback: tablet repair
  140. Pingback: Click here
  141. Pingback: Miracle Pianist
  142. Pingback: app maker
  143. Pingback: Continued
  144. Pingback: satta matka
  145. Pingback: probate
  146. Pingback: site web
  147. Pingback: blue lava rock
  148. Pingback: Learn More
  149. Pingback: wedding fans
  150. Pingback: drink coaster
  151. Pingback: Cash for cars
  152. Pingback: Fenster und Turen
  153. Pingback: home care
  154. Pingback: find more info
  155. Pingback: Google
  156. Pingback: recipes
  157. Pingback: kala jadu
  158. Pingback: kala jadu
  159. Pingback: offshore
  160. Pingback: fanuc
  161. Pingback: dl-chloramphenicol
  162. Pingback: プラセンタ
  163. Pingback: プラセンタ
  164. Pingback: プラセンタ
  165. Pingback: Cameras & Photo
  166. Pingback: their explanation
  167. Pingback: Electrician
  168. Pingback: wooden phone case
  169. Pingback: Egyptian Cotton
  170. Pingback: apuestas tenis
  171. Pingback: Car care
  172. Pingback: anal sex
  173. Pingback: viagra

Comments are closed.