Loading…
SATURN 2018 has ended
Welcome to the SATURN 2018 program! Be sure to create a login for Sched.com and start building your program online.
Tuesday, May 8 • 1:45pm - 2:30pm
Scaling Services with an In-Memory Distributed Cache

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
This talk describes the problems we faced in scaling a high-throughput API at GO-JEK and how using the constructs of Golang to build a distributed in-memory cache eventually solved the problem. Using code as an example, we will discuss the choice of data structure, its time complexity based on the Golang spec, and concerns around thread safety that we encountered.

We will present a few examples of “war stories” that the team faced while implementing it and how we solved them. By learning about the importance of and implementation approach toward the eviction policy, the audience will both be able to understand the significance of cache invalidation and implement one by themselves using the Golang concurrency constructs.

With the ever-increasing demand to handle data, we will also discuss how we implemented sharding to minimize the memory footprint, hence enabling scaling up approximately 10-fold in a short time. By implementing the practices described in this talk, the audience will be able to make an informed decision of choosing whether a distributed in-memory caching approach makes sense for their problem and, if yes, implement one by themselves.

See the slides.
Watch the video.

Speakers
avatar for Chirag Aggarwal

Chirag Aggarwal

Go-Jek Engineering
Chirag Aggarwal works at Go-Jek Engineering. Go-Jek has been working on a large-scale mobile-first transportation startup with an app having 20 million Play Store and App Store downloads, which has seen 900-fold growth in the past year.
avatar for Divya Nagar

Divya Nagar

Go-Jek Engineering
Divya Nagar is a product engineer at Go-Jek. She works with the team who builds and scales the Pricing and Allocation arms of the company. Her team uses Golang as one of their core languages. She is an open source enthusiast and is currently learning about distributed systems.


Tuesday May 8, 2018 1:45pm - 2:30pm CDT
Prairie A Hilton Dallas/Plano Granite Park