Apache Storm, Disruptor, JCTools and Linearizability

Apache Storm, Disruptor, JCTools and Linearizability

Released Sunday, 27th April 2025
Good episode? Give it some love!
Apache Storm, Disruptor, JCTools and Linearizability

Apache Storm, Disruptor, JCTools and Linearizability

Apache Storm, Disruptor, JCTools and Linearizability

Apache Storm, Disruptor, JCTools and Linearizability

Sunday, 27th April 2025
Good episode? Give it some love!
Rate Episode

An airhacks.fm conversation with Francesco Nigro (@forked_franz) about:JCTools as a Java concurrency utility library created by Nitsan Wakart,the history of JCTools and how Cliff Click donated his non-blocking HashMap algorithm to the project,contributions to JCTools including weight-free queue implementations,Apache Storm vs. Apache Kafka,explanation of how JCTools improves upon Java's standard concurrent queues by reducing garbage creation and optimizing memory layout,the difference between linked node implementations in standard Java collections versus array-based implementations in JCTools,detailed explanation of linearizability as a property of concurrent algorithms,the challenges of implementing concurrent data structures that maintain proper ordering guarantees,explanation of lock-free versus wait-free algorithms and their progress guarantees,discussion of the xadd instruction in x86 processors and how it's used in JCTools for atomic operations,the implementation of MessagePassingQueue API in JCTools that provides relaxed guarantees for better performance,comparison between JCTools and other solutions like Disruptor,explanation of how JCTools achieves 400 million operations per second in single-producer single-consumer scenarios,discussion of cooperative algorithms for multi-producer scenarios,the use of padding to avoid false sharing in concurrent data structures,the implementation of code generation in JCTools to create different flavors of queues,the use of Unsafe and AtomicLongFieldUpdater for low-level operations,real-world applications in high-frequency trading and medical data processing,integration of JCTools with quarkus and mutiny frameworks,the importance of proper memory layout for performance

Francesco Nigro on twitter: @forked_franz

Show More
Rate

Join Podchaser to...

  • Rate podcasts and episodes
  • Follow podcasts and creators
  • Create podcast and episode lists
  • & much more

Episode Tags

Do you host or manage this podcast?
Claim and edit this page to your liking.
,

Unlock more with Podchaser Pro

  • Audience Insights
  • Contact Information
  • Demographics
  • Charts
  • Sponsor History
  • and More!
Pro Features