CPC H04L 47/12 (2013.01) [H04L 47/43 (2022.05)] | 20 Claims |
1. A WAN (wide area network) optimization method for optimizing traffic flows through a WAN that connects a plurality of sites, each of which has at least one router, the method comprising:
in a kernel space of a first router located at a first site:
from a second router located at a second site, receiving a file in an optimized first data stream originating from a source device at the second site and destined to a destination device at the first site, the file comprising a set of one or more compressed segments that are not yet stored in a database of the first router;
copying the set of one or more compressed segments to a shared memory that is used with a decompression program operating in a user space of the first router;
for each particular compressed segment in the set of one or more compressed segments:
receiving a notification that a decompressed segment obtained by the decompression program by decompressing the particular compressed segment has been written to a disk storage of the first router, the notification comprising a block address corresponding to a location of the decompressed segment in the disk storage; and
based on the notification, updating a cache of the first router with an entry that maps an identifier of the decompressed segment to the block address of the decompressed segment.
|