Purge EcoSpace pool

CapableObjects Forums SupportForum Purge EcoSpace pool

This topic contains 1 reply, has 1 voice, and was last updated by  Daniel_Wikholm 5 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5293 Score: 0


    We have an MDriven ASP.NET SOAP-based application server, making a number of web service methods available to our client software(s). The server is stateless, and always ends each web method call by either a database update or, for read only methods, by returning a session free eco space. All web method calls are currenly synchronous.

    Until now Eco.Web.MaxPool has been 0, but we’re considering using an ecospace pool to handle multiple requests in parallel. I think we have the sync handler and the other required parts of the infrastructure in place already.

    For testing purposes, I’m now looking for a way to, by code, purge all ecospaces from the pool, as if they had reached MaxAge. Any clues would be appreciated.

    The tests are to be (semi) automated and both measure performance and verify that the general behavior doesn’t change when pooling is used.

    #5298 Score: 0


    Could Eco.Web.PoolHandler.GetPool().RemoveAndDeactiveateAll(); be what I’m looking for?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.