MIRA, why I won't be using it for now

in #dtube7 years ago (edited)

In this video, I'm doing a quick talk about what MIRA is and what it brings to us but why I decided to not enable it on my Witness node.

As our blockchain grows, it will will require a lot of memory in order to have a good performance. Luckily, thanks to MIRA, it is now possible to store the state on disk rather than on memory while maintaining decent performance. The only issue with using MIRA is replay time, that is traversing the blockchain in order to create the state on disk. Without MIRA, it takes my server 20-22 hours to replay the whole blockchain, with MIRA enabled, my server only reached 34% in the same time frame. I'm not saving that much on downgrading the server so increasing the replay time for a little bit of saving is not worth it in my opinion. For a new Witness or launching a full RPC node, it's probably worth considering.

I have not upgraded from v0.20.10 to v0.20.11 without MIRA either because at the time of testing, there were a few bugs that prevented me from compiling steemd without MIRA support. So for the time being, I will wait for the next version to come out when everything will be more stable.


▶️ DTube
▶️ IPFS
Sort:  

Thanks for sharing your reasons for not support MIRA

There are so many good things are happening with STEEM and our Ecosystem getting bigger and more powerful everyday

Good STEEM times are ahead & Looking forward to meeting you in person in Thailand for SF4

Thanks for the feedback.

I do support MIRA, it’s an improvement especially for those running a full node. But it’s not a benefit for everyone, so who ever runs a node need to assess their needs.

Unfortunately, I won’t make it to SF4 as it’s not possible both financially and for work reasons. I hope you will enjoy it.

Posted using Partiko iOS

With all the hype surrounding MIRA, it's surprising that any witnesses wouldn't enable this feature...but 72 hours vs 22 hours? I can see why MIRA would be a significant downgrade for you.

Posted using Partiko Android

And I'm only a backup witness, for top20 witnesses it's even more critical to be able to replay fast.

UpvoteBank
Your upvote bank
__2.jpgThis post have been upvoted by the @UpvoteBank service. Want to know more and receive "free" upvotes click here

Hi, @quochuy!

You just got a 0.53% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.