Definitely is not usable like that. What hosting are you using ? Mine seem a little bit better. I will investigate to see if we can have some solution to improve the performances.
Ok so checking on Vultr.com doc it seem the Private Network allow Gigabits network. So It can improve the performances a lot. I will try to setup the usage of the Gigabits private network instead the public one.
I’m using dedicated servers from soyoustart (ovh).
One question, when you create a new file for example using convoy/glusterFS it writes the file simultaneously on the three servers in one job or write it on the first one and the duplication in another one ?
Ok So testing again with the rancher-agent on the private network is not better:
root@722bdf64eceb:/testvolume# dd if=/dev/zero of=test.dd bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 145.482 s, 7.4 MB/s
root@722bdf64eceb:/testvolume# dd if=/dev/zero of=test.dd bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 114.637 s, 9.4 MB/s
root@722bdf64eceb:/testvolume# dd if=/dev/zero of=test2.dd bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 115.445 s, 9.3 MB/s
root@722bdf64eceb:/testvolume# dd if=/dev/zero of=test3.dd bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 95.5288 s, 11.2 MB/s
root@722bdf64eceb:/testvolume# dd if=/dev/zero of=test3.dd bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 115.8 s, 9.3 MB/s
I think is stille using the public network. So no improvement.
Reading a little about GlusterFs, you need at the minimum a 1Gbps network between your host and better with 10Gbps.
I still waiting for the feature who allow us to specify to the container the network interface to use. So we can specify for example to all the convoy-gluster to communicate using the private network.
And possibly checking for different replication mode for Gluster. Currently the replication mode is working in synchronised only. So when you send a bit is saving first on the first server, and after on the second one and then on third one.
So currently the solution is not ready for production. And in fact, I don’t think it’s realistic to put your database on a glusterFs cluster. The better way to do is to have the Mysql data on the same host and so creating regular backup of the volume on GlusterFs. So in case of problem on your database you can restore it from GlusterFS.
For assets you can use GlusterFs + Cached solution. So you keep your asset on Gluster but don’t loose in performance.
And for the code no needs.
But with need improvement in term of performance first.
Yes but at the end I think one of the big limitation is still the bandwidth you have between your nodes in the cluster. You can have high performances solutions, if you have only a 200Mbits network interconnection it will be slow.