[erlang-questions] Fw: Berkely DB was: MySQL cluster

Valentin Micic <>
Sat Oct 21 13:05:42 CEST 2006


Could anyone indicate what are main issues with Berkeley DB, assuming that 
one does not require SQL nor flexible data-model?
 Thanks in advance.
 
 V.

> ----- Original Message ----- 
> From: "Roberto Saccon" <>
> To: "Christian S" <>
> Cc: <>
> Sent: Friday, October 20, 2006 7:18 PM
> Subject: Re: [erlang-questions] MySQL cluster
> 
> 
>>I had the same question and I am currently investigating in using
>> mnesia just as cache for a clustered web application running on amazon
>> EC2 and the real storage is on amazon S3 (which is kind of  Berkley DB
>> webservice) and capable to store any number of TBs ...
>>
>> On 10/20/06, Christian S <> wrote:
>>> On 10/20/06, Dmitrii Dimandt <> wrote:
>>> > What's the optimum maximum size for Mnesia then? A bout a couple of
>>> > gigabytes? Or more?
>>>
>>> What should such a number for maximum size try to optimize?
>>>
>>> A note about picking database after storage size needs:
>>>
>>> Using mnesia instead of an external database always have advantages in
>>> terms of "impedance matching" (Mnesia has erlang's datatypes by virtue
>>> of being erlang and you can query mnesia faster than anything
>>> connected to through tcp). This often makes it worthwile to hack
>>> around mnesia to store some data outside of it.
>>>
>>> One would easily reach a storage size of 1Tb for a site like flickr.
>>> Does that mean mnesia wouldnt be sufficient for building such a site?
>>> Or perhaps it could be a good idea to build an application that
>>> replicates images across nodes outside of mnesia, and have mnesia
>>> store small image ids to reference them.
>>> _______________________________________________
>>> erlang-questions mailing list
>>> 
>>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>>
>>
>>
>> -- 
>> Roberto Saccon
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://www.erlang.org/mailman/listinfo/erlang-questions 
>



More information about the erlang-questions mailing list