Back in 2016, we started offering daDup; daDup; our own S3-compatible storage. In addition to being accessible via the Amazon S3 protocol, we also deploy it widely for backups of our customers' TCC’s .

SSH/SFTP-compatible
Last month we received a request to make daDup also suitable for rsyncing backups, via SSH. A common backup method for Unix users.
Since we had already extended daDup earlier this year with CIFS/Samba (so you can connect a very large disk to your machine via Windows), this was not a very big challenge. Within a day or two we made sure you could log into daDup in a chroot using SSH, Key-authentication. You get a console nicely with SSH and SFTP is also possible.
Uh-oh, performance
And that's where a problem presented itself. Because daDup is a bulk storage service where the focus is not on IOPS but on lots of storage for little money, SSH access performance was way down.
A file actually consists of two parts: the data in the file and the data about the file; metadata. In Ceph (which is daDup) you store those two parts separately. The data is obviously the largest part when it comes to size, but the metadata is the most accessed and modified. When rsyncing a backup, metadata is accessed a lot, but only when a file is new or different is the data actually modified.
Because daDup consisted of only spinning disks, they did become very crowded with small operations; palpable on the entire daDup cluster.
Enter SSD
Fortunately, the servers that make up daDup can also handle some SSDs and we can ask Ceph to treat the aforementioned metadata differently than the real data. Yesterday we put the SSDs in the cluster and started migrating data....
pgs: 55844965/114922938 objects misplaced (48.593%)
recovery: 808MiB/s, 294objects/s
So at about 300 objects per second, this operation is going to take some time....
Just a little pain, then
As long as daDup is busy moving data, the servers and disks will have to work extra hard. But in the end, everyone will be happy.
Also testing daDup via S3/CIFS/SSH/SFTP? Get an account and go hard!
