Hello everyone,
this is my first post on the forum and before I start with my questions, I want to say a big thanks to all people working on this wonderful framework!
I'm a happy ProcessWire user, running a smaller site since two years and another just recently launched.
Now I'm planning for a larger project and I'm wondering if ProcessWire is the right framework here, or where its limits are, especially regarding the database.
The project will be a community site with typical features (profiles, events, forums) supporting local arts communities.
The communities create their own content, so it will also have frequent write requests.
For the MVP there will be just two pilot cities, but on the long it should support cities worldwide.
I'm pretty sure that ProcessWire will have no issues with the MVP, but will it also serve it when it scales?
Some test I did so far with PW 3.0.98, apache 2.4.29, php 7.2.2, mysql 5.7.19 on my desktop (Windows10_64, i3-6300/16GB/NVMe):
- create a ProcessWire setup with the skyscrapers profile
-- browse pages and log mysql queries
-- run apache-bench against it
- create another ProcessWire setup with the blank profile
-- browse page and log mysql queries
-- run apache-bench against it
While the apache-bench results were actually good, I'm a bit scared about the number of mysql queries I've seen for a single page request.
On the skyscapers/about/ I got 76 requests, on the blank home still 23.
Repeating my requests, I see the same queries hitting mysql again, so there is nothing cached.
Questions:
- is the number of mysql queries usual?
- can a layer like memcached be implemented easily?
- is ProCache a solution also for frequently changing content?
- are there experiences with clustering?
Thank you very much for your time!
Christof