In Jelastic / PHP, multiple clouds on a single node share file space?

I use Jelastic to host a PHP application. Editors can upload images through an application that is stored in the file system. These snapshots are saved in the document root and served in the external interface, for example, http://example.com/uploads/123/picture.jpeg

For NGinx application server, I have enabled vertical scaling, but I have a single node, i.e. horizontal scaling.

Downloading images is unreliable. When I update image # 1 through my PHP admin interface and then update another, image # 1 reverts to the old image again.

My question is: are image downloads synchronized across multiple clouds on the same node? What happens if I scale horizontally to multiple nodes?

+3
source share
2 answers

My question is: are image downloads synchronized across multiple clouds on the same node?

I think that there is a problem of terminology.

Cloudlet: A composite resource block consisting of RAM and CPU usage. 1 Cloudlet = 128 MB RAM and approx. 200 MHz The server (Jelastic refers to this as a “node”) typically uses multiple clouds; for example, it can use several GB of RAM and / or several GHz CPUs at any time.

Read more at http://kb.layershift.com/introducing-cloudlets

node () . , NGINX PHP, , 1 100 (, !), 1 , .

, ?

, . , . , .

(, ), . , 4 PHP- NGINX - , your-application.com - (, , ) images.your-application.com

, images.your-application.com HTML, .

, images.your-application.com ; , Jelastic.

images.your-application.com, - CDN (CloudFlare, Incapsula ..). images.your-application.com , CDN.

+6

, jelastic.

, jelastic script, sincronization, script , .

, , , ; .

0

All Articles