Discover · convex.dev

No picture published by convex.dev

Your database is lying to you about time

Stack convex.dev

Date.now() in a Convex mutation isn't actually now, and _creationTime doesn't follow the order things were committed in. Ian sat me down at a whiteboard to explain the three times in a database, how you can miss rows, and how commit timestamps fix it.

More ways to use this
Open on another device
Scan this QR code to open the same public page

Scan to open this page. Your saved notes and account access are not included.

Download QR code

Open the page link

Keep going

Each of these is read from what this estate already kept: the feed a piece came through, the publisher behind it, the credits and topics the publisher printed. None of it is a recommendation, an identity or a record kept anywhere else.

More like this

Also from Stack

  1. Convex Auth v2 is finally hereconvex.dev
  2. I asked Convex's CTO 34 spicy questionsconvex.dev
  3. I tried Expo's new Exact with Convexconvex.dev
  4. I built a better Claude Code and Codex appconvex.dev
  5. I built a component to make high frequency updates work on Convex (kinda)convex.dev
  6. Turns out database backups are NOT trivialconvex.dev