Hi everyone, I’m working on a small side project where I’m trying to use a serverless backend to log telemetry data from a mobile gaming environment. I’m essentially trying to bridge the gap between client-side automation and a central database for some performance analytics.
I’ve been using delta exec to handle the local script logic on the device, which then fires off a POST request to an API Gateway endpoint. The issue I’m running into is that while the environment is running the scripts perfectly fine on the mobile side, I’m seeing massive spikes in execution time on the AWS side due to cold starts. Because the requests from the executor are intermittent (only when specific game events trigger), the Lambda function isn’t staying “warm.”
Has anyone else here dealt with integrating third-party execution tools like a site with a serverless stack? I’m specifically worried that if I use a “Provisioned Concurrency” setup, it might be overkill for this kind of hobbyist data scraping, but the timeout errors I’m getting from the client side are starting to cause data loss. Does the way delta exec handles asynchronous requests potentially clash with how API Gateway expects headers to be formatted? I’d appreciate any advice on optimizing the handshake between mobile-based scripts and serverless functions to keep the latency low without breaking the bank on AWS costs!