Solved

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

Posted on 2004-09-02
4
1,088 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
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…

809 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