Solved

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

Posted on 2004-09-02
4
1,085 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
Comment Utility
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
Comment Utility
0
 
LVL 16

Assisted Solution

by:OliWarner
OliWarner earned 200 total points
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

772 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

10 Experts available now in Live!

Get 1:1 Help Now