Solved

Scalability issues on web server

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This video teaches users how to migrate an existing Wordpress website to a new domain.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

911 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

27 Experts available now in Live!

Get 1:1 Help Now