Navigation ΓΌberspringen
Introducing πšπšžπš›πšŠπš‹πš•πšŽ-πš˜πš‹πš“πšŽπšŒπš-πš–πš’πšπš›πšŠπšπš˜πš›
0:00 / 0:24

Introducing πšπšžπš›πšŠπš‹πš•πšŽ-πš˜πš‹πš“πšŽπšŒπš-πš–πš’πšπš›πšŠπšπš˜πš›

Nathan Flurry πŸ”©

@NathanFlurry10.171 Follower

Auf X besuchen

18.579 Aufrufe

Introducing πšπšžπš›πšŠπš‹πš•πšŽ-πš˜πš‹πš“πšŽπšŒπš-πš–πš’πšπš›πšŠπšπš˜πš› Cloudflare wouldn't do it, so we did Migrate DOs with no downtime to: - Postgres - Rivet Actors - SQLite - Anything else (PRs welcome!) Includes library, prompt, & alchemy support

31 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Nathan Flurry πŸ”©

    @NathanFlurry

    GitHub:

    9 Likes

  • Profilbild von Nathan Flurry πŸ”©

    @NathanFlurry

    NPM:

    1 Like

  • Profilbild von Nathan Flurry πŸ”©

    @NathanFlurry

    Discord:

  • Profilbild von Steve Goldberg

    @stevegoldberg

    @alchemy_run I literally just shipped a pi durable PR review agent on cloudflare DO and now all I see is rivet haha. I need to try this.

    6 Likes

  • Profilbild von Nathan Flurry πŸ”©

    @NathanFlurry

    @alchemy_run aye! any and all feedback appreciated

    1 Like

  • Profilbild von Stavros

    @StavrosHacker

    @alchemy_run Damn! This would have saved me a lot of tokens and time last week ngl! Great release will check out

    2 Likes

  • Profilbild von Nathan Flurry πŸ”©

    @NathanFlurry

    @alchemy_run aye!

  • Profilbild von hamish bultitude

    @hameonline

    @rivet_dev @alchemy_run YOOOOOOOOOOOOOOO

    1 Like

  • Profilbild von ಡಾಚರ್ ΰ²¨ΰ³‹ΰ²Ÿΰ³β€Œΰ²—ΰ²³ΰ³

    @watchernoteskn

    @alchemy_run export path for DOs opens up so many migration options. been waiting for someone to actually ship this instead of just complaining about the lock-in.

  • Profilbild von Kizuno18

    @Kizuno18

    the hardest edge case in zero-downtime DO migration is in-flight WebSocket connections and mutating storage transactions during cutover. if dual-writing to DO storage and Postgres isn't coordinated with a fencing token, a straggler worker on edge can write stale state after the snapshot. how do you handle the final drain/freeze barrier?

  • Profilbild von Khushal

    @khuxsal

    @alchemy_run my data finally gets to move out of its parents' house

  • Profilbild von Roberto RamΓ­rez

    @robramz_ai

    @alchemy_run This works with planetscale?

  • Profilbild von Nathan Flurry πŸ”©

    @NathanFlurry

    @alchemy_run yes!

  • Profilbild von Cloudstack Solutions

    @Cloudstack_io

    @alchemy_run No downtime migrations and no vendor lock in is exactly the kind of tooling developers need.

  • Profilbild von Mert Koseoglu

    @mksglu

    @alchemy_run Omg

  • Profilbild von Rudra Agrawal

    @RudraAgrawal783

    @alchemy_run for the postgres option, does every durable object get its own table, or do they all go into shared tables with the object id as a column?

  • Profilbild von 刘朝 Zhao Liu

    @liuzhao_666

    @alchemy_run Worth highlighting the rollback boundary in the README: writes accepted by the new server don't sync back to Cloudflare. Switching DNS back needs an explicit data-reconciliation plan.

  • Profilbild von All Over Tools

    @UseAllOverTools

    @alchemy_run wait, lazy migration means an object only copies once someone hits it, so what happens to objects nobody requests again?

  • Profilbild von Nathan Flurry πŸ”©

    @NathanFlurry

    @alchemy_run there's the backfill step!

    1 Like

  • Profilbild von All Over Tools

    @UseAllOverTools

    @alchemy_run Keep the backfill separate from lazy reads and I get it, but who pays for the copy when the backfill runs on objects that are cold anyway