Hello,

I would like to ask a question about the using of 2nd level cache.

In fact, when we call Transaction.Commit(), all the data will be saved
and synchronized in 2nd level cache and in DB. Therefore, each
transaction.commit() has two phase (I don't know which one run
first) :
   + Save to cache
   + Save to DB
Now, I want to synchronized save to 2nd level cache but asynchronized
save to DB. Because I've found that, if 2 saving transactions (to 2nd
level cache and to DB) are synchronized, the program must wait much
longer. So, if only 2nd level cache insertion is synchronized, the
program run faster.

Is it possible?

Many thanks,

PS: Sorry about my English


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to