Login  Register

Re: Users - Handling increased traffic

Posted by David E. Jones on Feb 01, 2006; 2:37am
URL: http://ofbiz.116.s1.nabble.com/Users-Minilang-Service-doesn-t-work-tp137121p137129.html


If everything is "tuned" properly the server should scale linearly in  
the range it is tuned for. In other words, no matter the load with  
twice the traffic the response times should double and no more.

In any setup there will be an effective traffic range and at the top  
end of that range the response times will no longer scale linearly.  
That is the point you want to focus on, ie when the load ceases to  
scale linearly.

On a live server you can use the ServerHitBin to identify these  
points by looking at the traffic versus response time for different  
periods.

The trick with this is to see which resource is not scaling linearly.  
If it is scaling linearly throughout, you need more hardware to  
handle the load. If it is scaling memory until it runs out of memory,  
you can just add more memory to the server (this is a common non-
linear scaling point because hard-disk as memory is a LOT slower than  
RAM). You can watch memory, processor and disk resources with various  
tools (for Contegix servers they remotely monitor all of this and  
send us alarm notices if/when something happens, and that's a good  
way to go).

Beyond this it's a little hard to say without looking closer. There  
is some general info in the Basic Production Setup Guide, and some  
helpful info in the Configuration, Deployment, and Maintenance  
outline (both of these are linked to from the Docs & Books page on  
the ofbiz.org site).

Best of luck, and nice to hear from you again Sterling.

-David


On Jan 31, 2006, at 5:39 PM, Sterling Okura wrote:

> A client of ours is receiving increased traffic.  We upgraded to a  
> dual P4 server and it helped for a bit, but it’s starting to get  
> bogged down during occasional high-traffic periods.
>
>
>
> I’ve followed the optimization tips in the Wiki, but still need to  
> make sure that the code modifications we made are using the cache  
> efficiently.
>
>
>
> Right now one server is handling both application and db.  I’m  
> thinking of breaking out db to a different server.
>
>
>
> Just wondering if other OFBiz admins had any info they’d like to  
> share on their experiences with handling increased traffic.  I was  
> also wondering about how many simultaneous visitors can your server  
> handle at a time.  At peak moments we seem to be able to handle an  
> average of 1 completed order every minute over a span of several  
> hours (a few hundred orders in an afternoon).  Any more traffic  
> than that, and the site slows down so much that the average # of  
> completed orders drops significantly.
>
>
>
> Any feedback would be greatly appreciated.
>
>
>
> Thank you!
>
> sterling
>
>
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users