Giter VIP home page Giter VIP logo

Comments (4)

rafasashi avatar rafasashi commented on July 30, 2024 3

Have you ever tried this arch in a very trafficked site? EFS is a performance killer, you really should not use it for a Wordpress site

I agree, I have just tried and it is simply not possible to run .php files from EFS, too slow.

Instead, I am thinking about using CodePipeline with Github webhooks to push code changes across multiple instances.

I am also planing to keep EFS to share the cache folder only.

Images and media are offloaded to S3 and of course the database is in RDS.

By the way I have tried Mysql Aurora and I moved back to Mysql because Aurora is too expensive and doesn't speed up that much the loading time of the page (at least not from a human eye).

After that I hope I can take full advantage of Elastic Load Balancing, until then it remains limited....

I will try to give feedback about this stack, in the meantime you are most welcome to tell me what you think about it.

from aws-refarch-wordpress.

rafasashi avatar rafasashi commented on July 30, 2024 3

Hello @ecout we manage multiple blogs from AWS. We have ELB with 3 instances EC2. All the images and media are stored in S3. The script and plugins are stored in each EC2 (A,B and C) and we use EFS as a pseudo versioning system to deploy new plugins and upgrades. Only one instance (A) can interact with the plugins and from our modified plugin panel we have a button to push updated versions of the plugin to B and C but it can aso be done automatically, this depend on how you will customize the plugin system.

Basically (A) will copy the plugin to the EFS partition shared between all instances and (B) and (C) will update the plugin from the EFS partition. You can't run script from EFS and even if some people have shown that it is possible they use a lot of caching mechanism (Varnish, Memcache...) which indirectly means that they are not using EFS as a resource because a version of the script is cached in each instance at the end of the line.

from aws-refarch-wordpress.

tedsecretsource avatar tedsecretsource commented on July 30, 2024

@Derevko Do you happen to have any data to support this observation? It's not that I don't believe you, but if I am going to make this argument to my clients, for example, they are going to want to see statistics. Also, I would be very interested in learning what Performance and Throughput modes you are using.

I'm asking because we're about to embark on a project that might use this exact architecture and we would love to be able to plan for these kinds of issues should they arise.

from aws-refarch-wordpress.

ecout avatar ecout commented on July 30, 2024

@[tedsecretsource] Did you find out eventually? I mean it seems there wouldn't be any other option to perform a load test...which is expensive unless you're already at scale.
In other way's you can run a basic blog from s3 but wordpress was designed for Internet before the cloud.
Anyone here who managed wordpress in a data center at scale?

from aws-refarch-wordpress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.