Tiago Freitas
Tiago Freitas
CCConvex Community
Created by Tiago Freitas on 12/4/2024 in #support-community
CRDT for text editors
@ian what was the reason to choose automerge vs Yjs? I currently use Yjs to sync a react flow nested tree structure, where each node has a lot of data including many text editor blocks (currently using blocknote based on tiptap+prosemirror). But the Yjs sync with the react state manager became too complex and slow, and wanted to switch to convex for everything except the text editors to handle merges / conflicts better. And blocknote is not good for nested schemas (I want nested custom block types, some react RSC) so I need to switch to pure prosemirror or another CRDT text editor. Do you recommend switching to automerge, or is Yjs equaly good? Prosemirror OT with pure convex may be too slow without a proper CRDT. I still need to use a production Yjs or automerge server like partykit even if I use convex as the persistence storage right? @RJ and @ampp can you also chime in since you worked on similar things? Thanks!
38 replies
CCConvex Community
Created by Tiago Freitas on 11/29/2024 in #support-community
Convex migrations in self-hosted
Hi, I am evaluating convex for an app that currently uses yjs / livekit but got too complex. for the saas I can use convex hosted, but many business clients want full on premise solution so I need to self host. I see in the docs you don't support migrations, but is there any migration guide or info and are people doing it in practice? I also can't afford an enterprise plan with on premise support as I'm just getting started and they are SMBs, but I also can't adopt convex without self hosting for them on their servers, but they won't need a lot of scaling.. I will not be self-hosting the saas version. When a major version of convex is released, I assume there is usually an upgrade process and internal data structures migration (not the user db data). I guess sometimes there are manual steps and fixes to be made in this process? The docs say convex does not help with self-hosted migrations.
14 replies