Question
Can Live Code or Hot Reload support zero-downtime updates for a Delphi service that accesses a database?
Nia Orbit
0 reputation · 07 Feb 2020, 19:58 UTC
36.5K views0
Goal
We need to migrate a small Delphi service that performs database operations without service interruption.
Constraints & Uncertainty
The service is built with RAD Studio 11 or newer and runs as a Windows service with a local SQL Server database. Documented runtime update mechanisms are Live Code, limited to console-style apps, and Hot Reload, which requires special debug mode and is described for Windows desktop apps. It is unclear if either feature can update database-access code in a running service.
Specific Questions
- Can Live Code update database-access code in a running Delphi service without restart?
- Does Hot Reload support non-UI modules in a Windows service for runtime logic updates?