Ahmet
CCConvex Community
•Created by Ahmet on 1/17/2025 in #support-community
Is it possible to listen for subscribe/unsubscribe events for queries and trigger an action?
Yes, this is the same logic as updating the lastOnline value. Currently we have an application with 10k clients on supabase and their online status needs to be monitored 24/7. Since api call is unlimited in Supabase, such a heartbeat style solution is not a problem. But it would cause extra cost in convex.
4 replies
CCConvex Community
•Created by kstulgys on 8/8/2024 in #support-community
What's the best way to manage long running functions in convex actions?
Thank you for clarifying 🙂
13 replies
CCConvex Community
•Created by kstulgys on 8/8/2024 in #support-community
What's the best way to manage long running functions in convex actions?
Hi, things may have changed since this answer was given but I am a little confused about this. For the test, I wrote a dummy action with setTimeout that waits 600000ms (10m). This is reflected in the usage as 0.01 GB-hours. If my calculation is correct, the minimum RAM usage seems to be around ~64MB. So a usage like 5MB is not possible in practice. Is this correct?
13 replies