<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi All,<div>I make a caching strategy, now I want to add a tag in data packet, the mechanism is following:</div><div>Before a node send a data packet from its CS, it will add a tag in the packet, the value of tag is computed from the position of the data in CS. For example, in Lfu policy, if there are 10 data in CS, a data with its frequency ranked third.Before the node send this packet,it will add a tag the </div><div>value of which is 3/10.</div><div>Now I wonder how to get the position of a data in CS and how to create this tag and add the value into the tag.</div><div>Would you please give me some hint,thank you in advance.</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>