[Steemauto] Efficiency update - Removing low-value upvotes

in #utopian-io6 years ago

Repository

https://github.com/mahdiyari/steemauto
update commit

steemauto_bitpizza.gif

10 assert_exception: Assert Exception
abs_rshares > STEEMIT_VOTE_DUST_THRESHOLD || o.weight == 0: Voting weight is too small, please accumulate more voting power or steem power.

Are you familiar with this error? 👆
When you try to upvote a post or a comment while you have low SP (steem power), you will receive that error! But you may receive that error in the other cases too. for example in the low-weight upvotes or when you have low voting power! Read more about voting weight and voting power in the FAQ

STEEMIT_VOTE_DUST_THRESHOLD is a limitation in the steem blockchain to prevent very low-value upvotes on the posts and comments. Right now, a user with 1~1.5 SP is able to broadcast an upvote with full weight (100%) and this limitation (STEEMIT_VOTE_DUST_THRESHOLD) could be changed in the next forks or updates.

But how that limitation effects on the Steemauto?
Actually, when a big trail (with 1,000 followers) upvote a post, many little users will also follow that upvote, and there will be 1,000 upvote calls to the RPC node. Assume more upvotes, maybe 5,000 upvotes! that is where we may get some problems.

bandwidth_wire.jpg
source: searchnetworking.techtarget.com

Making more calls to an RPC node will use huge network bandwidth, and may slow the process of upvoting or other services. Of course, bandwidth on our servers is 1Gbps/s, and that is the huge bandwidth nowadays! but, that 1Gbps is also a limitation for an unlimited service like Steemauto and we may hit that limitation anytime soon!

bandwidth.png
source: paessler.com

Steemauto is unlimited, but with limited resources like bandwidth, that is not possible to keep Steemauto unlimited forever. We may force some limitations by passing the time to keep Steemauto more efficiency and functionality to all users.

We decided to check in a regular time and save users SP (steem power) and VP (voting power) in the database, then use that data to prevent low-value upvotes locally in the Steemauto, instead of sending all upvotes to the RPC node. We made that and the result was very impressive! Efficiency increased by 50-60%! and even more in some cases.

Windows-10-install-update-banner.png
source: winaero.com

So, let's announce that new update:

Low-value upvotes will be prevented in the Steemauto, in the all services: Fanbase, Curation trail and Comment upvote.
That limitation in the Steemauto is set to prevent upvotes from users who have less than 1.5 SP (steem power) or upvotes equal to that limitation!

Let's explain in one example:

Assume I have 10 SP and I configured to upvote a user with 10% weight. Steemauto will calculate effective value of that upvote, which is: 10 SP * 10% = 1 SP
in this example, Steemauto will not broadcast that upvote, because 1 SP is lower than 1.5 SP (the configured limitation)

We are waiting for more suggestions and contributions, show some love to this project. Thank you.


Submitted to https://utopian.io

Regards,
2018-05-29

Sort:  

My contribution is some what a bit of a suggestion. Is it possible to configure the fan base in such Way that each user will have different settings? For example, assuming I have A B C D E, as my fans, and I have them all given different vote weights, can I have a setting to vote on A if my VP is at 75percent and above and setting to vote on B only if my VP is at 80percent and above?

I love your project. Keep it up?

Thank you for keeping us informed on these changes, I will have to follow up with those whom have set their vote % very low but I would rather see less votes with value then more with none!

Thanks for the contribution!

I really like the way you write, it's a pleasure to read. Maybe you could consider writing some contributions for the blog category too, as I'm sure they would really appreciate more quality content there as well.

One slight bit of feedback: it would be best if you included some more changes/features per contribution if you want to reach a higher score.

Keep up the good work!

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

This is a very good move! Finally, we will see less of the "you've been upvoted with 0.000" message. Love SteemAuto!

Very useful for so many people like me in atrail, personally i think the limit should be a little bit higher to boost that performance a little considering the actual vote value of that 1~1.5sp.

This is a smart improvement, I was wondering how can accounts below 500 SP vote at less than 100%. I thought that was only reserved to minnows? Thanks!

Hey @steemauto
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Its a good development and a value added options in line of blockchain

My contribution here is somewhat based on a question, please if i joined a fanbase, will i be rewarded daily, like following the curation trail

Hello, if you change your keys, is there a way to make sure your voting rules continue uninterrupted?

Thanks

And here is an upvote to use for the cause.

You can change all of your keys, that will not affect in steemauto.

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.028
BTC 63615.94
ETH 2475.04
USDT 1.00
SBD 2.54