The invention provides an adaptive allocation method and device and an adaptive replica consistency method. According to the adaptive allocation method, file heat of a file to be allocated at each time point can be calculated in real time, and the file heat degree value and a preset threshold at each time point can be judged; if the file heat degree value is larger than the threshold, the frequency, which is accessed by a user, of the file to be allocated is high, and in order to guarantee the user access efficiency, a replica strong consistency algorithm is allocated for the file to be allocated; if the file heat is smaller than the threshold, the frequency, which is accessed by the user, of the file to be allocated is low, and in order to avoid the waste of system resources, a replica eventual consistency algorithm is allocated for the file to be allocated. The aims of adaptively allocating proper replica consistency algorithms for different files, saving the network bandwidth and improving the overall performance can be fulfilled, and the problems that the system resources are wasted or the user access efficiency is low because only one replica consistency algorithm is used in all the files in the conventional distributed system are solved.