locked
Web Garden in WCF service RRS feed

  • Question

  • Hi

    i want to host WCF service on managed windows service. my wcf service is not session specific.

    my server is  8 core 3.00 GHz Intel Xeon   E5450.

    If i host WCF service on IIS and setup Web Garden ( number of worker processs as 8 etcc).

    as i am hosting as windows service is there any similar concept like web garden for windows service,

    Pleaes advice.

     

    Friday, May 20, 2011 1:42 PM

Answers

  • (I reply for Dev-Admin): Ah now I see what you mean, sorry for my quick answer.

    Writing a scalable host (by using the Task library?) is not an easy task; I would advise to use IIS if you need to meet scalability requirements.

    Sorry this is not the answer you were hoping for.


    --- yOu aNd mE are ...
    • Marked as answer by Yi-Lun Luo Thursday, May 26, 2011 8:58 AM
    Monday, May 23, 2011 7:16 AM

All replies

  • There is no built-in "web garden" concept for windows managed services.
    Friday, May 20, 2011 4:24 PM
  • So IIS hosting below advantages when compared to windows service hosting servce:

     1. process recycling

    2. process recycling for idle time

    3. web garden

    How to acheive web garden in wcf service hosted as windows service.

     

     

    Friday, May 20, 2011 5:08 PM
  • You can specify the number of worker processes on the app pool of your web service application.
    • Proposed as answer by SiKo_279 Sunday, May 22, 2011 6:34 PM
    Sunday, May 22, 2011 6:33 PM
  •  

    Hi dec-admin,

     

    Whatever you mentioned is   applicable to wcf service hosted on IIS.

    but my question was how can we acheive this if i host our service as windows service.

     

    Thanks

     

    Monday, May 23, 2011 6:13 AM
  • (I reply for Dev-Admin): Ah now I see what you mean, sorry for my quick answer.

    Writing a scalable host (by using the Task library?) is not an easy task; I would advise to use IIS if you need to meet scalability requirements.

    Sorry this is not the answer you were hoping for.


    --- yOu aNd mE are ...
    • Marked as answer by Yi-Lun Luo Thursday, May 26, 2011 8:58 AM
    Monday, May 23, 2011 7:16 AM