The invention provides a real-
time data read-write method, device and
system and an NFS
server. The method includes the steps that when data is written, an NFS
server places data needing to be written in a preset caching space, determines the pressure information change trend of a
distributed file system, adjusts the capacity of the preset caching space according to the change trend and adjusts the data writing speed of the
distributed file system; when the data is read, the NFS
server judges whether data needing to be read exists in the preset caching space or not, if yes, the data, needing to be read, in the preset caching space is returned to an NFS
client side, if not, the pressure information change trend of the
distributed file system is determined, the capacity of the preset caching space is adjusted according to the change trend, and the speed of reading the data to the distributed
file system is adjusted. While interface compatibility and stability of the distributed
file system are ensured, the NFS server adjusts a caching mechanism and data refreshing speed in real time, and therefore the distributed
file system is adaptive to all different application scenes.