Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: OT: Scalable web application architecture

by weierophinney (Pilgrim)
on Dec 07, 2005 at 14:43 UTC ( [id://514848]=note: print w/replies, xml ) Need Help??


in reply to OT: Scalable web application architecture

You don't say one way or the other, but are you doing all operations on a single database on a single server?

If so, you may want to consider using mysql's replication features. Set up a few slave databases, and perform all read-only operations (searches) on those, while writing to one master database (write operations then get pushed to all slaves). This will give you more available database connections, and also spread the load out between several machines. You can use round-robin DNS to determine what DB server to utilize at any given time.

I'd look at your indexing, as well. If you are having troubles with searches timing out, most likely you are not indexing the right criteria.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-03-19 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found