Hi guys,
Just thought I’d give an update on my progress. In the end of my import, I had a little over 90,000 records in MODx, only about 13,000 had any template variables associated with them. Unfortunatly, I don’t see something of this size working in a current version of MODx. The problem is the caching system, as OpenGeek said it would be. I was able to browse around the manager with all the documents in the menu tree, but refreshing the cache was not happening. I set my php max_execution_time to 120s and it still would not complete. I thought about changing how the cache processor worked, to exclude all these documents, but so much of the document parser depends on this - for alias links and just generating a page. So it seems I will have to take a different route to solve this. Probably something to the effect of what PaulGregory recommended.
On the plus side, I left all my product index pages in the system, making the record total 13,891 and MODx seems to handle this amount fine. So if your looking to host a couple thousand docs in MODx, I’d say go for it. Of course, this is just testing on my local machine - so make sure your web server is powerful enough to handle it.
Still with this many docs, my siteCache.idx.php file is 2,395KB in size - pretty hefty, but pages still seem to load relativly quick. After about 30 min. of modifcations to cache_sync.class.processor and document.parser.class.inc, I was able to trim this cache file down to 1,558KB and reduced total page load time by half a second (got times by using MODx time variables). There is a lot of redundant data in that cache file. I basically combined all those doc arrays ($a, $m, $d, $c) into one array - of course, that messes up a whole boat load of things in the document parser, but is easily adjusted. This would not be of concern for someone with a smaller amount of documents, but if MODx ever wants to support larger sites with large amounts of data, something will have to be done with the cache processor. Just my 2 cents.
Anyway, I’m still going to use MODx for our 5,000+ articles, still the best open source CMS I’ve seen.
BTW - MODx 0.9.5 Beta looks SWEET, good job guys.