Solved

Can I use the same server for both http and https requests?

Posted on 2004-09-02
4
1,087 Views
Last Modified: 2008-01-09
Hello.

I am putting together a web-based application that is very resource-intensive.  I am using Linux/Apache/PERL etc.

I have three IP addresses at my disposal.  I was told that it would slow things down significantly to use the same server for both http and https requests.

Is this true, and if so, why?

Thanks!
0
Comment
Question by:hankknight
  • 2
4 Comments
 
LVL 16

Assisted Solution

by:OliWarner
OliWarner earned 200 total points
ID: 11963162
Yes, you can!
Https is just another server running on another port!

I've not noticed any slow down on my servers :0)
0
 
LVL 6

Assisted Solution

by:Eric
Eric earned 100 total points
ID: 11963579
0
 
LVL 16

Assisted Solution

by:OliWarner
OliWarner earned 200 total points
ID: 11963720
the comparisons dont show releveant information here... yes sure transfer rates on HTTPS are going to be slower, because they have to be encrypted, but when running a HTTPS and a HTTP server on the same machine, they're not going to affect each other's speed unless there is severly high CPU usage...

Depending on the strength of your server if you're expecting more than 150 concurrent users on each type of server (or 250/50 - somewhere around a mixed 300 people) then it might be a better idea to split the servers onto different boxes but if your server is a quad xeon with 16gigs of ram, you should have a problem until you hit ~1k users
0
 
LVL 2

Accepted Solution

by:
R-U-Bn earned 200 total points
ID: 11964481
Indeed, they wont have an effect on eachother (http<->https), but things will run a very small bit slower on a decent server (if your encryption key length is not too big!).
If you use a 4 byte encryption key length for your https for example (and the strongest protocol), you will actually "see" a slow down on your server (mostly because of next point, but on an average small business server also at the server side).  When the user has a poor machine, the requests will come slower from your users since his machine too has to encrypt packages.
In the best case (non-default, fast protocol / small key / very good server), you'll always have the problem with your users' PCs speed.

Of course, the big question is, what's an average small business server and is it important for your users (the ones with slow PCs) not to have a little frustration of (small) waiting times.

I think you'd better make a littles dynamic script (php, asp, cf, ..) of 5k, count the time from request to display (on the server itself), multiply it by your amount of users, etc.. .. to decide wether your server is strong enough.

Or just try it and transfer everything when it becomes obviously slower.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Read about why website design really matters in today's demanding market.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…
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…

920 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

15 Experts available now in Live!

Get 1:1 Help Now