Patent ID: 11860861
Assignee: ARISTA NETWORKS, INC.
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 9:
10. A method to adjust a size of a shared table that is shared between a writer and a plurality of readers, the method comprising:
receiving a first entry to be added to the shared table;
in response to receiving the first entry, remapping the shared table to add a new storage segment to the shared table;
adding the first entry to the shared table, wherein the first entry is stored in the new storage segment;
updating a shared table characteristic to indicate that the shared table has changed; and
deleting a second entry in the shared table:
determining that a number of active entries in the shared table is less than a threshold;
determining a delete segment and an active segment in the shared table;
copying an active entry from the delete segment to an entry in the active segment;
remapping the shared table to remove the delete segment; and
updating the shared table characteristics to indicate that the shared table has changed.