Thinking Elixir Podcast

101: Replicating SQLite using Litestream with Ben Johnson


Listen Later

Ben Johnson explains his project Litestream.io, an OpenSource tool that replicates SQLite databases to remote servers and to backup locations like S3 for durability. We talk about how moving data out to the user creates true edge applications. We discuss what types of problems this helps solve, the architectures that become possible, and how a globally distributed Phoenix application could use this. He shares how Fly.io acquired the project and brought him on full-time to continue his work on it. Fascinating discussion that challenges many of the assumptions about how we've been building “web” systems for years.

Show Notes online - http://podcast.thinkingelixir.com/101

Elixir Community News

  • https://www.erlang.org/blog/my-otp-25-highlights/ – OTP 25 was officially released
  • https://www.erlang.org/eeps/eep-0049 – EEP document discussing the “maybe” expression
  • https://www.erlang.org/doc/reference_manual/expressions.html#maybe – Official docs for “maybe” feature
  • https://www.erlang.org/blog/faster-rand/ – A new fast Pseudo Random Generator
  • https://jobs.ericsson.com/job/Stockholm-Open-SourceErlang-Developer-Stoc/746811902/ – Ericsson, the company behind Erlang, is hiring for an OpenSource developer to join the Erlang team.
  • https://www.bbc.com/news/business-61562651 – Klarna layoffs
  • https://hexdocs.pm/elixir/main/PartitionSupervisor.html – PartitionManager feature coming in Elixir v1.14 has docs online so you can learn about it early.
  • https://twitter.com/DNAutics/status/1528434291872505856 – Isaac Yonemoto made the JavaScript engine in Zig accessible through Zigler and therefore Elixir
  • https://podcast.thinkingelixir.com/98 – Follow-up from episode 98 with Dominic Letz about writing an Elixir application that runs on mobile devices and can be installed from the iOS AppStore.
  • https://ionicframework.com/
  • https://twitter.com/ElixirConf/status/1526654041626923008 – ElixirConf 2022 in Colorado - CFP is open
  • https://2022.elixirconf.com/speaker-cfp – Where to submit your talk proposal
  • https://www.elixirconf.eu/ – ElixirConf EU in London on June 9-10
  • https://elixirconf.com/events – ElixirConf US in Colorado on August 30-Sep2
  • Do you have some Elixir news to share? Tell us at @ThinkingElixir or email at [email protected]

    Discussion Resources

    • https://litestream.io/
    • https://fly.io/blog/all-in-on-sqlite-litestream/
    • https://github.com/benbjohnson/litestream – Project on Github
    • https://sqlite.org/index.html
    • https://sqlite.org/whentouse.html – SQLite guide on "when to use" it
    • https://github.com/elixir-sqlite/ecto_sqlite3
    • https://github.com/boltdb/bolt
    • https://en.wikipedia.org/wiki/Write-ahead_logging
    • https://raft.github.io/
    • https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type
    • https://litestream.io/tips/ – Page covers tips
    • https://www.kernel.org/doc/html/latest/filesystems/fuse.html – Understanding what a FUSE filesystem is
    • Guest Information

      • https://twitter.com/benbjohnson – on Twitter
      • https://github.com/benbjohnson/ – on Github
      • https://github.com/benbjohnson/litestream – Project on Github
      • Find us online

        • Message the show - @ThinkingElixir
        • Email the show - [email protected]
        • Mark Ericksen - @brainlid
        • David Bernheisel - @bernheisel
        • Cade Ward - @cadebward
        • Sponsored By:

          • Fly.io: Fly.io is a great place to deploy your next Phoenix application! Check them out!
          ...more
          View all episodesView all episodes
          Download on the App Store

          Thinking Elixir PodcastBy ThinkingElixir.com

          • 4.9
          • 4.9
          • 4.9
          • 4.9
          • 4.9

          4.9

          31 ratings


          More shows like Thinking Elixir Podcast

          View all
          The Changelog: Software Development, Open Source by Changelog Media

          The Changelog: Software Development, Open Source

          285 Listeners

          Startups For the Rest of Us by Rob Walling

          Startups For the Rest of Us

          694 Listeners

          Software Engineering Daily by Software Engineering Daily

          Software Engineering Daily

          629 Listeners

          Go Time: Golang, Software Engineering by Changelog Media

          Go Time: Golang, Software Engineering

          128 Listeners

          JS Party: JavaScript, CSS, Web Development by Changelog Media

          JS Party: JavaScript, CSS, Web Development

          92 Listeners

          Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

          Syntax - Tasty Web Development Treats

          986 Listeners

          REWORK by 37signals

          REWORK

          212 Listeners

          CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

          CoRecursive: Coding Stories

          185 Listeners

          Elixir Mix by Charles M Wood

          Elixir Mix

          13 Listeners

          Elixir Wizards by SmartLogic LLC

          Elixir Wizards

          22 Listeners

          The Stack Overflow Podcast by The Stack Overflow Podcast

          The Stack Overflow Podcast

          63 Listeners

          Beam Radio by Lars Wikman

          Beam Radio

          11 Listeners

          Oxide and Friends by Oxide Computer Company

          Oxide and Friends

          47 Listeners

          Elixir Mentor by Jacob Luetzow

          Elixir Mentor

          2 Listeners

          Elixir Friends by German Velasco

          Elixir Friends

          0 Listeners