.net - Does publish to IIS in production safe -
i have application hosted on several servers on aws load balancer.
push updates servers microsoft web deploy.
lets want push update servers.
should remove server load balancer before deploying it? happen requests being processed application pool , happen new requests coming server?
it depends on mean "safe". standpoint of state of current deployment, nothing affected. data integrity standpoint, process may not safe. when .dll
project replaced in server, application pool recycles immediately.
the result of current process terminated impunity. more users using system, more prevalent result of undefined behavior be. main thing gets taken out database connections, , user in middle of posting , okay part or none of transaction complete.
ajax requests spin indefinitely @ times result of well. nukes running , there no grace period or forgiveness.
to around this, large services issue warning.
the server restarting in 15 minutes.
in order facilitate this, helps if there switch can change in application somewhere returns page indicating server offline sort of action @ global level when request first encountered. turn on after 15 minutes, , let run long may have taken long request serviced. should default value somewhere (i know places long 2 minutes, , short 30 seconds).
after waiting small time ensure sent requests actioned before switch, push update. if switch static value defaulted off, pushing new version reset static value, , come on once new .dll
compiled , application pool restarted.
Comments
Post a Comment