Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Y

    Yugabyte Blog

    blog.yugabyte.com · Company blog · on HN since 2018

    Yugabyte's company blog covers its distributed SQL database, including Raft, RocksDB, benchmarks against rivals and PostgreSQL topics.

    Visit blogHN submissions
    DatabasesDistributed Systems
    What HN says

    HN commenters use it for database comparisons and architecture explanations, such as the DocDB design on RocksDB and the Postgres timestamp guide.

    Stats for nerds
    33HN people shared it
    61linked in comments
    882story points
    Jan 2022last shared
    2018people per year2022

    Top posts on HN

    1. 1
      Technical Challenges Developing a Distributed SQL Database
      2 people · 239 points · first shared 2019 · 34 comments on HN
    2. 2
      Announcing Yugabyte DB 2.0 GA: High-Performance Distributed SQL
      1 person · 106 points · first shared 2019 · 28 comments on HN
    3. 3
      We Changed YugaByte DB Licensing to Apache 2.0
      1 person · 88 points · first shared 2019 · 27 comments on HN
    4. 4
      Distributed SQL vs. NewSQL
      1 person · 82 points · first shared 2020 · 47 comments on HN
    5. 5
      Evolving clock sync for distributed databases
      1 person · 78 points · first shared 2022 · 17 comments on HN
    6. 6
      Are Stored Procedures and Triggers Anti-Patterns in the Cloud Native World?
      1 person · 34 points · first shared 2021 · 14 comments on HN
    7. 7
      How Plume Handled Billions of Operations per Day Despite an AWS Zone Outage
      1 person · 29 points · first shared 2019 · 1 comments on HN
    8. 8
      PostgreSQL Timestamps and Timezones: What You Need to Know–and What You Don’t
      2 people · 27 points · first shared 2022 · 5 comments on HN
    9. 9
      How to Scale Distributed SQL to 1M+ Inserts per Second
      1 person · 26 points · first shared 2019 · 4 comments on HN
    10. 10
      PostgreSQL Timestamps and Timezones: What You Need to Know–and What You Don’t
      1 person · 26 points · first shared 2022 · 2 comments on HN

    What HN people wrote when they linked it

    • abadidSep 2018

      Looks like you cross-posted this comment here and on my blog, so I'll also cross-post in my response.

      I am quite confused by your statement that YugaByte does not claim linearizability. The C of CAP is linearizability (see the original CAP theorem https://users.ece.cmu.edu/~adrian/731-sp04/readings/GL-cap.pdf). By claiming to be CP from CAP, you are claiming linearizability.

      CockroachDB also makes the same CP claim. However, they explicitly walk back from this claim (https://www.cockroachlabs.com/blog/living-without-atomic-clocks/). In contrast, YugaByte documentation makes no effort to walk back from this claim. Rather, the documentation seems to indicate that YugaByte is linearizable at: https://blog.yugabyte.com/jepsen-testing-on-yugabyte-db-database/ and https://docs.yugabyte.com/latest/develop/learn/acid-transactions/.

      Also, I would encourage you to read the Herlihy-Wing paper on linearizability published in 1990. You seem to be confusing linearizability with ACID isolation levels, which are actually a different concept. Peter Bailis has a good blog post on the difference: http://www.bailis.org/blog/linearizability-versus-serializability/.

      On your third point, we agree. However, the point of my post is that relying on max clock skew without hardware support is dangerous. I’m going so far as to say that it’s so dangerous that it is incorrect to claim consistency guarantees when you make such assumptions.

      I would really encourage YugaByte to consider using global…

    • tepidandroidJul 2019

      There's a feature matrix here [1] comparing YugaByte to CRDB, TiDB, Aurora, CosmosDB, Spanner, MongoDB, FoundationDB, Cassandra and Dynamo. No idea about performance characteristics though.

      [1] https://docs.yugabyte.com/latest/comparisons/

      edit: there is a relatively recent blogpost comparing the two here: https://blog.yugabyte.com/yugabyte-db-vs-cockroachdb-performance-benchmarks-for-internet-scale-transactional-workloads/

      Key summary from the post:

      In a nutshell, YugaByte DB delivers an average of 3.5x higher throughput and 3x lower latency compared to CockroachDB. Following are the detailed performance characteristics at scale (millions of rows) for internet-scale transactional workloads:

      5x more insert throughput, 9x faster
      4x more query throughput, 3x faster
      4x more distributed transactions throughput
      In addition, YugaByte DB offers additional features such as read replicas (for timeline-consistent, low-latency reads from the local region) and automatic data expiry (by setting a TTL at table level or row level).

      Obviously to be taken with a grain of salt as with all benchmarks doing head-to-head comparisons.

    • isignalMay 2020

      Afaik, Postgres flavored Aurora has a single master for writes and doesn't allow horizontally scaling writes[1]. I believe reads can scale by bringing up multiple read replicas. Cockroach DB is "distributed SQL" so writes are also scaled across multiple nodes.

      You can see some details about how this affects write perf in this blog by another distributed SQL database which compares the three databases (YugabyteDB, Aurora and CockroachDB) - https://blog.yugabyte.com/comparing-distributed-sql-performance-yugabyte-db-vs-amazon-aurora-postgresql-vs-cockroachdb/

      [1] There is also multi-master Aurora (but based on https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-architecture that only supports 2 read-write masters and has other limitations).

    • rkarthik007May 2020

      Hi @catblast,

      (I am the CTO of Yugabyte) Your points are all completely valid. Just wanted to add my 2 cents.

      With YugabyteDB specifically, we are more than just PostgreSQL wire-compatible, we "reuse" the upper half of PostgreSQL to support almost all PG features (examples: stored procedures, triggers, partial functions, etc). So the aim is to build something that has "almost all PG features" while being able to "run cloud-native - with HA, scale and geo-distribution" - our hope is that this allows YugabyteDB to really become a viable option instead of PostgreSQL when apps are being built for the cloud. Here is a blog post on the benefits we realized reusing PostgreSQL: https://blog.yugabyte.com/why-we-built-yugabytedb-by-reusing-the-postgresql-query-layer/

    • sidchApr 2019

      YugaByte DB product manager here. we have compared the Spanner and Calvin architectures in depth previously (https://blog.yugabyte.com/google-spanner-vs-calvin-global-consistency-at-scale/). one key difference comes from the fact that Calvin’s deterministic locking protocol requires advance knowledge of all transactions’ read/write sets before transaction execution can begin -- this leads to repeated transaction restarts if the secondary index is on a column whose value is changing frequently as well as no support for client-initiated sessions transactions. in other words, Calvin is better suited for a transactional NoSQL database as opposed to a true distributed SQL database.

    • manigandhamMay 2021

      Yugabyte uses actual Postgres code for the query layer, on top of data persistence (distribution/replication) handled by DocDB document store, which itself is a layer on top of RocksDB: https://blog.yugabyte.com/how-we-built-a-high-performance-document-store-on-rocksdb/

      CockroachDB (aka CRDB) is completely custom and compatible with Postgres wire/datatype protocols, which operates directly on its own key/value store called Pebble (but originally was also RocksDB): https://www.cockroachlabs.com/blog/distributed-sql-key-value-store/

      Both systems are foundationally the same SQL-on-KV but implement it very differently.

    Related

    ScyllaDB Blogscylladb.com167 people

    How io_uring and eBPF Will Revolutionize Programming in Linux

    ScyllaDB Blog
    Company · last shared 2026
    Citus Data Blogcitusdata.com224 people

    Citus Unforks from PostgreSQL, Goes Open Source

    Citus Data Blog
    Company · last shared 2026
    PingCAP Blogpingcap.com123 people

    Generics and Compile-Time in Rust

    PingCAP Blog
    Company · last shared 2026
    VoltDB Blogvoltdb.com47 people

    FoundationDB's Lesson: A Fast Key-Value Store Is Not Enough

    VoltDB Blog
    Company · last shared 2021
    MemSQL Blogblog.memsql.com33 people

    Cache is the new RAM

    MemSQL Blog
    Company · last shared 2018
    2ndQuadrant Blogblog.2ndquadrant.com99 people

    Data Loss at GitLab

    2ndQuadrant Blog
    Company · last shared 2025
    Compose Articlescompose.com55 people

    PostGraphQL: PostgreSQL meets GraphQL

    Compose Articles
    Company · last shared 2022
    Percona Blogpercona.com327 people

    UUIDs are popular, but bad for performance (2019)

    Percona Blog
    Company · last shared 2026