We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    MODx scales as well as your server allows, and comparably to other platforms. You can provision multiple front end servers, etc... there’s way too many variables here to predict the optimal way to configure something without real-world testing. Revo can support any type of caching too so you could run what you described out of Memcache and a CDN for your images/css/js for killer performance.
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 29877
      • 35 Posts
      Quote from: hk_modx at Mar 24, 2010, 11:49 AM

      I’ve built a couple of large(ish) scale MODx sites - both with 0.9.6x, it scales very well.

      http://feer.com/
      Unfortunately this site is now no longer maintained because the magazine has closed its’ doors, but there’s 80,000+ articles in it, dating back to 1946 when the mag began - none of the old, old, articles required CMS editing features so they are being loaded into MODx templates via custom tables and a snippet. All the newer articles were inserted as MODx documents, of which there is about 3000 by the end.

      http://www.womguide.com/
      This next one is still very active and is growing, there’s roughly 3000 resources all using the MODx database tables.

      Impressive. Thank you for posting. I will have a look at these when I have a moment to do so.
        • 13094
        • 58 Posts
        this is the sound of future laugh

        thank you, Ryan.
          • 12236
          • 48 Posts
          Digital Butter - MODX Premiere Partners Reply #14, 16 years, 6 months ago
          Quote from: thomasgrant at Mar 24, 2010, 01:49 PM

          Quote from: hk_modx at Mar 24, 2010, 11:49 AM

          I’ve built a couple of large(ish) scale MODx sites - both with 0.9.6x, it scales very well.

          http://feer.com/
          Unfortunately this site is now no longer maintained because the magazine has closed its’ doors, but there’s 80,000+ articles in it, dating back to 1946 when the mag began - none of the old, old, articles required CMS editing features so they are being loaded into MODx templates via custom tables and a snippet. All the newer articles were inserted as MODx documents, of which there is about 3000 by the end.

          http://www.womguide.com/
          This next one is still very active and is growing, there’s roughly 3000 resources all using the MODx database tables.

          Impressive. Thank you for posting. I will have a look at these when I have a moment to do so.

          My pleasure.

          Just to echo Ryan’s statement above though, now that we have the option of using Revo RC1, we won’t be using the Evolution branch for projects that scale.

          We’ve got 2 large scale projects about a month away from completion using Revo & very excited to share with the community =)
            • 19787
            • 28 Posts
            We have 4195 docs on our FootballFilter site

            http://www.footballfilter.com

            Each source on the site is a separate document.

            We are on 0.9.6.3. Hoping to upgrade to Revo soon!

            Does anyone know what happens when we reach that mythical figure of 5,000 docs?

            I’m happy to hear about Ryans experience with 11,000 docs. Was there any special setup needed to handle this many docs?
              • 25663 MODX Staff
              • 12,272 Posts
              You just need to give PHP more RAM and try to use faster processors/disks. The cache files get rather large with Evo-based sites and those doc counts. There are things you can do to cut down on cache sizes discussed elsewhere on the forums. Evo processes the cache with every request.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 26931
                • 2,314 Posts
                There are things you can do to cut down on cache sizes discussed elsewhere on the forums. Evo processes the cache with every request.
                http://modxcms.com/forums/index.php/topic,36714.msg277542.html

                -> http://modxcms.com/forums/index.php/topic,36714.msg277542.html#msg277542
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  You can avoid chunks (use external config files and tpl files whenever possible, or use TVs), and break all snippets out into external files with the snippet code just being a one-line include directive. Likewise use a similar one-line snippet for templates, with the actual template in an external file.

                  The thing that loads up the cache file (and subsequently sucks up large amounts of memory during processing, when the cache file is parsed into arrays for quicker use) is the alias map. There are three arrays formed, so three entries for every document:
                  $this->aliasListing = array();
                  $a = &$this->aliasListing;
                  $d = &$this->documentListing;
                  $m = &$this->documentMap;
                  $d['index'] = 1;
                  $a[1] = array('id' => 1, 'alias' => 'index', 'path' => '');
                  $m[] = array('0' => '1');
                  

                  If you have 5,000 documents, that’s 3 arrays with 5,000 elements, and one of these is a 2-dimensional array to boot! Those always take up a lot of memory.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 36416
                    • 589 Posts
                    Quote from: mjm at Mar 24, 2010, 04:35 PM

                    Does anyone know what happens when we reach that mythical figure of 5,000 docs?

                    We are on 4904 documents on slightly modified 1.0.0.RC1 here:
                    http://www.dopmagazin.com/

                    ...waiting for the server to go supernova. smiley
                      • 26951
                      • 41 Posts
                      4 million (dynamic) 3 actual pages! www.directoryenquire.com