Bedrock VS Ruby on Rails

Compare Bedrock vs Ruby on Rails and see what are their differences.

Bedrock

Rock solid distributed database specializing in active/active automatic failover and WAN replication (by Expensify)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Bedrock Ruby on Rails
23 467
1,044 54,865
1.4% 0.6%
9.4 10.0
about 22 hours ago 7 days ago
C Ruby
GNU Lesser General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Bedrock

Posts with mentions or reviews of Bedrock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-11.
  • Marmot: Multi-writer distributed SQLite based on NATS
    4 projects | news.ycombinator.com | 11 Dec 2023
    Also Expensify's Bedrock, which powers their famous "Scaling SQLite to 4M QPS" article:

    https://bedrockdb.com/

    https://use.expensify.com/blog/scaling-sqlite-to-4m-qps-on-a...

  • I'm All-In on Server-Side SQLite
    7 projects | news.ycombinator.com | 22 Sep 2023
  • SQLite is not a toy database
    6 projects | /r/programming | 28 Apr 2023
    Lots of things don't need failover, but if you do, you can use Bedrock, which is built on sqlite.
  • Amazon announces 'Bedrock,' its ChatGPT and DALL-E rival
    1 project | news.ycombinator.com | 13 Apr 2023
    At first, I thought Amazon was launching their own SQLite hosted database.

    BedrockDB is a SQLite based database with MySQL compatible drivers.

    https://bedrockdb.com

  • Ask HN: Hunting for a Framework
    23 projects | news.ycombinator.com | 4 Dec 2022
    Vapor[0] based on Swift. Advantage of this is that you don't have to evaluate multiple frameworks for Swift and suffer paralysis by analysis. All the Swift community is behind one framework.

    The next is Actix[1] based on Rust. There are many frameworks in Rust and most of them have not reached 1.0 And which framework will survive becomes a question.

    Other not so well-known is Wt[2] based on C++. This actually is created for programmers who are not web developers. The development experience is similar to desktop app development like Qt.

    If that is not acceptable then Django[3], based on Python, is the one that will be good for you.

    For the front-end I would recommend Flutter[4]. As much as I dislike getting tied to a single company for whom the framework is not their bread-and-butter, I don't see any other viable options to Flutter that will cover all web, mobile and desktop out of the box.

    For databases, I would recommend BedrockDB[5], if you are not averse to SQLite. Or FoundationDB[6], if you want NoSQL. But if you are not concerned about horizontal scalability or okay with self-managing database availability, then PostgreSQL[7] is a very good option.

    For push notifications, PushPin[8] is a good option.

    [0] https://vapor.codes

    [1] https://actix.rs

    [2] https://webtoolkit.eu

    [3] https://www.djangoproject.com

    [4] https://flutter.dev

    [5] https://bedrockdb.com

    [6] https://www.foundationdb.org

    [7] https://postgresql.org

    [8] https://pushpin.org

  • Databases: 2021 in Review and Predictions for 2022
    3 projects | news.ycombinator.com | 11 Nov 2022
    Recently I stumbled upon BedrockDB[0] from Expensify. It is based on SQLite and has very interesting idea on HA and distributed DB.

    [0] https://bedrockdb.com

  • One million queries per second with MySQL
    3 projects | news.ycombinator.com | 1 Sep 2022
    This is not SQLite though, also the test is trivial compared to TPC: https://github.com/Expensify/Bedrock/blob/dbarrett_perftest/...
  • Turning SQLite into a Distributed Database
    8 projects | news.ycombinator.com | 21 Aug 2022
    Don’t forget BedrockDB (built on SQLite) that’s used in production at Expensify.

    How it scales as well.

    https://bedrockdb.com/

    https://blog.expensify.com/2018/01/08/scaling-sqlite-to-4m-q...

  • Fly.io Buys Litestream
    15 projects | news.ycombinator.com | 9 May 2022
  • Ask HN: Have you used SQLite as a primary database?
    19 projects | news.ycombinator.com | 25 Apr 2022

Ruby on Rails

Posts with mentions or reviews of Ruby on Rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-31.
  • GitHub Incident with Issues, API Requests and Pull Requests
    1 project | news.ycombinator.com | 5 Apr 2024
    [0] is a my favorite demonstration of it.

    [0]: https://github.com/rails/rails/commit/b83965785db1eec019edf1...

  • Client side Git hooks 101
    2 projects | dev.to | 31 Mar 2024
    Here's a real life example: Imagine a Ruby on Rails app on which a team of developers are working. The code is hosted on GitLab and all the work is coordinated using GitLab issues. In other words: For every commit, there's an associated issue and the issue number acts as a sort of primary key for documentation, time reporting and so forth. This convention has a few advantages, most notably the ability to easily learn more about how, when and by whom features were implemented as well as how this implementation came to be.
  • 16 Best Ruby Frameworks For Web Development [2024]
    6 projects | dev.to | 11 Mar 2024
    Ruby on Rails is regarded as one of the best ruby frameworks. It was the primary language in developing big projects such as Twitter and helped the language boost the community. Often referred to as “Rails,” Ruby on Rails is a web development framework with an MVC control structure and currently running its 6.1 version. The 16-year-old language has dramatically influenced the web development structures and managing databases, web pages, and other components on a web application.
  • More control over enum in Rails 7.1
    1 project | dev.to | 29 Feb 2024
    In Rails 7.1, a new option _instance_methods is introduced, allowing developers to opt-out of the automatic generation of instance methods for enums. When enum is defined with _instance_methods: false, Rails will no longer generate methods like pending?, processed?, etc.
  • Ruby on Rails load testing habits
    5 projects | news.ycombinator.com | 25 Jan 2024
    Rails isn't super opinionated about database writes, its mostly left up to developers to discover that for relational DBs you do not want to be doing a bunch of small writes all at once.

    That said it specifically has tools to address this that started appearing a few years ago https://github.com/rails/rails/pull/35077

    The way my team handles it is to stick Kafka in between whats generating the records (for us, a bunch of web scraping workers) and and a consumer that pulls off the Kafka queue and runs an insert when its internal buffer reaches around 50k rows.

    Rails is also looking to add some more direct background type work with https://github.com/basecamp/solid_queue but this is still very new - most larger Rails shops are going to be running a second system and a gem called Sidekiq that pulls jobs out of Redis.

  • DHH installing Campfire (37s ONCE #1) [video]
    1 project | news.ycombinator.com | 19 Jan 2024
    I'm looking forward to see what extractions from this will land on rails. For example: https://github.com/rails/rails/issues/50454
  • First commits in a Ruby on Rails app
    6 projects | dev.to | 17 Jan 2024
    Here is what strict_loading does (source):
  • Continuous Deployment with GitHub Actions and Kamal
    4 projects | dev.to | 7 Jan 2024
    Kamal is a wonderfully simple way to deploy your applications anywhere. It will also be included by default in Rails 8. Kamal is trivial, but I don’t recommend using it on your development machine.
  • What's Coming in Rails 8
    1 project | news.ycombinator.com | 5 Jan 2024
    Here's the GitHub milestone I've based this article on — https://github.com/rails/rails/milestone/87
  • Rails 8 Plan
    1 project | news.ycombinator.com | 27 Dec 2023

What are some alternatives?

When comparing Bedrock and Ruby on Rails you can also consider the following projects:

SQLite - Unofficial git mirror of SQLite sources (see link for build instructions)

Roda - Routing Tree Web Toolkit

MySQL - MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

Hanami - The web, with simplicity.

rqlite - The lightweight, distributed relational database built on SQLite.

Sinatra - Classy web-development dressed in a DSL (official / canonical repo)

ClickHouse - ClickHouse® is a free analytics DBMS for big data

Cuba - Rum based microframework for web development.

LevelDB - LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

CodeBehind Framework - CodeBehind library is a modern backend framework. This library is a programming model based on the MVC structure, which provides the possibility of creating dynamic aspx files in .NET Core and has high serverside independence.

Adminer - Database management in a single PHP file

Padrino - Padrino is a full-stack ruby framework built upon Sinatra.