Solved

Scalability issues on web server

Posted on 2014-12-17
5
152 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 61

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 61

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 61

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now