Re: How to persist and query a hash lookup in memory with Perl ?



On Wed, 28 Nov 2007 18:22:34 -0800 (PST) Jack <jack_posemsky@xxxxxxxxx> wrote:

J> Hi I have a web application that needs to on an adhoc basis query a
J> hash lookup which should be persisted in memory - I have seen this
J> module "Persistent::Memory - A Persistent Class implemented using
J> Memory (RAM)" but I wanted to see if there was a much simpler approach
J> to taking a hash map and making it 'callable' while persisted in
J> memory using standard features not requiring a special Perl module
J> install..

Are you talking about sharing the data between several instances of your
web application, so whichever one handles a request can read or update
data?

Use a database. There are cases where this is not the right approach,
but it doesn't sound like it in yours.

Ted
.



Relevant Pages

  • Re: How to persist and query a hash lookup in memory with Perl ?
    ... Hi I have a web application that needs to on an adhoc basis query a ... hash lookup which should be persisted in memory - I have seen this ... Memory " but I wanted to see if there was a much simpler approach ... memory using standard features not requiring a special Perl module ...
    (comp.lang.perl.misc)
  • How to persist and query a hash lookup in memory with Perl ?
    ... Hi I have a web application that needs to on an adhoc basis query a ... hash lookup which should be persisted in memory - I have seen this ... Memory " but I wanted to see if there was a much simpler approach ... memory using standard features not requiring a special Perl module ...
    (comp.lang.perl.misc)
  • Re: Memory Management extremely poor in C# when manipulating strin
    ... No. I'm not loading the whole file into memory. ... Originally I tried reading it in in 50M chunks. ... Hash Lookup by sToy ... >> and never really gets above a 40 M footprint. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to persist and query a hash lookup in memory with Perl ?
    ... Jack wrote: ... hash lookup which should be persisted in memory - I have seen this ... Memory (RAM)" but I wanted to see if there was a much simpler approach ...
    (comp.lang.perl.misc)