This document discusses concurrency and distributed systems in JRuby. It introduces Java concurrency utilities like Executors for managing thread pools, and blocking queues for producer-consumer patterns. It also discusses actors as an abstraction for concurrency and Mikka for implementing actors in JRuby. Distributed systems like Cassandra and Storm are presented, along with Redstorm for using Storm in JRuby. The key lessons are to separate concurrent and distributed logic from application code, and to leverage tools that handle lower-level concurrency details.
Related topics: