Hi,
I’m exploring Forge remote and it is unclear to me if the invocation limits in the Forge Platform quotas and limits apply to it. Specifically, if I use invokeRemote
5 times in a Forge FaaS to communicate with my own servers, does it count as 5 invocations plus 1 Forge FaaS invocation, a total of 6 invokations? Do these invocations affect the 500 invocations per 25 seconds sliding window limit?
Here’s a code snippet for the example above:
const resolver = new Resolver();
resolver.define("call-remote-api", async (req) => {
const respones = Promise.all(
[...Array(5).keys()].map(async () => {
const res = await invokeRemote("remote-resolver-key", {
path: "/frc-backend",
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
context: req.context,
}),
});
// rest of code
}),
);
});
export const handler = resolver.getDefinitions();