DefaultSchedulerService in ASP.NET application
Posted
by Samir P
on Stack Overflow
See other posts from Stack Overflow
or by Samir P
Published on 2010-04-27T06:19:31Z
Indexed on
2010/04/27
6:23 UTC
Read the original article
Hit count: 442
Hi, My project has a requirement to implement look-ahead caching i.e. triggering another request on invokation of a specific request. The following details in short the implementation -
- HttpModule parses the SOAPRequest and matches entry in a configuration file for look-ahead candidate.
- If the request matches, it prepares the Parameters dictionary and starts appropriate workflow.
- Single workflow runtime is used across all requests is ensured through initializing the runtime instance at Application_Start event and stored in Application Dictionary.
- Using persistence service and DefaultScheduler service.
We can't implement windows service model, as current requirement mandates passing the SOAPRequest parameters as arguments. ManualSchedulerService is not in contention due to synchronous nature of it's actual behaviour. Still the performance is pretty bad and product team is not happy. Can anybody suggest me better solution?
Thanks, Samir
© Stack Overflow or respective owner