Stephen Margheim - SQLite on Rails: Supercharging the One-Person Framework - Rails World 2024

Поделиться
HTML-код
  • Опубликовано: 31 окт 2024
  • The Rails 8 feature set perfectly complements SQLite's power in creating resilient, high-performance production apps, but still the question lingers: Can I really go all-in on #SQLite? Stephen Margheim illustrates how to leverage Rails and SQLite's full potential in your next venture, and when SQLite does and doesn't make sense for your application.
    Find the slides here: fractaledmind....
    #Rails #Rails8 #rubyonrails #sqlite
    Thank you Shopify for sponsoring the editing and post-production of these videos. Check out insights from the Engineering team at: shopify.engine...
    Stay tuned: all 2024 Rails World videos will be subtitled in Japanese and Brazilian Portuguese soon thanks to our sponsor Happy Scribe, a transcription service built on Rails. www.happyscrib...

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

  • @railsofficial
    @railsofficial  15 дней назад +5

    Find the slides to this presentation here for a closer look: fractaledmind.github.io/2024/10/16/sqlite-supercharges-rails/

  • @projectguild6694
    @projectguild6694 16 дней назад +22

    Awesome talk. I deployed 2 rails 8 apps. Upgraded one from rails 7 and swapped Postgres and Redis for the solid trio and sqlite3, removed it from Heroku and placed it on an $8/month digital ocean droplet 🤯. This is not only the one person framework but a giant cost reduction for those hosting production grade apps on Heroku.

    • @StingSting844
      @StingSting844 16 дней назад

      How many concurrent users do you serve at max?

    • @konung5
      @konung5 15 дней назад +1

      Did you have any need for running two rails service behind the load balancer?
      If you did, could you explain how they share a connection to sequel light?

    • @Pettifetti
      @Pettifetti 12 дней назад

      Cool!

  • @tillcarlos664
    @tillcarlos664 14 дней назад +6

    I am running my first saas in production on sqlite. It’s 1GB already and still runs fast.
    Meeting Stephen in person showed me it’s a no-brainer to do so

    • @fractaledmind
      @fractaledmind 14 дней назад +1

      Can’t wait to add your success story to the list of success stories at this time next year!

  • @nikodunk
    @nikodunk 13 дней назад +2

    What a beautiful and contrarian talk. Wonderful.

  • @mortjac
    @mortjac 16 дней назад +4

    What a wonderful presentation! Seeing the promise of Rails as the One-Man-Framework being assured to be thue, is revieling! Thanks a lot Stephen Margheim!

  • @Swupper
    @Swupper 15 дней назад +3

    Great talk and presenter! I am currently returning to Rails and programming in general after an 8-year absence, and the idea of simplifying the development experience and environment is more than welcome! It's been a struggle getting started, but with each day I spend with Rails 8, I feel more and more empowered as a developer.

    • @fractaledmind
      @fractaledmind 15 дней назад +2

      That's great to hear! And welcome back to programming. I truly believe that Rails 8 + SQLite are the best on-ramp for starting and growing new projects, so I think you are on a great path.

  • @LoneIgadzra
    @LoneIgadzra 15 дней назад +3

    Been saying this forever. My consultancy work was all single-box, sometimes shared single box. It takes very very huge amounts of traffic to force scaling beyond this. It's extremely rare. Scaling vertically is easier and preferred, and can serve successful, valuable websites with lots of traffic. But so many people jump right into super complicated operational situations for no reason because they have no idea how much traffic they actually need to NEED that. It's a LOT.

  • @bloqDev
    @bloqDev 16 дней назад +18

    The Sqlite Jesus!!

  • @rafss99
    @rafss99 14 дней назад +4

    It's official: my next app will run on SQLite.

  • @devinlounge
    @devinlounge 15 дней назад +2

    It's an exciting way for Rails 8 to develop a simple solution and continue directly to the point: the goal is essential, but keeping it simple, stable, and scalable is more critical. I know React and React native, but Ruby on Rails remains my main framework.

  • @jonathanstreater
    @jonathanstreater 15 дней назад +3

    ❤ django + sqlite also rules, beauty in simple design

    • @fractaledmind
      @fractaledmind 14 дней назад

      Very true. The Django ecosystem, like the Laravel ecosystem, are brothers in evangelizing the power and beauty of server-driven web development. And it is awesome to see them both embracing the simplicity and power of SQLite as well

  • @kynwu
    @kynwu 13 дней назад +1

    really great talk

  • @franzgm
    @franzgm 16 дней назад +1

    just amazing !

  • @pengurrito7136
    @pengurrito7136 8 дней назад +1

    *looks at our kubernetes clusters (yes, plural)* 😢

  • @tmszcncl
    @tmszcncl 10 дней назад

    How about Digital Ocean App Platform and SQLite? It seems that file system is being trashed with each deploy and SQLite sits in as a single file, right? Or in this case I should use Droplets instead?

  • @kirantpatil123
    @kirantpatil123 10 дней назад

    Hi
    I would like to know about sharding with Sqlite.
    I would like Sqlite to shard per year basis.

  • @MihaRekar
    @MihaRekar 15 дней назад +1

    Such a great talk and such a shame we can't see most of the slides in this video cut. Are they available anywhere?

    • @railsofficial
      @railsofficial  15 дней назад +5

      Check out the link in the description.

    • @MihaRekar
      @MihaRekar 15 дней назад

      @@railsofficial Thanks!

  • @MichaelVash7886
    @MichaelVash7886 15 дней назад +1

    I would be very curious about how to setup campfire with sqlite.
    I was considering using it and sqlite would make it easier.

  • @kodokudeusotsuki
    @kodokudeusotsuki 16 дней назад +5

    Last time I used sqlite in production with 7.2 I had blocking issues all the time, it was unusable. Let me try again with Rails 8 beta.

    • @fractaledmind
      @fractaledmind 16 дней назад +5

      Definitely try again, and let me know how it goes!

    • @StingSting844
      @StingSting844 16 дней назад +1

      Try with WAL mode

    • @weiSane
      @weiSane 12 дней назад +2

      You are supposed to turn on WAL mode.