• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Data-Oriented Programming: concurrency

 
Ranch Hand
Posts: 362
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Yehonathan,

This  is an interesting paradigm, in particular starting from separations of code from data, nevertheless, I wonder about "Control concurrency in highly scalable systems."

Does this approach also is based on immutability, or there are other aspects to achieve that control?

(perhaps eventually consistency?)


Regards,

German


 
Author
Posts: 20
5
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We achieve high scalability due to data immutability.
In Chapter 5 of the book I explain how to leverage data immutability to implement an efficient data diff algorithm in order to detect conflicts between concurrent mutations.

Spoiler: This is similar to git 3-way merge conflict resolution.
 
The moth suit and wings road is much more exciting than taxes. Or this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic