Data Storage of Stream

+1 vote
Hello

  I create a stream in Multichain, and I need to put 1 billion key-value items to the stream.  After some test, I find 1 million items cost 2GB , so I estimate 1 billion items needs 2TB, that's too big for me.

 So, I want to put 1 billion items to stream but I don't have 2TB .Do you have some suggestion for me? Is Mutichain has some API or features I don't know which can reduce the storage cost?

Thanks.
asked Nov 14, 2017 by Leon Wang

1 Answer

0 votes

You might want to take a look at the first alpha of MultiChain 2.0:

https://www.multichain.com/developers/multichain-2-0-preview-releases/

As documented on that page, you can use createrawsendfrom to insert multiple items into a single stream in a single transaction, and this should save a fair amount of space.

answered Nov 14, 2017 by MultiChain
...