Welcome to WebmasterWorld Guest from 34.236.216.93

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Apache web server will run faster on SSD drives?

     
11:57 pm on Aug 6, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Dec 19, 2004
posts:993
votes: 14


Hi, I have a magnetic hard drive type used with my website that the provider provisions.

Is using a SSD hard drive better & faster than the magnetic hard drive for this Apache web server? Please advise. Thanks!
8:41 am on Aug 7, 2017 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
posts:10477
votes: 1099


From a technical point, yes. From a reality point it might not be best choice if it is read AND write. SSD has improved greatly, and is wonderful as a READ product, but I, personally, would not commit my SITE to READ and WRITE (if ecommerce, there will be a lot of that!).

Spinning rust is pretty quick these days as the latency is not solely related to the origination point (the server), but the access speed of the network in general and the entrance point of the user in particular.
5:33 pm on Aug 7, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Dec 19, 2004
posts:993
votes: 14


Yeah most of my website is read only.. so it's ok.. I might switch to SSD shortly. Thanks!
5:51 am on Aug 8, 2017 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
posts:10477
votes: 1099


If SPEED is the requirement, skip the SSD and load apache in a RAMDRIVE partition and run from there.
5:46 pm on Aug 8, 2017 (gmt 0)

Moderator from US 

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 10, 2005
posts:5848
votes: 198


Yeah most of my website is read only.. so it's ok.
Um, are your log files kept on the same drive?
7:03 pm on Aug 8, 2017 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:12913
votes: 893


The OP is hosting at Cloudfare and NOT running his own server.
4:36 am on Aug 9, 2017 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
posts:10477
votes: 1099


While that revelation does kill the immediate thread, the rest of us might want to continue on best practices for local host or owned servers as regards to the use of SSD v HD for throughput. As indicated earlier, I'm leery of using SSD for main operations simply because I've had three SSDs fail in that performance requirement. Yet there is no doubt that SSD has the better spec for READ operations.

Having the server loaded in RAMDRIVE with writes to spinning rust (log files primarily) is a good balance for speed v reliability. I am interested in comments on how others have addressed this particular aspect of content delivery.

Once one embraces cloud hosting, these questions rarely apply as you get what you get and few modifications are possible.
11:31 pm on Aug 10, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Dec 19, 2004
posts:993
votes: 14


Yes just to clarify I use cloudflare only for CDN/FW purposes for now. I have my dedicated linux server running apache etc.

So yes, I do have logs being written to the same dedicated server. Could it be a problem for SSD drive?
4:22 am on Aug 11, 2017 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
posts:10477
votes: 1099


SSD has improved tremendously in the last few years. One might say enormously, and is one expends the bucks for only the best that kind of performance is expected, but there is a finite side to write operations for SSD (measured in years of operation for the most part) that still falls short of spinning rust.

Query: is your system SSD only, or do you have HD (usually for extended storage) as well? Write your logs there as this will not impact the user experience at all.

How *I* view SSD for continual WRITE operations should be taken as a grain of salt. Many find no problems, and I'm happy for them. Just have been bit hard by three failures in recent years and that half micro-second speed advantage over a 7200rpm multi-tb drive just isn't worth it.