Jump to content

Pros/Cons to Deployment Option


awoerner@systek.de

Recommended Posts

Hello together,

can someone told me what are the Pros and Cons between the 3 deployment Options?

- Standalone Exe

- Windows Service

- ISAPI DLL

 

What i have found is only, that the "Standalone Exe" should normally be used for debugging only, but not in productive environment.

But what are the Pros and Cons of the other 2 deployment types? There are performance differences?

 

Kind regards

Andreas Woerner

- SysTek GmbH, Germany -

Link to comment
Share on other sites

There are in reality only two professional deployment options,

service and ISAPI.

 

You have to run on different ports with a service, if you need

several apps on a single IP, but with URL rewrite you can mask

much if not all of this I guess, or you can use a simple redirect

to get clean starting URLs. A URL rewrite would need a separate webserver

running doing the rewrite, like IIS or Apache, or whatever works.

 

The crucial difference is that you can kill individual service apps,

but with ISAPI you have to kill them all at once as you take the webserver

down - and you have to do that if one of the apps hangs or does

not allow new connections.

 

The security model is also different, as the webserver handles

it for all apps in one go.

 

Automatic updating works well for ISAPI, using the eggcentric

solution, and for a service it is a simple case to stop it and

update the exe and then restart it - but a little bit more complex

it will be, than when using ISAPI, as that involves just a file copy.

 

The more apps you run on a single box, the greater the hassle

when having to restart the ISAPI server due to some issue, and

the more flexible you are with a service setup when it comes to

rebooting individual processes.

Link to comment
Share on other sites

 

The crucial difference is that you can kill individual service apps,

but with ISAPI you have to kill them all at once as you take the webserver

down - and you have to do that if one of the apps hangs or does

not allow new connections.

not true with apache, you can replace the isapi dll without touch others running. i think that with iis too.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...