タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

RubyとPlanetScaleに関するYassLabのブックマーク (1)

  • Why we chose NanoIDs for PlanetScale’s API — PlanetScale

    Want to learn more about Vitess, horizontal sharding, or Enterprise options? Talk to Solutions By Mike Coutermarsh | March 29, 2022 When we were first building PlanetScale’s API, we needed to figure out what type of identifier we’d be using. We knew that we wanted to avoid using integer IDs so that we wouldn’t reveal the count of records in all our tables. The common solution to this problem is us

    Why we chose NanoIDs for PlanetScale’s API — PlanetScale
    YassLab
    YassLab 2024/04/08
    “Generating NanoIDs in Rails - Our API is a Ruby on Rails application. For all public-facing models, we have added a public_id column to our database. We still use standard auto-incrementing BigInts for our primary key. The public_id is only used as an external identifier.”
  • 1