I think you will be hard put to match the performance of a PHP application on restart, and it may be faster in general. I've always assumed that this is due in part to the fact that the app is embedded in the web server and in part to the essential simplicity of the framework - PHP doesn't do as much for you as an industrial-strength application server, but what it does do, it does very efficiently. However, now that hardware is cheap and software development remains expensive, we can throw hardware at the performance issue and use frameworks that support rapid and relatively cheap development. It's just a cost benefit equation - over some sensible lifetime, say five years, your app will cost X to develop and maintain, the equipment to run it will cost Y and then Z per year to supply electricity and air conditioning - you pay to heat up the computers, then you pay again to cool them down. If your PHP app can run on less powerful equipment, the running costs will be lower. However, in an app of any complexity, X will be the biggest cost, so that's the one to concentrate on. Testing will be the lion's share of that cost, so you want a framework that supports effective testing.
The problem with PHP is the other side of the same coin - simplicity. Other frameworks do more for you, and It's much cheaper to write a reliable, robust and scalable application using something like Go or Java. Java is a very mature product, and so it's easy to find developers who know it. Go is quite immature in comparison but it has all sorts of advantages such as native code generation and rapid garbage collection. My guess is that you are looking at Go because you've reached the point where your PHP app is costing too much to maintain. If I'm wrong that you are in this situation, I think a lot of other people are. Five years ago I would have advised you to look at Java, but now we have Go as well. Whichever you choose, it will not be as good as PHP in some respects and I predict that speed of redeployment will be one of them. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.