If I wanted to build an e-mail system for millions of users, how would I go about doing it in Riak?
Let's say each e-mail has the following characteristics, to, sender, header, body, when, attachments. Every user is identified by a userid, and to is not necessarily the same thing as userid. In addition to the above characteristics, the user would be allowed to place tags and flags on various e-mails in a user interface. In Cassandra could model this in two ways, one using super columns, which I've been advised against, and another using the order preserving partitioner where the key is made up something like: userid:convoid:when. Then I can get a range to bring all of those messages up at one time. The idea of a convoid is similar to gmails conversation grouping of emails. With distributed key structure of riak, I'm not sure how to pull this off. Since the keys are all consistently hashed, the users information never be adjacent to each other and pulling up a group of messages will result in lots of seeks. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Matthew Pflueger Sent: Friday, April 23, 2010 11:19 AM To: Ryan Tilder Cc: [email protected] Subject: Re: Building rel on Debian 2.6.26 Cloning the riak repo and building worked fine. However, not being able to build from the tarball is a little disconcerting... --Matthew On Fri, Apr 23, 2010 at 12:13, Matthew Pflueger <[email protected]> wrote: > Thanks for the tip. Unfortunately, disabling doesn't seem to work... > I disabled it in my ~/.hgrc and in ebloom's .hg/hgrc to no avail. I > downloaded riak-0.10.tar.gz and installed so no .hg directory. Any > other suggestions? > > --Matthew > > > > On Fri, Apr 23, 2010 at 11:56, Ryan Tilder <[email protected]> wrote: >> Sounds like you have Mercurial's inotify extension enabled. hg showconfig >> should show it. Workaround for now would be to following the directions in >> the below link for disabling the extension in the riak repo. In >> riak/.hg/hgrc: >> [extensions] >> inotify = ! >> http://mercurial.selenic.com/wiki/UsingExtensions#Enabling_an_extension >> >> --Ryan >> >> On Fri, Apr 23, 2010 at 8:48 AM, Matthew Pflueger >> <[email protected]> wrote: >>> >>> I downloaded built Erlang successfully (minus jinterface, odbc, and >>> wx) then downloaded riak-0.10. I did a make all and everything built >>> fine but then doing a make rel I get the following: >>> >>> ==> rel (generate) >>> ERROR: Unable to generate spec: read file info >>> /home/mpflueger/riak/rel/../deps/ebloom/.hg/inotify.sock failed >>> >>> Has anybody else run into this? Could this be related to my mercurial >>> install (I'm using 1.51 downloaded and installed normally using >>> python2.5). >>> >>> --Matthew >>> >>> _______________________________________________ >>> riak-users mailing list >>> [email protected] >>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> >> > _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
