problem back ground
I am using modxcms vs 9.6.1, I am using linux server with 5 gb ram with more then 128mb for php.
I also enabled the friendly url.
My Application creates minimum of 10 documents dynamically for each new user when user register himself. Later user can add new documents himself.
Now if my web user count increases to 10,000 then their will be minimum of 1,00,000 document in modx_site_content table.
My Every document is set for non cacheble as per the suggestions found by googling.
As of now their is nearly 5000 documents. I have optimized apache, mysql, php code for the efficient and fast performance.
Problem description
When ever a user registers or creates a new document the site get’s unresponsive for all the user’s using it.
After a long struggle we found that when ever a new document is published we are required to clear and rebuild the cache for reflecting the friendly url changes. the rebuilding is the 15 to 35 sec process. but when n of users are creating and publishing new documents simultaneously or in gap of very short duration , the site become unresponsive.
My Question
Q1. How I can disable the cache completely. I do not want to use it?
Q2. Can i use external cache application like APC or zend cache for this purpose. Will it boost the performance and stop hanging? if yes, then how i can integrate it with modx?
Q3. If cache cannot be disbabled then How I can stopped such hanging?
Q4. At present the cache clear and rebuild is required. It is done through coding, using the modx inbuild function only.
If this is not done then makeurl function of modx object builds faulty friendly url. Is their any solution for this?
I have also visited to
http://modxcms.com/forums/index.php/topic,13340.0.html as it is of similar problem. but no solution was find their also.
Please help me.