You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The messages we send are pretty big and sometimes they are larger than they need to be. For example, KILL_SELF messages don't need to carry an entire node with them, nor a srcVertexId. Same goes for our Node class-- we often write len=0 for edges that don't exist.
One solution is to use either boolean values or a flag representing what data values are present in the stream. We write the header to the stream. When we read, we only call the readFields functions on the values that are actually present.
The text was updated successfully, but these errors were encountered:
@anbangx
The messages we send are pretty big and sometimes they are larger than they need to be. For example, KILL_SELF messages don't need to carry an entire node with them, nor a srcVertexId. Same goes for our Node class-- we often write len=0 for edges that don't exist.
One solution is to use either boolean values or a flag representing what data values are present in the stream. We write the header to the stream. When we read, we only call the readFields functions on the values that are actually present.
The text was updated successfully, but these errors were encountered: