[erlang-questions] Amazon S3 backend for Mnesia
Roberto Saccon
rsaccon@REDACTED
Mon Jun 4 16:04:49 CEST 2007
Interesting. A while ago I wrote a very, very simple S3 Erlang adapter (no
transactions, no locking). Is your work part of an open source project ?
regards
On 6/4/07, Joel Reymont <joelr1@REDACTED> wrote:
>
>
> On Jun 4, 2007, at 1:04 PM, Ulf Wiger (TN/EAB) wrote:
>
> > But you basically only need to do this if it's
> > important for you to amortize the updates. It might
> > be important in other cases _not to_, e.g. if you
> > have other readers of the custom backend. In that case,
> > data wouldn't be visible after a commit, but only after
> > the next log dump, which might result in inconsistencies
> > at the application level.
>
> I can now reveal that I'm working on a Amazon S3 backend for Mnesia.
> The goal is to add transactions and locking, as well as make the data
> just written to S3 available right away.
>
> S3 provides neither transactions nor locking. Data written to S3 may
> become available for reading at some point in the future. S3 is
> conceptually a bunch of ets tables, at least I think it can be viewed
> this way.
>
> I'm looking to have a bunch of Mnesia nodes up and a bunch of
> s3_copies tables on each.
>
> Whenever data is written to one of the Mnesia nodes, I'm looking to
> have _that_ node commit the data to S3 and replicate it to other
> nodes as Mnesia does normally. I would also keep a cache of most
> recently written data in a regular Mnesia table.
>
> I understand that Synapse added a bdb_copies type of table and found
> this hard to maintain. Would rdbms be easier to maintain in my scenario?
>
> Thanks, Joel
>
> --
> http://topdog.cc - EasyLanguage to C# translator
> http://wagerlabs.com - Blog
>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
--
Roberto Saccon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070604/e65aad9f/attachment.htm>
More information about the erlang-questions
mailing list