Welcome Guest, Not a member yet? Register   Sign In
Database connecting and caching
#1

[eluser]AlexJ[/eluser]
Hi there,

Im a pretty experienced CI developer but im wondering about the following:

When I monitor my MySQL processlist, I see that my CodeIgniter apps are connecting to the database, setting the collocation.

Right there and then, it finds out that the query is already in the cache folder, so it disconnects the fresh connection again, this takes my server alot of overhead if people are visiting a cached query at the same time.

Where do I find the code in the system folder that connects and searches the cache? CI should first check the cache, and if the query isnt in the cache, it should connect and do the query.


Messages In This Thread
Database connecting and caching - by El Forum - 01-28-2011, 09:11 AM
Database connecting and caching - by El Forum - 01-28-2011, 09:42 AM
Database connecting and caching - by El Forum - 01-28-2011, 10:02 AM
Database connecting and caching - by El Forum - 01-28-2011, 10:10 AM
Database connecting and caching - by El Forum - 01-28-2011, 10:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB