On Mon, Jul 6, 2015 at 2:49 PM, Christopher Lozinski
<
lozi...@specialtyjobmarkets.com> wrote:
> I would be particularly interested in comparisons of ZODB and MongoDB.
> Jim made some comments earlier on this mailing list. He said
> transactions cannot span two Mongo documents. Can I have two
> simultaneous transactions on different branches of a Mongo Document? I
> suspect not. Any experts out there?
I am not an expert now, but I did study MongoDB a lot until a couple
of years ago -- then I lost interest.
MongoDB locking at the time was *very* coarse. Essentially only one
the master machine in a cluster could accept writes, and it locked the
entire collection for the duration of the write, so two different
transacions on different parts of the same document was completely out
of question ;-). Things may have improved, of course.
> I am so impressed by ZODB. I wonder why more people are not using it?
I think the ZODB is amazing, built a company around Zope and ZODB in
Brazil in the late 1990's. We closed around 2003 after the first Web
bubble burst.
The major issue with ZODB is the same with all object databases: the
data becomes very closely tied to the application that created it.
However, for companies, data is more valuable than any specific
application that uses it, so this coupling becomes a huge problem over
time.
I believe document databases like MongoDB and CouchDB are an excellent
alternative to relational databases and to ZODB in the content
management niche where ZODB excells. A document database is more
suitable to store real documents (no kidding!) than a RDBMS, but it
enables multiple applications (or multiple generations of the same
application) to access the data.
Best,
Luciano
> By talking about it, hopefully we can bring more people to this community.
>
> Regards
> Chris
>
> --
> You received this message because you are subscribed to the Google Groups "zodb" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
zodb+uns...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Luciano Ramalho
| Author of Fluent Python (O'Reilly, 2015)
|
http://shop.oreilly.com/product/0636920032519.do
| Professor em:
http://python.pro.br
| Twitter: @ramalhoorg