How to prewarm always on cloud run instances when deploying new revisions

We have multiple cloud run services which have rust code running in it to serve small web APIs. There is load at any given point of time but it varies by the time of the day.
Whenever we deploy a new revision by default the traffic is migrated to the service almost immediately. This leads to some issues related to latency and load.
The minimum instance field we have is generally set to 1 in all services so as to avoid forgetting about services with less load consuming more instances.
I want to change the deployment behavior such that I can set some minimum instance(around the same number of instance already being used for revision with traffic at that time) for a revision for initial 10 minutes and migrate the traffic once the instances are available instead of the other way around of increasing traffic and instances scaling by gcp logic.

We are yet to try the gradual ramp up, but I was looking for better solution of at least having specific number of instances beforehand.

reddit.com
u/crazyboffin — 3 days ago
▲ 3 r/IndiaTax+1 crossposts

I open-sourced a toolkit for doing TallyPrime bookkeeping with an AI assistant

I've been using an AI assistant on my PC to do real Tally work — bank reconciliation, dividends,salary/dividend TDS split per 26AS, F&O, and reports — and cleaned it up into a public, client-agnostic toolkit.

You drive it in plain English and it shows you every entry before saving (AI drafts, you approve).

It includes cached SQL reporting (P&L, bank recon, TDS-vs-26AS), a PDF→Excel→Tally pipeline that handles password-protected 26AS/AIS, and a two-year practice "sandbox" company with planted errors + graded exercises so you can learn without touching a real book.

Repo: github.com/puneetkeshav/tally-integration

Would love feedback from anyone doing Tally at scale — what would you automate next?

u/crazyboffin — 1 month ago