Does a smaller application footprint reduce the cost of PaaS? what language?

So, I created and deployed the Grails app for cloudfoundry.

And when I deal with the examination of specimens and memory, I begin to wonder;

If the size of my application is larger due to the technology that I chose to develop it, will it start to cost money sooner rather than later? Is this really supposed to be?

If so, am I better off developing an alternative language? if it is smaller (python, ruby, node.js)?

Of course, the costs should not determine which language I use, I should choose the language / structure in essence and personal preference.

But this is another question that I would very much like to know.

+4
source share
2 answers

There is rarely a trace of memory when it comes to frame selection. If we were so worried, we would use a manual assembly of assembler code with everything that is aggressively compressed into memory, like some demoscene . This is obviously not the case.

Even Rails, which tends to be quite heavy, will only use ~ 100 MB per instance. When using 512 MB instances of approximately $ 20 per month, the net cost of each instance ends at $ 5. When accounting for OS overhead.

How many hours does a programmer need to end up costing you more than just buying a system with more bandwidth? Probably a lot if your time is not free.

Remember that you can always rent your own equipment for a small fraction of the cost of using a managed provider, where systems with 64 GB of memory can have less than $ 500 / month. As a result, it barely pays even a small share of a programmer per month.

I would pay attention to how a particular developer can work with your chosen structure. Some frameworks will work better for you, allowing you to work better. Sometimes paying for additional memory is a way to compensate for the increased development and optimization time, which is usually premature until you deal with tens of thousands of server accounts per month.

+2
source

The amount of memory will certainly affect your PaaS costs. But telling you what to use is difficult without knowing more about the project. Node.js alone is great, but it is not ideal for every occasion. Python is very development friendly and has normal memory usage, but again, it all depends on what you do.

0
source

All Articles