[TYPO3-english] Multiple Typo3 Servers to one database

Christian Weiske christian.weiske at netresearch.de
Thu Feb 28 08:49:42 CET 2013

Hello Pablo,

> I trying to get some help to know how should I configure two web
> servers Apache with Typo3 pointing to the same database?

We have a setup with 3-6 (depending on the load) frontend TYPO3 servers
that are behind a load balancer. All of them use the same database.

They do not have any shared files, not even typo3temp or fileadmin.
Changes the database and to fileadmin/user_upload and so are done on an
editor system that gets synced to the live servers every couple of
minutes. Database sync is made with a custom extension, while the sync
of fileadmin and typo3conf/ext (for deployments) is made via rsync.

We once used to share typo3temp via NFS, but got into trouble
because it just wasn't fast enough - there were concurrent accesses to
the same temporary files, and one machine would delete the file while
the other machine just verified its existence and tried to access it.

Note that we have this effects at several million page impressions/day,
so you can probably share typo3temp. The only downside of not sharing
typo3temp is that temp files get regenerated several times, and web
service requests that get cached in typo3temp are made serveral times
now, too.

Regards/Mit freundlichen Grüßen
Christian Weiske

-= Geeking around in the name of science since 1982 =-

More information about the TYPO3-english mailing list