Domanda

Sto cercando un suggerimento per ospitare la mia applicazione Enterprise WCF.

L'applicazione. Richiedi di eseguire senza fermarsi al server. Usa anche TCP per produrre le migliori prestazioni nell'ambiente Intranet.

Sto pensando di ospitarlo al servizio di finestre perché il processo di riciclo IIS e ha timeout.

Tuttavia, lo trovo dall'MSDN http://msdn.microsoft.com/en-us/library/ff649818.aspx :

Servizio di finestre ... Mancanza di funzionalità aziendali. I servizi di Windows non hanno la sicurezza, la gestibilità, la scalabilità e le caratteristiche amministrative incluse in IIS.

Significa che il servizio di finestre non è adatto per l'applicazione aziendale? Ma che ne dici di MS SQL, Oracle, Mysql ecc. Ospitano tutti alla vittoria. Servizio giusto?

Saluti Bryan

È stato utile?

Soluzione

Windows service is suitable for enterprise application! The quoted text actually means that IIS has a lot of built-in management features which are not available in custom hosting (like windows service) unless you implement them at your own.

One of such features is the recycling you want to avoid which helps application to keep low resource consumption (server is in healthy state). Another such feature is IIS checking of the worker state. If worker process looks stuck (don't process requests for any reason), IIS will start automatically another process and routes new requests to that process.

IIS + WAS + AppFabric can provide very big feature set but they are not good for every scenario. If you have service which requires some background continuous, scheduled or multi threaded processing it is probably better to move to self hosted scenario.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top