Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a web app on the LAMP architecture. Right now all the servers are installed from the binaries available in the platform repositories (apt / yum). However, I think it would be best to install the servers by building them from the source and then installing them.

Will the second method have any significant advantages over the former? Disadvantages that I can think of is the manual maintenance.

share|improve this question

migrated from stackoverflow.com Feb 2 '11 at 11:29

This question came from our site for professional and enthusiast programmers.

    
Found this link on ServerFault: serverfault.com/questions/179040/… –  kopos Feb 2 '11 at 7:21

2 Answers 2

up vote 1 down vote accepted

For e. g. http://dev.mysql.com/doc/refman/5.0/en/compile-and-link-options.html to quote:

  • If you link dynamically (without -static), the result is 13% slower on Linux. Note that you still can use a dynamically linked MySQL library for your client applications. It is the server that is most critical for performance.

So, in general answer is "there will".

share|improve this answer

The advantages should be minimum unless you're hitting a specific situation where compiler optimizations would help you. My personal opinion is that it's not worth the extra work and, if you're on a support contract for you base OS, it would invalidate it.

As always, I suggest you to carefully benchmark your compiled version and the vanilla package in a controlled environment.

share|improve this answer
    
But what if the the server is the lifeline of the application. –  kopos Feb 3 '11 at 11:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.