O Mount Point para o ZODB no Framework Zope, é equivalente a múltiplas sessões concorrentes em um SGBD Relacional.
Sessão do Zope Server:
Sessão do Zope Client:
Sessão do Zope Server:
[zeo]
monitor-address = ${ports:zeomonitor}
zeo-conf-additional =
<filestorage intra_bd>
path ${buildout:directory}/var/filestorage/intra_BD.fs
blob-dir ${buildout:blobs-dir}/blobstorage_intra
</filestorage>
<filestorage intra2_bd>
path ${buildout:directory}/var/filestorage/intra2_BD.fs
blob-dir ${buildout:blobs-dir}/blobstorage_intra2
</filestorage>
Sessão do Zope Client:
[instance]
zope-conf-additional +=
<zodb_db intra_BD>
mount-point /intra
<zeoclient>
name intra
storage intra_bd
cache-size 30MB
server ${zeo:zeo-address}
shared-blob-dir on
blob-dir ${buildout:blobs-dir}/blobstorage_intra
var ${buildout:directory}/var
</zeoclient>
</zodb_db>
<zodb_db intra2_BD>
mount-point /intra2
<zeoclient>
name intra2
storage intra2_bd
cache-size 30MB
server ${zeo:zeo-address}
shared-blob-dir on
blob-dir ${buildout:blobs-dir}/blobstorage_intra2
var ${buildout:directory}/var
</zeoclient>
</zodb_db>
Comentários