Skip to content

Icecast stream parsing with Ruby

Photo of Dimiter Petrov
Hosted By
Dimiter P.
Icecast stream parsing with Ruby

Details

Swiss artists registered on mx3.ch get notified when their songs are played on the radio. How does one get airplay information from arbitrary radio streams? How is it matched against a database of songs?

In this presentation, we are going to see the challenges encountered while building a production-ready airplay matching system, including:

  • writing a Ruby parser for the Icecast protocol from scratch
  • working around peculiarities in Net::HTTP
  • threading, queues and ActiveRecord connection pools
  • gracefully handling network errors
  • fuzzy matching with PostgreSQL

---

18:30 - 18:45
Arriving, chat

19:00 - 19:45
Talk by Dimiter Petrov

19:45 onwards
Discussions, drinks

Photo of Ruby on Rails Schweiz group
Ruby on Rails Schweiz
See more events
Simplificator
Pfingstweidstrasse 6 Zurich · Zürich