Services built with 20th century programming languages are reaching their scalability limits. The global interpreter lock and the lack of an asynchronous programming model are becoming barriers to accommodating the numbers of users typical of today's mobile as well as web worlds. In this talk I cover the transition of a back-end service to Scala and the changes associated with it. The improved performance and cost savings of the Scala implementation free up resources that could be better leveraged elsewhere.
Scaling with Scala: refactoring a back-end service into the mobile age
1. Scaling with Scala:
Refactoring a Back-end
Service into the Mobile Age
Dragos Manolescu (@hysteresis),Whitepages
dmanolescu at whitepages com
2. About Whitepages
• Top web and mobile site for finding phones, people
and locations
• 50M unique users per month
• 35M search queries per day
• 70 engineers, mostly in Seattle
3. Background
• Ruby backend services
• Shifting to Scala to accommodate growth
• Technologies:
• spray.io (client, server)
• Thrift and Scrooge
• Coda Hale metrics
• Typesafe Webinar: http://j.mp/Y6gH05