create account

[Requesting help from community] How can we broadcast too many upvotes at a time? by mahdiyari

View this thread on: hive.blogpeakd.comecency.com
· @mahdiyari · (edited)
$3.32
[Requesting help from community] How can we broadcast too many upvotes at a time?
<center>![achievement-3408115_640.jpg](https://cdn.steemitimages.com/DQmWwDbXKqxccNossGGwjrcSarDBGMc2UW3smZfMhCVEqET/achievement-3408115_640.jpg)</center>
It is important. Please share your ideas and suggestions.
### The problem:
We have a big problem with steemauto: Growth!
Steem blockchain is limited! Yes, we all say 10,000 transactions/s is possible in the steem blockchain. But, that is not right in steem blockchain:)

>Clarification:
That is not related only to the blockchain. That is because of maximum block size (64 KB) which is set by witnesses. We can increase maximum block size to the 2MB and get maximum transactions per block.

The maximum transaction rate I saw was ~210 transactions in one block (3 seconds) (maybe that is not the record!)
Actually, steem blockchain is limited. We can not broadcast 10,000 upvotes per second or even 10,000 per 3 seconds(per block) I think that is about ~70 upvotes/block (10~150 upvotes)

So, how can we broadcast too many upvotes with steemauto? It is a big problem!
<center>![arrow-1538699_640.png](https://cdn.steemitimages.com/DQmXHbkEWjR6d6K9x9pWSWAKczEpQLBEp98LUsJCs5YmT18/arrow-1538699_640.png)</center>
You should consider we are not the only voter on the blockchain. Most of the users are using steemit, busy, other interfaces, and services like steemvoter!
We have a limited blockchain which we should share that blockchain with so many other Dapps!

How can we find a solution to this problem?
***
### The possible solution:
Let's say a curation trail like curie upvoted a post with 2,000 followers. First, we can skip low-value upvotes and free up space to other high SP users.
I think the new RC system after HF20 may help to solve the problem with too many low-value upvotes. Currently, the bandwidth of a newly registered user is enough to broadcast too many upvotes.

Then, we can add upvotes to a queue and broadcast 50 upvotes per block. That would take 20 blocks (60 seconds) to broadcast just 1,000 upvotes. (It is too late!)
Let's change to 200 upvotes per block. Then 1,000 upvotes will take 5 blocks (15 seconds). (It is better but, not best)
I can play with this queue, but this is not a real solution.

Summary of possible solutions:
1- Skip more low-value upvotes. Maybe under 3 sp. (we already skipped upvotes under 1.5 sp)
2 - Add upvotes to a queue.
3 - Sell steemauto and build a better blockchain ^_^ (jk)

<b>A brilliant idea may receive some STEEM as a reward!</b>
***
Also, I updated my witness to v0.20.2 and I'm ready for hardfork 20.
You can [vote me as witness](https://steemconnect.com/sign/account-witness-vote?witness=mahdiyari&approve=1)
Regards,
2018-09-23
<sub>Source of all images: pixabay.com</sub>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 571 others
properties (23)
authormahdiyari
permlinkrequesting-help-from-community-how-can-we-broadcast-too-many-upvotes-at-a-time
categorysteemauto
json_metadata{"tags":["steemauto","problem","steem","growth","blockchain"],"image":["https://cdn.steemitimages.com/DQmWwDbXKqxccNossGGwjrcSarDBGMc2UW3smZfMhCVEqET/achievement-3408115_640.jpg","https://cdn.steemitimages.com/DQmXHbkEWjR6d6K9x9pWSWAKczEpQLBEp98LUsJCs5YmT18/arrow-1538699_640.png"],"links":["https://steemconnect.com/sign/account-witness-vote?witness=mahdiyari&approve=1"],"app":"steemit/0.1","format":"markdown"}
created2018-09-23 18:23:54
last_update2018-09-24 10:15:36
depth0
children6
last_payout2018-09-30 18:23:54
cashout_time1969-12-31 23:59:59
total_payout_value2.845 HBD
curator_payout_value0.473 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,699
author_reputation199,864,818,197,856
root_title"[Requesting help from community] How can we broadcast too many upvotes at a time?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id72,057,218
net_rshares2,771,223,418,935
author_curate_reward""
vote details (635)
@jzeek ·
Sir steem auto web not open why
properties (22)
authorjzeek
permlinkre-mahdiyari-requesting-help-from-community-how-can-we-broadcast-too-many-upvotes-at-a-time-20180928t140200187z
categorysteemauto
json_metadata{"tags":["steemauto"],"app":"steemit/0.1"}
created2018-09-28 14:02:12
last_update2018-09-28 14:02:12
depth1
children0
last_payout2018-10-05 14:02:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length31
author_reputation1,716,577,868,401
root_title"[Requesting help from community] How can we broadcast too many upvotes at a time?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id72,282,693
net_rshares0
@muksihs · (edited)
<html>The <strong>fairest</strong> way I can think of:
<pre>
            
/* Get the list of pending votes */
List&lt;PendingVotes&gt; voteList = getPendingVotesList();

/** Sort list so that most recent voters come last.
            Timestamp should be from last autovote via
            this bot - not from steem account data
             - this will help keep curation rewards balanced
            across multiple voting cycles.
        * * /
Collections.sort(voteList,
            lastAccountSteemAutoVoteUtcTimeStampAscending);
            
/** If the list is greater than the maximum
       allowed votes: trim it * * /
if (voteList.size() &gt; MAX_VOTES_THIS_BLOCK) {
    voteList = voteList.sublist(0, MAX_VOTES_THIS_BLOCK);
}
            
/* Now do the votes per the usual */
doPerformVotesFor(voteList);
            
</pre>
<p>As an aside: This interface has a serious issue. It should not be trying to autoformat &lt;html&gt; wrapped text!</p>
</html>
properties (22)
authormuksihs
permlinkre-mahdiyari-requesting-help-from-community-how-can-we-broadcast-too-many-upvotes-at-a-time-20180923t231810813z
categorysteemauto
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["steemauto"],"users":[],"links":[],"image":[]}
created2018-09-23 23:18:12
last_update2018-09-23 23:23:39
depth1
children0
last_payout2018-09-30 23:18:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length962
author_reputation1,252,537,770,719
root_title"[Requesting help from community] How can we broadcast too many upvotes at a time?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id72,074,348
net_rshares0
@sames · (edited)
How about batching the upvote tx? In bitcoin-batching cuts fees majorly and even can help the LN reach massive scale. In steem-there is still batching but just combining request into one mega tx. It not that worth if you consider the cost. Steem has free tx :P 
But wouldn't batching similar request help "scale" steemauto?
Say for trail and 20% of the people picked 30 minutes-combine that 30 minutes in one "tx". It way to simple on what I wrote but it a possible solution...
properties (22)
authorsames
permlinkre-mahdiyari-requesting-help-from-community-how-can-we-broadcast-too-many-upvotes-at-a-time-20180923t190925445z
categorysteemauto
json_metadata{"tags":["steemauto"],"app":"steemit/0.1"}
created2018-09-23 19:09:24
last_update2018-09-25 02:18:27
depth1
children0
last_payout2018-09-30 19:09:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length477
author_reputation39,585,633,843,789
root_title"[Requesting help from community] How can we broadcast too many upvotes at a time?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id72,060,158
net_rshares0
@toofasteddie ·
OMG!!! it is indeed a good question!  I cannot help you at all with this...
hope the devs community hear you!!
properties (22)
authortoofasteddie
permlinkre-mahdiyari-requesting-help-from-community-how-can-we-broadcast-too-many-upvotes-at-a-time-20180923t190618618z
categorysteemauto
json_metadata{"tags":["steemauto"],"app":"steemit/0.1"}
created2018-09-23 19:06:18
last_update2018-09-23 19:06:18
depth1
children0
last_payout2018-09-30 19:06:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length110
author_reputation670,552,052,503,887
root_title"[Requesting help from community] How can we broadcast too many upvotes at a time?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id72,059,960
net_rshares0
@vander ·
Increase blocksize...
Making low value votes wait might make steemit less attractive to new users...
👍  
properties (23)
authorvander
permlinkre-mahdiyari-requesting-help-from-community-how-can-we-broadcast-too-many-upvotes-at-a-time-20180925t075625270z
categorysteemauto
json_metadata{"tags":["steemauto"],"app":"steemit/0.1"}
created2018-09-25 07:56:30
last_update2018-09-25 07:56:30
depth1
children0
last_payout2018-10-02 07:56:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length100
author_reputation20,729,326,154,850
root_title"[Requesting help from community] How can we broadcast too many upvotes at a time?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id72,205,804
net_rshares331,716,827
author_curate_reward""
vote details (1)
@vidafitnessfeliz ·
I would suggest option 3, steemit every time this out of control
properties (22)
authorvidafitnessfeliz
permlinkre-mahdiyari-requesting-help-from-community-how-can-we-broadcast-too-many-upvotes-at-a-time-20180923t183943839z
categorysteemauto
json_metadata{"tags":["steemauto"],"app":"steemit/0.1"}
created2018-09-23 18:39:45
last_update2018-09-23 18:39:45
depth1
children0
last_payout2018-09-30 18:39:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length64
author_reputation12,491,838,471,577
root_title"[Requesting help from community] How can we broadcast too many upvotes at a time?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id72,058,221
net_rshares0