performance - How to explain at your boss that code/resources optimization is important? -


Ah, every time it is so frustrating ..

In our hosting company, we have a dedicated server And every time I have to write a new app (or add to a pre-existing app), I lose some time to optimize the code for many behaviors (to reduce the DB query, to optimize the DB structure, Bandwish etc.) depending on what the app should do. Of course, it is not that I write bad codes and want to recreate it, it can be found only after the completion of the project, all the things that are better can be done.

And every, if my boss caught me to do this then he would say, 'Your time is wasting! If the app needs more resources, then we buy more RAM, more CPU or more bandwidth! '.

Optimization is still important, and what is the best way to explain it is so easy or is it automatically upgrading (production!) Server hardware?

Edit : Not just talking about database optimization, but every aspect of an app

The next time you move / renovate a server, and each minute of the protocol is generated from the work, keep detailed notes and time sheets (after things in the week Inclusive) after that you will have solid evidence that upgrades are expensive, and invest in optimization The delay helps.

In the current situation, you can do something "with benchmarks and figures" without my adaptation, the server will be at 90% capacity with the X number of users. With my customization, before we get a new machine, we can complete the Wi-user further. "

On the other hand, the line between optimization and more customization is slim while the written code waste is not a good craft skill and should be human rights, RAM and disk space < Em> are these days very cheap adaptation also makes the code more complex, and difficult for others to maintain when you control your hardware, code optimization can not always be the top goalLand.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -