I'd like to have answered Gregory on my last thread (" architecture question", 
http://forums.magnolia-cms.com/forum/thread.html?threadId=58d53b0b-eab8-49a6-a636-fee0ce682e46&page=1),
 but the forum returned an error 500 so I'll try it this way in a new thread.

As described therein, I have an author system and two public instances. But 
only one of them receives activation requests. Because I could not understand 
this behaviour, I used remote debugging and found the following source code in 
SimpleSyndicator:

[code]Iterator<Subscriber> subscriberIterator = allSubscribers.iterator();
        final Sync done = new CountDown(allSubscribers.size());
        final List<Exception> errors = new ArrayList<Exception>();
        int count = 0;
        while (subscriberIterator.hasNext()) {
            count++;
            final Subscriber subscriber = subscriberIterator.next();
            if (subscriber.isActive()) {
                // TODO: Inject?
                runnable.setErrors(errors);
                runnable.setSubscriber(subscriber);
                runnable.setSync(done);
                // Create runnable task for each subscriber.
                executeInPool(runnable);
                break;
            } else {
                done.release();
            }
        } // end of subscriber loop
[/code]

So if the first active Subscriber is found and put into the executablePool, the 
loop breaks.
Is this a limitation of the Community Edition?


One more question:
I configured Magnolia so that it uses MySQL as persistence layer for all 
workspaces. 
On the author system I'm seeing ~20 tables, mostly with BLOBs. 
The public instances have ~4 tables with version information. 
My question is: if  a public instances is requested to deliver a website, what 
is the process of rendering this stuff? Is the master server asked the first 
time, then it's rendered and cached?... 
Or does the public instance have a copy of the JCR in memory? I ask myself 
where it is getting the required data from if it just has a database holding 
versioning information.

Best regards and thanks from Hamburg,
 Georg

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=7feb8a33-f51c-4fb5-8d66-ce16af6c07c1


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to