Use Consul KV Sessions as Distributed Locks for Singleton Jobs
Run one instance of a cron job at a time using Consul KV keys and sessions instead of adding Redis or a database lock table.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Run one instance of a cron job at a time using Consul KV keys and sessions instead of adding Redis or a database lock table.
Flask's session is a signed cookie, not a server-side store. Here's what that means for login code, secret rotation, revocation, and when to move to Redis-backed sessions.