james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAILBOX-12) Add a Cassandra Mailbox implementation (NoSQL)
Date Sat, 12 Jul 2014 12:37:05 GMT

    [ https://issues.apache.org/jira/browse/MAILBOX-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059769#comment-14059769
] 

Jonathan Ellis commented on MAILBOX-12:
---------------------------------------

Typically you would use a version 1 uuid ("timeuuid" in Cassandra terminology) to avoid the
need for coordination in a distributed cluster.  The Cassandra Java driver exposes this as
UUIDs.timeBased(): http://www.datastax.com/doc-source/developer/java-apidocs/com/datastax/driver/core/utils/UUIDs.html

If you need a 32 bit sequential ID (e.g. to comply with IMAP) then you should use lightweight
transactions, not Counters: http://www.datastax.com/documentation/cassandra/2.0/cassandra/dml/dml_ltwt_transaction_c.html

> Add a Cassandra Mailbox implementation (NoSQL)
> ----------------------------------------------
>
>                 Key: MAILBOX-12
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-12
>             Project: James Mailbox
>          Issue Type: New Feature
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>
> It would be cool to have a Cassandra implementation for Mailboxes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message