Hi

I have a question about the sqlObject cache.
I'm 2 web servers over 2 replicated mysql server for high availability.
What I'm actually doing is to disable the connection cache.
Looking at connection debug log, there are a lot of useless transactions
that could be cached.
So I had the idea of calling connection.cache.weakrefAll() at the
beginning of all web transactions.
I checked the code and saw that it should work with no problem, as a
cache lock is acquired before doing the operation.
Do you think it should work?

But looking at the log, I saw that the transaction are not the same
between 2 identical web requests. (with an idle test webserver)
I'm suspecting the cache cull system.
How can I disable the cull system?
Maybe there should be a connection parameter for this?

Thanks




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to