Person re-identification(Re-ID) has been a hot research issues in the field of computer vision. In recent years, with the maturity of the theory, a large number of excellent methods have been proposed. However,Large scale data sets and huge networks make training a time-consuming process. At the same time, the parameters and their values generated during the training process also take up a lot of computer resources.Therefore, we apply distributed cloud computing method to perform person re-identification task. Using distributed data storage method, pedestrian data sets and parameters are stored in cloud nodes.In order to speed up operational efficiency and increase fault tolerance, we add data redundancy mechanism to copy and store data blocks to different nodes,and proposed a hash loop optimization algorithm to optimize the data distribution process. Moreover,we assign different layers of the Re-ID network to different nodes to complete the training in the way of model parallelism. By comparing and analyzing the accuracy and operation speed of the distributed model on the video-based data set MARS, the results show that our distributed model has a faster training speed.