BuildShipBBuildShip
Powered by
BrianB
BuildShip•12mo ago•
15 replies
Brian

How does cold start work?

Checkout my attached image. the purple bar is the execution time from a BuildShip workflow from start to end (I record the timings within the workflow itself). The green bars are measurements from the frontend you can disregard (though the BuildShip latency adds to this frontend latency). Is a workflow ALWAYS starting cold or does it start cold after a certain period of time if the workflow was not being used? Furthermore I wonder why the workflow itself runs slower at the beginning and faster in the end in my statistics. Since I am measuring the times directly in the workflow I thought the cold start would not affect the speed of the workflow but rather the starting time.
Screenshot_2025-02-25_at_09.51.14.png
Solution
Hey @Brian We checked the workflow you shared for issues with latency even after no-cold start purchase, the initial request.
According to the 22 execution logs and metrics, all the initial startup requests are under 2-3ms  (you can check the request time to call the trigger) only one request - 2025-02-2620:09:32 which took 4.01s also worked without any cold start under 2ms, the time is consumed by the Groq Chat (detailed) - 2.29s and Get Document Query node - 1.48.
The server performance for no cold start is consistent with the initial request without startup latency for requests within 2ms.

Also sent you an email.
Jump to solution
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

No cold start upgrade
Lucas JohnsonLLucas Johnson / ❓・buildship-help
14mo ago
No-Cold Start seems not working
AMEERSHAAMEERSH / ❓・buildship-help
15mo ago
How does Priority Support work?
BrianBBrian / ❓・buildship-help
2y ago
In one of my production workflows expressions does not work
dbrwkDdbrwk / ❓・buildship-help
16mo ago