摘要 |
<p>The present invention relates to the field of Internet communication, and disclosed are a method and a device for storing a node. The method comprises: receiving a write operation request and a node sent by a client; storing the node in a memory and setting the update time of the node as the time of receiving the node; and eliminating the node in the memory to a file according to the update time of the node in the memory. The device comprises: a receiving module, a storing module, and an eliminating module. The present invention can reduce the frequency of loading and eliminating a node in the memory, and improve the performance of a server.</p> |