# Open Source in Israel - Sneakers

- Speaker: [Dotan Nachum](/wiki/speakers/dotan-nachum.md)
- Event: [Reversim Summit 2014](/wiki/years/2014.md)
- Video: https://www.youtube.com/watch?v=9JNPixvF_T8
- Transcript: [/transcripts/2014/20-9JNPixvF_T8.md](/transcripts/2014/20-9JNPixvF_T8.md)
- Language: Hebrew · Type: ignite · Level: advanced
- Topics: [Distributed Systems](/wiki/topics/distributed-systems.md), [Open Source](/wiki/topics/open-source.md), [Performance](/wiki/topics/performance.md), [Software Engineering](/wiki/topics/software-engineering.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

The speaker introduces an open-source background processing library designed specifically for high-performance needs in Ruby. The talk explains the architectural motivation behind the library, combining multi-processing and multi-threading models to overcome performance bottlenecks found in traditional tools. The audience learns how the speaker optimized throughput and designed a developer-friendly API while hiding complex messaging protocols. Ultimately, the session demonstrates how to achieve massive performance gains for background jobs in a language ecosystem often constrained by threading limitations.

## Key points

- [0:00](https://www.youtube.com/watch?v=9JNPixvF_T8) The speaker introduces a high-performance background processing library for Ruby focused strictly on performance.
- [1:09](https://www.youtube.com/watch?v=9JNPixvF_T8&t=69s) The architecture combines multi-processing and multi-threading models to provide a developer-friendly API while abstracting away underlying message queue complexities.
- [2:14](https://www.youtube.com/watch?v=9JNPixvF_T8&t=134s) Traditional background processing tools suffer from a mismatch with multi-threading and lack high availability guarantees.
- [3:24](https://www.youtube.com/watch?v=9JNPixvF_T8&t=204s) Early benchmarks showed a dramatic increase in jobs per second compared to conventional Ruby background processing solutions.
- [4:26](https://www.youtube.com/watch?v=9JNPixvF_T8&t=266s) Modern iterations of the library can handle thousands of jobs per second on modern hardware, bypassing standard concurrency limitations in Ruby.

## Takeaways

- Evaluate multi-threading and multi-processing combinations to solve performance bottlenecks in dynamic languages.
- Hide complex underlying infrastructure and messaging protocols behind a simple, intuitive developer interface.
- Benchmark thoroughly against existing tools before deciding to build a custom high-performance library.

## Questions this talk answers

- How can you achieve high-performance background processing in Ruby despite concurrency limitations?
- What are the architectural trade-offs between general-purpose background processors and performance-focused ones?

## Technologies

Ruby, RabbitMQ

## Tags

background processing, concurrency, open source, performance, ruby
