Jace Warren - Replacing a Billion+ Record per Day Cassandra Cluster With Elixir and SQLite

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • At Savi Solutions, our video surveillance platform needs to be able to process billions of records per day for customers including Burger King, Little Caesars, 5 Guys, and more. As a result, we need a low latency, high performance, and linear scalable database, so we chose Cassandra. However, as our Cassandra cluster began to exhibit performance issues, degrade, and grow in cost, it was evident that we needed to make a change. Thanks to SQLite, Elixir, and the Beam, we were able to completely remove Cassandra from our stack, allowing us to distribute all storage workloads across existing application servers with minimal overhead at no cost.
    In this presentation I will cover the strategies and lessons learned in setting up Cassandra and migrating to SQLite such as:
    Cassandra and SQLite schema design for video streaming
    SQLite partitioning strategies
    Interacting with multiple SQLite database files via Ecto
    Executing zero-downtime migrations
    By the end of this presentation, you will have a better understanding of trade offs while using Cassandra and SQLite and their ability to pair with Elixir in building distributed, scalable, and fault-tolerant applications.
    About Jace
    Jace currently works as a Principal Software Engineer at Savi Solutions. He first fell in love with software development at the age of 14 when he taught himself how to write his first application. He received his first series of programming contracts by building a Job Procurement Bot that would autonomously scrape the web and apply for hundreds of job opportunities per week. When he is not working, he enjoys spending time with his family, engaging in video game development, or being towed around the neighborhood on his longboard by his dog.
  • НаукаНаука

Комментарии • 3

  • @joeljuca
    @joeljuca Год назад +2

    Amazing talk! For someone who's building SQLite-based apps, this talk has a lot of useful practical information. Thank you for sharing!

  • @PhilKingstonByron
    @PhilKingstonByron 5 месяцев назад +1

    Cool use of Elixir Dynamic Super. Well Done.

  • @jel1951
    @jel1951 Год назад +1

    Easy to listen to and understand