n2kN
Convex Community2d ago
1 reply
n2k

1. When using an action that requires

1. When using an action that requires node runtime (because of external package), and extra queries are required for authz, running them via ctx.runQuery() from node, is crossing "back" into convex runtime, does this add extra latency again?
2. Another example is within the same action, calling ctx.runAction() to a separate external service that is not node (simple fetch) does this cross "back" into Convex runtime?

I have some actions taking 5-8 seconds, simple calls to Vercel via their SDK (ex. querying domains data) or Mollie via their SDK (ex. querying subscriptions / mandates), am I doing something wrong?
Was this page helpful?