If you are on a giga network, try an Alteon AceSwitch, or one of the Foundry products or a Cisco Local Director for load balancing between multiple Zopes. If all of your data is stored in a SQL database, and just dtml templates and things are stored in Zope, you can just run multiple copies of the same site to a single, large scale database server. If you are storing dynamically generated information in the ZODB, you are out of luck. Try Zeo instead (it costs, but I am sure you get your money's worth.). --sam Martijn Pieters wrote:
-----Original Message----- From: - [mailto:kedai@kedai.com.my] Sent: donderdag 17 februari 2000 8:07 To: zope@zope.org Subject: [Zope] zope on shared disk
hi all, what's the pros and cons of loadin zope of a shared disk aka thru nfs or samba? this on a LAN with Giga ether or fast ether. reasons for this - so that we can share database and have many frontends serving request. is this even possible?
I don't know about Samba, but Jim Fulton warns against _accessing_ Data.fs over NFS. It is a surefire way of corrupting it.
About sharing the Data.fs between multiple Zope processes: Don't do it, it doesn't work. The Data.fs file is locked by the Zope process using it for a reason.
For load balancing like this yuo will have to go with either ZEO, or some form of XML-RPC based load balancing (ie. write your own).
-- Martijn Pieters, Software Engineer | Digital Creations http://www.digicool.com | Creators of Zope http://www.zope.org | mailto:mj@digicool.com ICQ: 4532236 | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 -------------------------------------------
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- -------------------------- Sam Gendler CTO, Impossible, Inc. 1222 State St. Suite 250 Santa Barbara, CA. 93101 p: 805-560-0508 f: 805-560-0608 c: 805-689-1191 e: sgendler@impossible.com