Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Scalability issues on web server

Posted on 2014-12-17
5
Medium Priority
?
182 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 2000 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 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

971 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