sujayakar
CCConvex Community
•Created by v on 3/22/2025 in #support-community
After a query is cached, is calling it again free until its invalidated?
hey! it still counts as a function call but doesn't cost database bandwidth.
we generally try to keep cache values around as long as we can so long as they're still valid. they can get evicted if you have a lot of cached function calls that are more recently used, for example.
4 replies
CCConvex Community
•Created by IPBuilder on 3/18/2025 in #support-community
MCP setup in Cursor not matching guidance.
hey @IPBuilder -- ah it looks like this changed on the most recent cursor version. you can fill out the json like this:
i'll update the docs too
5 replies
CCConvex Community
•Created by fugufish on 3/16/2025 in #support-community
Local first
hey @fugufish, our plan is to make incremental adoption of local sync pretty easy: you'd be able to start with a vanilla convex app (that requires the server to be online) and then gradually move data fetching + optimistic updates to the object sync engine.
the general idea with our architecture is that you define sync tables (like electricsql's "views") that are backed by convex queries. here's an example from our linear clone prototype: https://github.com/get-convex/curvilinear/blob/main/convex/sync/issues.ts
so, you should be able to reuse a lot of your server side queries when porting the vanilla convex functions to this sync table API.
then, on the client, you'd change your UI components from calling server side query functions to querying the sync tables in the local store.
mutations stay exactly the same on the server but then have an optimistic update that patches the local store.
happy to go into more details if it'd be helpful, let me know! but the overall idea is that it shouldn't be too big of a lift to incrementally adopt over regular convex.
5 replies
CCConvex Community
•Created by frankhuang on 3/5/2025 in #self-hosted
Hi, does Convex support storage provider
6 replies
CCConvex Community
•Created by stefano on 3/5/2025 in #self-hosted
Would it be better Linux or Windows for
hey! my experience is generally that running servers on linux is easier, but that's also what i'm more used to 🙂
1 replies
CCConvex Community
•Created by frankhuang on 3/5/2025 in #self-hosted
Hi, does Convex support storage provider
hey! it looks like tencent cloud object storage is S3 API compatible -- can you try pointing convex to that?
we haven't tested it but it should work.
6 replies
CCConvex Community
•Created by mikeysee on 1/17/2024 in #support-community
Error while trying to use Loro CRDTs (Uncaught ReferenceError: FinalizationRegistry is not defined)
hey @too_easy, yeah this WASM stuff has been a big pain on our side (ecosystem hasn't stabilized on one import mechanism yet) -- from the last time we looked at it, I think it'd be a bit of work to get something stable working for y'all. I just tried it again, and it looks like their wasm loading also requires top-level await, which we also don't support yet.
@Ian wrote up a doc on getting automerge working within convex (https://stack.convex.dev/automerge-and-convex#using-automerge-in-a-serverless-environment), and he also has a great post on a higher level text editing component that uses prosemirror (https://www.convex.dev/components/prosemirror-sync).
65 replies
CCConvex Community
•Created by BB on 1/15/2025 in #support-community
Crazy high bandwidth usage
hey! yeah, 200MB of bandwidth for a few hundred rows (which I'm assuming are pretty small) doesn't seem right.
we're working on improving profiling to make this easier to track down. but in the meantime...
- in the project usage view, how much of the bandwidth is from reads vs. writes?
- do you see a lot of function calls? i'm curious if the issue is that functions are running too often vs. each individual function call is reading too much data.
- in the breakdown views at the bottom of the usage page, you can see which functions are getting called the most and which are taking up the most bandwidth.
10 replies
CCConvex Community
•Created by glucinater on 1/5/2025 in #general
Convex: Life Without a Backend Team (Jam...
it's very inspired by foundationdb & lots of shared ideas w/the tigerbeetle folks. we've been talking to both of those teams a lot.
5 replies
CCConvex Community
•Created by glucinater on 1/5/2025 in #general
Convex: Life Without a Backend Team (Jam...
fixed! sorry about that. no plans yet, but we can write one if it'd be helpful.
a lot of it is similar to work we did back at dropbox for the sync engine there. my colleague isaac wrote up a post for DST back then: https://dropbox.tech/infrastructure/-testing-our-new-sync-engine
5 replies
CCConvex Community
•Created by glucinater on 1/5/2025 in #general
Convex: Life Without a Backend Team (Jam...
hey! yeah, we're actually planning on open sourcing our deterministic simulation testing framework this month for testing the core commit protocol. we've set up everything in convex to be deterministic under a special runtime, so we generate a bunch of pseudorandom traffic, adversarially schedule threads in the system, and then check that everything still works. stay tuned.
recently, we've also been working on porting https://github.com/jepsen-io/elle for consistency level checking. elle is a special way to generate traffic such that it's easy to detect when the database behaves in a way that violates its claimed guarantees. the code is at https://github.com/get-convex/convex-backend/tree/main/crates/simulation but still very rough.
5 replies
CCConvex Community
•Created by Tiger 🐅 on 12/20/2024 in #general
tiger9644's Thread
yeah, makes sense. still very early on our side 🙂
31 replies
CCConvex Community
•Created by Tiger 🐅 on 12/20/2024 in #general
tiger9644's Thread
deployed demo: https://multiplayer-cursors.vercel.app/
31 replies