The invention relates to a method for accessing a
distributed object storage
system through a mode of designing a local cache in a
client under the architecture of the
distributed object storage
system. The method comprises a reading operation: when reading the
object file data of the
distributed object storage
system, firstly, searching an
object file in the local cache of the
client, if the
object file is not searched in the local cache, reading the object file from the distributed
object storage system, storing in the local cache system of the
client, if the object file is searched in the cache, not reading the object file from the distributed
object storage system; writing operation: when writing
object field data in the distributed
object storage system, firstly writing the object file data in a local cache, after finishing writing, marking that the object file is not synchronized, returning, and then writing the object file data written in the local cache in the distributed object storage system by a cache synchronous
service module. Through the invention, the number of access times to the distributed object storage system can be reduced; the I / O
throughput of accessing the
file system by the
virtual machine is improved; and the
response time of an access request is reduced.