Solved

Scalability issues on web server

Posted on 2014-12-17
5
158 Views
Last Modified: 2014-12-27
HI,

My Question to expert is

Scalable distributed systems remain effective when there is a significant increase in the number of resources and the number of users.
Is there is any way to configure  apache web server, if no of concurrent  threads  needs to be process while  number of users might have increased.....

How to decide how many concurrent threads a server can handle ? is there is any way to do that

Thanks
0
Comment
Question by:roy_sanu
  • 3
  • 2
5 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40508636
Apache is more of a multi-threaded process, conceptually very far from distributed system.
I recently discussed web server scalability in this thread:
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Q_28569188.html

An operating system of today can handle threads at least until maxint() - like billions of threads. If you jave 40Gbe still the practical number is by order of magnitude less.

What do you mean by J2EE?
0
 

Author Comment

by:roy_sanu
ID: 40508773
We are developing an j2ee application where we are concern on  5000 concurrent users to be handled by the web server  are you telling nginx has a better handling capability then Apache ?
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 500 total points
ID: 40508873
What is your J2EE server? Maybe that is the bottleneck. e.g mod_wl will scale worse than mod_proxy.
NGINX is on par with Apache 2.4 event MPM
For 5000 users you will have just 500 connections based on my observations, so also Apache worker is an option, prefork is too small
If you have two or more apaches or nginxes upfront you get close to 100% availability at no premium SLA costs.
Since it is about user connections limit the way apache or nginx stands today you can jump into SPDY with one connection max per 60-70% of users.
0
 

Author Comment

by:roy_sanu
ID: 40509152
Our application server is jboss but I am not aware if it can handle 500 connection  at it configuration otherwise I will  drop using Apache . if you have idea let me know
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40509194
No problem with jboss... It will serve as much connections as system permits.
It does not need to serve all 500 connections. apache worker + and nginx will reuse few connections to pass all the requests.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question