A
Andrei Canta
complete
Adrian Pop
I'd like to have an unique point of control (eassypanel) in an isolated environment which handles 2 or more servers.
A
Andrei Canta
What are your primary goals for clustering? Do you want to scale apps or databases?
Why would you scale horizontally (multiple servers) instead of vertically (single bigger server)?
I just want to open this for discussion to understand your needs better.
Kévin De Sousa
Andrei Canta: With that, perhaps we can configure to have some apps on node with more cpu than ram, other apps on node with SSD nvme and not hdd, database on node with more RAM and better Disk
Jim Dela cruz
Andrei Canta: database and app separation per node
database on node 1 and app on node 2.
other side is for better scaling so that reduce downtime of the application.
Rubén Robles (d8vjork)
Andrei Canta: I think horizontally scaled services are great to achieve multiple purposes in 1 shot, which are:
- Data replication between datacenters located in different regions: on DB instances
- Faster responses: As your servers are in multiple regions, although this can be somehow covered by using Cloudflare
- Service resiliency: So whenever a region is down, it can still be accessed through the load balancer (which can perfectly be that Traefik used in Easypanel)
I just wrote these, but there could be more, only cons I see here is in case your company needs to complaint about where the data is processed/stored. Which some companies where I worked it was a real thing (therefore we went to vertical scale / serverless).
N
Nilan Saha
Andrei Canta: I think this is so important for having more resiliency. Hosting everything on one server is risky. I would rather have 2 replicas across two different servers
p
puc
Andrei Canta: Swarm now handles horizontal scaling pretty well. I dont know if a shift to k8s would be worth it at this stage, but if EP was setup so that Swarm could communicate with Portainer Edge clients, or via the Portainer Agent, this might achieve a large portion of the request.