Recommended Server Configuration for FluentCommunity
FluentCommunity was built to be fast and efficient. In this document, I will discuss how FluentCmmunity was built and what you can do to keep your community fast and efficient.
Why FluentCommunity is so fast and efficient?
We built FluentCommunity with performance in mind. Every feature we develop is optimized to be fast and efficient. Here are some of the reasons:
- Build with VueJS: We use VueJS for the frontend of FluentCommunity. VueJS is a lightweight and fast JavaScript framework that helps us build fast and responsive interfaces. The whole application is actually a single page application (SPA) which means that the page doesn't reload when you navigate between different sections of the site. This makes the site feel faster and more responsive.
- Custom Database Tables: We use custom database tables to store all the community-related data. We also made sure the internal database schema was optimized for performance. View the Database Schema
- Optimized Queries: We optimized all the database queries to make sure they are fast and efficient.
- Object Caching: We use object caching for most frequently used data like different settings. This helps us reduce the number of database queries and improve performance.
- Lazy Loading: We use lazy loading for images and other assets. This helps us reduce the initial load time of the site.
- Background Job Processing: We smartly handle long jobs like send email notifications when a user post a new content or leave a comment. We use background job processing so the user don't have to wait for the job to complete.
- Super Optimized Media Handling: We resize & convert all the uploaded images to WebP format. This helps us reduce the image size and improve performance.
However, there are some server configurations that can help you get the most out of your site. The next sections will guide you through the recommended server configuration and settings for FluentCommunity.
Recommended Server Software Configuration
- PHP Version: We recommend using PHP 8.1 or higher.
- MySQL Version: MySQL version 8.0 or greater OR MariaDB version 10.5 or greater.
- Web Server: We recommend using Nginx.
- Object Cache: We recommend using Redis for object caching.
Server-Side CRON
FluentCommunity processes all the notification emails as scheduled actions. To make sure that the emails are sent on time and efficiently, you should set up a server-side CRON job for your WordPress.
Related Documentation: Setting up Server Side CRON job for WordPress
PS: If you are using xCloud.host or a similar modern hosting panel, it will be enabled by default.
Media Storage
FluentCommunity Pro allows you to store media files in Amazon S3 / Cloudflare R2. If you have an active community with lots of media files, you should definitely consider using Amazon S3 or Cloudflare R2 for media storage. As both Amazon S3 and Cloudflare R2 are great. We suggest to use Cloudflare R2 as it's more cost-effective and faster.
Recommended Server Hardware
We strongly recommend using a VPS or Cloud server and highly discourage using shared hosting for FluentCommunity. Actually you should not use shared hosting for any WordPress websites.
- CPU: 2 Cores or more
- RAM: 4GB or more
- Storage Type: NVMe SSD
Hosting Providers we Recommend
We run our own community on xCloud.host and we highly recommend them. They are fast, reliable and have great support. They also have a great pricing.
xCloud also has all the necessary features like Redis, Object Cache, Server Side CRON, etc. enabled by default. Also, you can use their maned server or connect to any external servers like DO, Hetzner, Vultr, Amazon EC2, etc.
Other Hosting Providers you may use:
- GridPane
- RunCloud
- Cloudways
Have a question regarding hosting or server optimization? Please ask in the comment.
Nice write up! Good to see the thought you guys have put into it.
Are you going to add Bunny.net as an option as CDN for us European users?
Also can you share a bit more about the security of Fluentcommunity?
Wilco Wietsma We surely need BunnyNet
Thank you! I have always used local storage for my community, but now I think that I'll switch to Cloudflare R2. Thank you again for this advice!
All good except nginx, litespeed should be used.
Thank you Shahjahan Jewel for this post. I will look into the technical stuff later :-)
I thought about moving to xCloud from Cloudways. But from what I understand xCloud doesn't offer Object Cache Pro and also there is an inability to downscale a server.
Hi Assaf Manor,
This is Shifat from xCloud team. We support object cache pro and if you have your own license we can configure it for you. Soon we will give ui so that users can enable on their own too.
And yes only vertical scaling is available in xCloud.
Is Nginx a hard requirement? I am finally testing out OLS
Gerard Godin OLS is fine. We just recommend nginx as it's simple and works.
hypothetically, how much would you charge to set one up. I might be able to resell that to some of my clients. Asking for a friend. Okay, I'm the friend.
Roger Wilkerson depends on the value you are adding to that business. Circle charges at least $99/month. So the charge depends on that business and you may provide this as a solution. and charge high as recurring.
Shahjahan Jewel no i mean if fluent set them up, then resell that.
Shahjahan Jewel feel free to shift to DM on this one.
Roger Wilkerson we don't have that service yet. But if anyone want then we can recommend 3rd party developers who can do that but's up to them how much they will charge. But it should not be more than $200-$300
Shahjahan Jewel thanks what are your thoughts on namecheap or inmotion VPS
Roger Wilkerson namecheap? BIG NO! Inmotion: Maybe or maybe not.
I would recommend a solid VPS company. Please check the server recommendation guide here: https://community.wpmanageninja.com/portal/space/community-meta/post/recommended-server-configuration-for-fluentcommunity
Shahjahan Jewel link doesn't seem to do anything. I think because it's the current topic already. Would be nice if you could quote the topic start and posts :).
Roger Wilkerson you could try out rocket.net for 1 dollar for a month. They are great guys.
Wilco W thanks for the tip.
Ok so this looks interesting, i have been testing out different servers and white label solutions for my new agency. Is this an official Fluent Product?
Shanna Middleton I am one of the board members and investor of xCloud. I am not involved with day-to-day operations but work with the board for product growth and overall roadmap.
Shahjahan Jewel cool! Thanks.
Shahjahan Jewel, what are your recommendations on the use of edge caching/CDN options such as Cloudflare or Cloudfront AND on-site caching such as WP Rocket?
I'm not sure how effective these would be due to the community being mostly dynamic content – your perspective would be really valuable on this!
Jeremy Moll Just use CloudFlare R2 and Redis Object Caching. You don't need any caching plugin as we handle that from the plugin itself. Please take a look of this related post:
https://community.wpmanageninja.com/portal/space/community-meta/post/recommended-server-configuration-for-fluentcommunity
Shahjahan Jewel please advise, for the LiteSpeed Cache caching plugin do I need to completely disable FluentCommunity caching?
Are there at least a couple details on how caching is done out of the box in FluentCommunity itself?
Artur Abakarov You may use caching but I don't think it's required. FluentCommunity is highly dynamic and render all the data over REST API so enabling caching will not make any difference. By default, we use Object Caching so out of the box it's optimized.
Shahjahan Jewel thanks for the reply!
Hello Shahjahan Jewel , I need to confirm a technical point. My Hostinger hosting plan does not allow the use of Redis. Could you clarify whether Memcached can be used instead in your environment, and whether this provides equivalent compatibility for the site’s operation?
Shahjahan Jewel Consider adding Git Docs link to the "About" section.
Shahjahan Jewel , you wrote: “Super Optimized Media Handling: We resize & convert all the uploaded images to WebP format. This helps us reduce the image size and improve performance.”
However, in my test community, when I try to upload any image (jpg, png), the original image is uploaded to the server, and it’s not converted. As a result, all uploaded images end up with a 404 error on the frontend.
Davide Dorigatti perhaps there is a setting that needs to be toggled for this?
Working on the free version to set things up.
- Hetzner CX 22 (2vcpu, 4gb ram, 40gb storage)
- Setup with Coolify with docker-compose, code below
Initially it worked as I would expect with speeds. But sometimes loading takes more than a minute everywhere. And now it seems to be solved again by itself. Any idea why that might happen?
```yml
services:
wordpress:
image: 'wordpress:latest'
volumes:
- 'wordpress-files:/var/www/html'
environment:
- SERVICE_FQDN_WORDPRESS
- WORDPRESS_DB_HOST=mariadb
- WORDPRESS_DB_USER=$SERVICE_USER_WORDPRESS
- WORDPRESS_DB_PASSWORD=$SERVICE_PASSWORD_WORDPRESS
- WORDPRESS_DB_NAME=wordpress
depends_on:
- mariadb
healthcheck:
test:
- CMD
- curl
- '-f'
- 'http://127.0.0.1'
interval: 2s
timeout: 10s
retries: 10
mariadb:
image: 'mariadb:11'
volumes:
- 'mariadb-data:/var/lib/mysql'
environment:
- MYSQL_ROOT_PASSWORD=$SERVICE_PASSWORD_ROOT
- MYSQL_DATABASE=wordpress
- MYSQL_USER=$SERVICE_USER_WORDPRESS
- MYSQL_PASSWORD=$SERVICE_PASSWORD_WORDPRESS
healthcheck:
test:
- CMD
- healthcheck.sh
- '--connect'
- '--innodb_initialized'
interval: 5s
timeout: 20s
retries: 10
```
It seems to be related to uploading images. After uploading it first shows these two icons without the image itself. Then sometime later it appears like the Featured Image.
Ronald Did you manage to solve it? I'm also having this problem.
migrating to xCloud. Thanks!
Hi M. Stevens
This is Shifat from the xCloud Hosting Team. Feel free to reach out if you need any assistance.
Thanks
If I have multiple fluent community setups, do I need one server for each one or could I put them on one server with xcloud? Shahjahan Jewel
Paul Hopkins Fluent Community installs inside of a WP site, so, multiple sites is what you need.
Gerard Godin I’m checking if one server can host multiple instances of WP each with a FC setup and the performance would be ok, or is it better to have a server for each WP instance because each FC installation needs a whole server’s resources behind it
Paul Hopkins There is nothing preventing you from installing multiple WordPress sites on the same server, each running instances of Fluent Community.
Whether or not this is practical depends on the processing power and anticipated traffic capabilities that each community site will need.
But to answer your specific question, no, it is not required for you to put each community site on a separate server.
For best performance, however, it would be appropriate to keep each community site on a separate server.
Very helpful post. Bookmarked!
My community & site is currently very small so I went with the Lite - xCloud (Premium, Managed) plan which offers CPU and RAM that are less that what is noted above. I figured I could increase when it makes sense. Does anyone know if this will cause issues?
We have a dedicated server with good CPU and Ram. We use NGINX with Redis object cache. But the community seems to be running slower than here. What configuration am I missing?
After all the technical difficulties I'm running into with my current hosting company, I'm about to switch over to xcloud after watching a review. Seems to be very nicely integrated with important things and easy to make edits rather than using other software to have access to a cPanel and such.
Liberty Thunder Would love to know how it goes!
Having trouble connecting Amazon S3, I am getting this error over and over again. I have tried doing this process 2x from scratch, as well and from both the wp-config file as well as the community portal itself. Nothing is working. Any help would be appreciated! Support also was unable to help.
I am a bit confused. You mention in the article: "We run our own community on xCloud.host and we highly recommend them.", now has anything changed?
The support could not confirm that you are using xcloud for the official FC website. I am simply asking this since I want to plan what server and more importanly what plan to use myself. It would dearly help if you could state what server from what provider you are using for the offical FC website, what plan (standard or premium) and what CPU, RAM specs.
That way I would have a baseline.
I read that FC uses much less resources than BuddyBoss so I would not need a high demanding dedicated server - so far so good but wil FC not get demanding itself on a high traffic website with lots of concurrent users? Any more than a simple/generic response would be much welcome ;)