[erlang-questions] Behaviour of queue

Chandru chandrashekhar.mullaparthi@REDACTED
Fri Sep 10 11:13:10 CEST 2010

On 9 September 2010 14:03, Fredrik Andersson <sedrik@REDACTED> wrote:

> Hi all
> I have a question concerning the behaviour of the erlang queue module.
> Does it store everything in memory or will it fallback to storing
> things on disk if memory is running short? If it does not I need to
> implement a layer on top of queue that will fallback to store things
> on disk if needed.
You can simulate a queue using an ordered_set mnesia table with the value of
now() as the primary key. That might save you writing an extra layer on top.


More information about the erlang-questions mailing list