Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: database pooling

by tinman (Curate)
on Apr 25, 2001 at 01:03 UTC ( #75267=note: print w/ replies, xml ) Need Help??


in reply to database pooling

My take on this:

You didn't mention if this was a write intensive or read intensive clustered application.. For a read intensive cluster app (such as a search engine, maybe), small localized dbs might be just the trick..

I've done a similar thing, although that was because the client couldn't afford the Oracle licensing fees for a big machine.. put in small local mysql databases on each cluster machine, and then updated through cron every night..

Another somewhat unrelated solution to this is the venerable Squid, working in reverse proxy (httpd acceleration) mode.. again, in a read-intensive environment, serving cached content is far far more effective than multiple servers..

For a write intensive environment though, I might think about partitioning the tables after a careful analysis of the write patterns.. ie: the table x and table y get most of the writes, so put them on separate HDs, or even separate DB servers... My opinion though, NFS is probably not such a good idea if you really want good write performance.. haven't really seen stunningly fast NFS drives (of course, I'm sure I haven't seen really good NFS configs, so this hardly counts)
HTH


Comment on Re: database pooling

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-08-22 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (168 votes), past polls