Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: OT: Scalable web application architecture

by weierophinney (Pilgrim)
on Dec 07, 2005 at 14:43 UTC ( #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.

  • Comment on Re: OT: Scalable web application architecture

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-11-26 10:30 GMT
Find Nodes?
    Voting Booth?

    No recent polls found