Re: ZODB storage for cassandra
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <CAPDm-FgW8C=PyLaeJRk=HV37r81yt50TX8ag2GkNQWYXb=jLwQ@mail.gmail.com> |
On Mon, May 15, 2017 at 1:43 AM, Sanjay Rao <[email protected]> wrote: > Hi, > > Is there any ZODB storage available for Cassandra ? > No, and I hope there never is. Cassandra provides linear scaling for writes. > Writing to /dev/null is even faster and scales very well horizontally. Databases like Cassandra are non-transactional. Among these databases, Cassandra provides a weaker level of consistency. See https://wiki.apache.org/cassandra/ArchitectureOverview. ZODB is transactional and any storage implementation needs to maintain transactional semantics. NoSQL databases like Cassandra are very good for collecting raw data which occurs as a result of discrete events and is never modified (because then it wouldn't be raw). For this kind of data, there is no need for consistency between different data. All that matters is durability. This is an important application and it is, IMO, a mistake to use a transactional database for this application (unless you're actually collecting so little data that write scalability doesn't matter). Jim -- Jim Fulton http://jimfulton.info -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.