T
T
Think With Your Head2016-11-05 13:41:29
System administration
Think With Your Head, 2016-11-05 13:41:29

How to develop (test) backend via shared hosting and ssh?

Hello.
The question may be slightly confusing and incomplete, so I will explain:
It so happened that I had to develop the backend of a web project on a budget laptop.
I installed wamp, and realized that this is not realistic - on a localhost (laptop) pages are loaded in 10-15 seconds, while on my budget shared hosting the same operations take 2-3 seconds maximum, despite the fact that the laptop and The browser is the same in both cases.
It is understandable, my laptop has such hardware: pentium 4 cores at 1.6 GHz, 4 gigabytes of RAM, mediocre hdd with a speed of 5600, windows 10, which is not buzzing. While the hosting uses dell, intel core and ssd servers, Linux and all sorts of necessary server optimizations.
And then I thought about installing some watcher like gulp-sftp, so that changes in the code on the localhost are automatically deployed to the server and the page is automatically refreshed, that is, in this way, distribute the load (roughly speaking, load the backend from a more powerful computer, and not laptop).
1) Is this idea a good idea, and if so, how is it correct in terms of the resources of my laptop to implement it? I think a node with a gallop will also be stupid on such hardware.
2) Or, instead of option 1, does it make sense to switch from Windows to Linux and do all the necessary server optimizations? As it has already become clear, I am not strong in administration, but I am ready to improve my skills if it helps. Will I gain much in performance on such hardware?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Regretful, 2016-11-05
@regretful

I recommend that you first install ubuntu on a virtual machine and try to configure LEMP. And then if everything suits already put it as a normal system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question