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.

link|improve this question
1  
I think this question would be much better suited to serverfault.com as it isn't really a programming-related question. – Saladin Akara Feb 2 '11 at 6:16
@Saladin: Thanks. At the risk of sounding ignorant, I did want to post it there but I generally find the community at SO to be able to answer this well. Thanks, will post it to ServerFault. – kopos Feb 2 '11 at 7:18
Found this link on ServerFault: serverfault.com/questions/179040/… – kopos Feb 2 '11 at 7:21
feedback

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

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

2 Answers

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".

link|improve this answer
feedback

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.

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

Your Answer

 
or
required, but never shown

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