Updating D-based apps without recompiling it
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Mar 23 05:36:58 PDT 2016
On Wednesday, 23 March 2016 at 12:21:33 UTC, Ozan wrote:
> Has someone experience with handling upgrading/updating D-Apps
> on the fly?
The way I always did it was to simply have old and new running
side-by-side in the transition.
So, without stopping the old version, compile the new one and
start it. Tell the web server to start using the new one for all
new connections without breaking any existing connections.
Then when all existing connections are finished, you can stop the
old one and remove it.
More information about the Digitalmars-d-learn
mailing list