Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: Saving big blessed hashes to disk

by b888 (Beadle)
on Jul 25, 2005 at 07:50 UTC ( #477711=note: print w/replies, xml ) Need Help??

in reply to Re: Saving big blessed hashes to disk
in thread Saving big blessed hashes to disk

...20-40 requests per second from users, and each of these requests will make 10-30 requests to some db..
200-1200 for now, and will grow even more in nearest future.

Sure, mysql is a good thing. But it just can't resolve my situation (tested already).

Why to keep data in DB/files if it's stand alone application? The question for which I'm seeking answer is "how to get this data from application and store to disk/db/other memory".

Thanks anyway. Got know some new information after reading :)

  • Comment on Re^2: Saving big blessed hashes to disk

Replies are listed 'Best First'.
Re^3: Saving big blessed hashes to disk
by lwknet (Initiate) on Jul 25, 2005 at 20:23 UTC
    you said its a stand alone app, if it is your own writeen server daemon or any kind of daemonized app, it is easier to "get away" with your considered slow mysql than CGI/mod_perl rely on apache. sharing variables in perl ithreads is pretty easy, look for "threads", "Thread::shared" modules from cpan. remember variables in perl never get cleaned even after undef/delete, so, use hashes with care

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://477711]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2020-07-03 18:45 GMT
Find Nodes?
    Voting Booth?

    No recent polls found