Service design or access to another process

Posted by hotyi on Stack Overflow See other posts from Stack Overflow or by hotyi
Published on 2010-05-14T12:35:14Z Indexed on 2010/05/15 2:54 UTC
Read the original article Hit count: 306

Filed under:

I have a cache service,it's works as .net remoting, i want to create another windows service to clean up the that cache service by transfer the objects from cache to files. because they are in separate process, is their any way i could access that cache service or do i have to expose a method from the cache service to do that clean up work?

the "clean up" means i want to serialize the object from Cache to file and these saved file will be used for further process.

let me explain this application more detail. the application is mainly a log service to log all the coming request and these request will be saved to db for further data mining. we have 2 design for this log system 1) use MSMQ, but seems it's performance is not good enough, we don't use it. 2) we design a cache service, each request will be saved into the cache, and we need another function to clean up the cache by serialize the object to file.

© Stack Overflow or respective owner

Related posts about design