Odnoklassniki is one of the most popular social networks in Russia and the top 6 globally. It is in the top 20 sites among similar web's top global websites list. More than 70 million people use Odnoklassniki regularly to share their valuable stories with friends and family, watch and stream videos, listen to music, and play games together.
Odnoklassniki employs hundreds of different microservice applications to serve users' requests. Many of these services are built as stateful applications - they store their data locally, embedding a Cassandra database into the application's JVM process. This challenges the usual way of building applications - a stateless microservice with a separate remotely accessible database cluster.
In this talk Oleg will try to cover the advantages of stateful vs stateless microservices, discuss how statefulness affects reliability and accessibility of services and how it helps to build faster applications. We'll go step-by-step through building a stateful application service, delving into its architecture, major components as well as significant challenges and their solutions.
Program committee comment
Oleg presents a radical approach that solves network issues (and not only) with careful explanations of the key trade-offs and pitfalls. The talk would be helpful even for those who do not use Cassandra.