[sheepdog] [PATCH v2 05/10] work: try to create worker threads in worker_thread_request_done

Liu Yuan namei.unix at gmail.com
Wed May 15 07:28:48 CEST 2013


On 05/14/2013 06:01 PM, Joseph Glanville wrote:
> Aye. I was thinking something more separate though.
> 
> The implementation I had in mind was something more like this:
> - Only backs up readonly objects, if you want a VDI to be protected by
> a backup create a snapshot of it before starting cluster backup
> - Cluster backup is initiated and managed by a single node (master),
> probably the node the command is issued on.
> - Master first creates a copy of the VDI tree.
> - Master instructs the sheep nodes to begin hashing any currently
> unhashed readonly objects

No, master will be the SPOF. We'll implement a client-server style
mechanism that collie will connect to any sheep he is interested to grab
all the read-only objects out of the cluster and store them in the farm.

The performance can be optimized by:
 1 multi-threading the transfer between collie and sheep
 2 support multiple connections to multiple sheep.

Collie will take care of node failures between transfer in a
multi-connection scenario.

Thanks,
Yuan



More information about the sheepdog mailing list