Collations are broadcast with the command broadcastcollation. It generates collations of a specified size(through adjusting the size of Blobs field). Currently, a node doesn't save the collations it receives in memory or database, whereas it just puts them in a cache in pubsub for a period(for now is 30 seconds) and relays the message. We should save it in order to be requested by other nodes.
Requirements
Save collations in memory or storage. If the size and number are not large, saving them in memory is enough. However, if we do performance test, those big collations will use of the memory.
Description
Collations are broadcast with the command
broadcastcollation
. It generates collations of a specified size(through adjusting the size ofBlobs
field). Currently, a node doesn't save the collations it receives in memory or database, whereas it just puts them in a cache inpubsub
for a period(for now is 30 seconds) and relays the message. We should save it in order to be requested by other nodes.Requirements
Save collations in memory or storage. If the size and number are not large, saving them in memory is enough. However, if we do performance test, those big collations will use of the memory.