Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

Scalability issues on web server

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
roy_sanu
Asked:
roy_sanu
  • 3
  • 2
2 Solutions
 
gheistCommented:
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
 
roy_sanuAuthor Commented:
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
 
gheistCommented:
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
 
roy_sanuAuthor Commented:
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
 
gheistCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now