JamalJ
Convex Community3y ago
15 replies
Jamal

caching

Is something like redis needed when using convex if it has built-in caching. I know the point of caching internally with convex is already great, however what if we want to limit the calls to the database because even if it only takes 80ms it still uses function executions. I guess what im asking is it smart to wrap convex in our own cache system to prevent more database calls or maybe a trick we can use to cache things ourselves, and to keep everything realtime maybe some kind of cache subscriped to the ws events just like the db, so its all in sync but doent have to make the http calls back to convex for reads?
Was this page helpful?