[erlang-questions] Partial disk based and partial memory based terms
Erik Søe Sørensen
eriksoe@REDACTED
Tue Aug 7 09:16:17 CEST 2012
Sounds like what you need is a queueing system. Have you considered using
e.g. RabbitMQ? It provides persistent queues.
Den 06/08/2012 11.30 skrev "Maruthavanan Subbarayan" <
maruthavanan_s@REDACTED>:
> Hi,
>
> I am building an application that would receive requests on bulk and
> process at back-end. I wrote an code where requested would be inserted
> into mnesia and the would be processed later.But ended up in a situation
> where started receiving enormous requests and processing of the requests
> took more time. So gradually, I faced couple of times where erlang got
> crashed due to insufficient memory allocation on RAM. There were around
> 300K records while it got crashed.
>
> Is there any workaround where I can keep only 10-20% of the total records
> in RAM and remaining in disk at any point of time. I have Gigs of disk
> space and only Megs of RAM. I am looking this as an alternative because It
> would also give memory for other process in the machine without occupying
> it unnecessarily.
>
> Thanks in advance,
> Marutha
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120807/62e585bc/attachment.htm>
More information about the erlang-questions
mailing list