Join us for the March meeting of Scala at the Sea in Seattle!
On March 13th, 2017, Alex Popiel will be speaking:
“Over the last 5+ years, I’ve been developing different iterations of service metric collection frameworks. There have been two primary goals for this. The first is surfacing business metrics like “what’s the 90th percentile latency for web request processing across a fleet of servers”, and the second is tracing provenance of individual requests through our network of interacting services. To support this, I’ve built a system where interesting operations are wrapped in a UnitOfWork which automatically tracks basic metrics like duration and gives a place to register other metrics and dimensional values. In addition, UnitOfWork tracks provenance of requests, automatically bridging the gap as execution spans across Futures and through Actor messaging. Upon completion, each UnitOfWork then outputs a JSON log line with all the collected data, which can then be aggregated or searched.
I recently switched jobs, and this gave me the opportunity to reimplement UnitOfWork using everything I’d learned before. This new version supports Scala 2.11 and 2.12, JDK 1.7 and 1.8, and Akka 2.4.11 and 2.4.12. It uses AspectJ under the hood to augment key pieces of Akka actor messaging and the Scala library Future implementation, so that users don’t have to jump through hoops with ExecutionContexts or special operators for message passing. Continuity of the UnitOfWork and ProvenanceId is completely transparent within an Akka cluster, and easily transmitted between REST services via an additional HTTP header.
Doors open at 6:00 PM with the talk beginning at 6:30 PM. And yes, there will be food and beverages provided.
The 47 Degrees headquarters will also be holding open office hours prior to the meetup. Stop by our Pioneer Square digs, grab a coffee or beer and chat Scala and Spark with us from 1:00 - 5:00 PM.
To get to the WhitePages office, enter through the 4th Ave. entrance and take the escalator up to the 3rd floor and then the elevator to the 16th floor.