YAPC::Europe 2013 in Kiev

YAPC::Europe 2013 “Future Perl”

Twitter #ye2013    Facebook    RSS       Log in

Twitter #ye2013    Facebook    RSS       Log in

Serialization with Sereal: fast, compact, powerful. Pick three!

By Nicholas Perez (‎nperez‎) from AmsterdamX.pm
Date: Tuesday, 13 August 2013 15:00
Duration: 40 minutes
Target audience: Any
Language: English
Tags: optimization perl sereal serialization

There is an overwhelming variety of protocols and libraries for serialization. The set is almost as big as that of templating systems. This is because serialization is a game of trade-offs and various implementations happily reuse similar techniques but pick different compromises.

We designed and implemented a schemaless, fast,
compact, and powerful serialization protocol that is geared towards Perl data structures, but still allows for implementations in other languages. At this point, there are at least Go, Java, Ruby, and Python implementations in various stages of production readiness.

We will share some of the successful applications at Booking.com, such as how Sereal saved us close to 10GBit/s of network traffic, and discuss some of considerations that went into the design.

Attended by: