Offline Database Write Cache in C#

Posted by Todd Gardner on Stack Overflow See other posts from Stack Overflow or by Todd Gardner
Published on 2010-03-17T21:02:04Z Indexed on 2010/03/24 5:53 UTC
Read the original article Hit count: 187

Filed under:
|
|
|

I have a windows service that receives a large amount of data that needs to be transformed and persisted to a database. To ensure that we do not lose data, I want to create a "Write cache" for the data that will continue regardless if the database is online. Once the database becomes available again, I would want it to flush the content of the cache back into the database.

I've seen some articles indicating that I might be able to do this with NHibernate, but I haven't found it conclusively. What options exist for this, and is NHibernate the appropriate direction?

© Stack Overflow or respective owner

Related posts about c#

Related posts about database