A little over a week ago Hard Fork 26 happened, that has been followed by the patch up HF27.
RC Delegations
HF26 brought with it RC Delegations for the first time and I knew this was going to create a change in the way Podping would need to operate.
Pre HF26
Podping is a decentralised messaging system for announcing when any podcast RSS feed has changed. Whilst anybody can send a Podping (which is really just a custom_json here on Hive), the reality is that most podpings are sent via a service called podping.cloud is operated by Dave Jones at @podcastindexorg.
Podping.cloud runs a standard API server through which large podcast hosting companies can send podpings. Behind the scenes Podping.cloud runs 5 geographically distributed servers each of which runs something called podping_hivewriter. These HiveWriters (each with a different Hive account) actually post most of the podpings to Hive. Additionally I (@brianoflondon) run another copy of this to post @threespeak videos as podpings as well.
The whole system was kept running with delegations of around 1,200 HP to the 3 of the accounts (@podping.aaa @podping.bbb and @podping.ccc). Two further accounts @podping.ddd and @podping.eee had smaller delegations around the 400 HP level. I managed this manually using whatever Hive frontend was nearest and with a python script alerting me if any account's resources dropped to dangerous levels.
The HiveWriter was recently updated to make sure it was ready for HF26.
Podpings are 19th
According to @dalz, Podpings are the 19th most numerous custom_json operation on Hive right now. Whilst it's a drop in the ocean compared to @splinterlands, 12,782 in a day is nothing to be sniffed at.
RC Usage
I knew that overall RC usage would rise and this has happened. In HP terms right now, according to the excellent tool https://primersion.com/rc these are the current RC delegations I'm using:
In HP terms the amount of HP needed to generate the RCs which are delegated out has risen by quite a bit. However, the @podping account now has those HP on its balance sheet and I've set Podping to auto follow my @brianoflondon curation so Podping will now be able to earn curation rewards with its HP. Something I wasn't able to easily do when HP was delegated out to the bot accounts.
The RC-Bot
One reason I never automated the delegation of HP was because I didn't want to put an active key on a server. But one only needs a posting key to make the custom_jsons which initiate RC Delegations.
To this end I've written and deployed a little bot which monitors RC levels of all podping accounts and delegates if necessary. Primarily it will delegate from @podping, but if there is an emergency it can also delegate from @brianoflondon and @v4vapp.dhf. BTW just by those two accounts giving @podping posting authority, the only key the bot needs to know is the Posting key for @podping
When necessary the bot will send multiple delegation changes in a single json (here's a typical transaction of this type pay attention to the array of arrays with single items if you're trying to do this yourself.)
The code I've written is on GitHub but it really isn't in a fit state for anyone else to use yet. When life and the code settles down I'll document it better.
You can see one part of the output which is a dash board for tracking the RCs: rc.podping.org.
Blue lines are the RC as a percentage and the Red line is the absolute value of the RC's of the account. The faint vertical lines show where the bot either increased or decreased a delegation.
Right now I have it set to keep accounts RC levels between 25% and 40%. When an account's RC drop below 25% they get an increased delegation to bring them above that level. If they rise above the upper level, and they have an existing delegation, I cut some of it. The various amounts by which I raise and cut delegations are still in the experimental phase but I'm relatively happy with the results so far.
Summary
In conclusion, and now that there's been time for the old HP delegations to return and everything to settle down, RC delegation provides a very flexible option for a system like Podping. I'm not concerned that the notional HP or $ value of the necessary Resource Credits has gone up, that is more than balanced by being able to use the HP capital for curation and other return generating endeavours.
The rewards earned on this comment will go directly to the people( @v4vapp ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.
So If I read this right, initially you was running the system with 4.4k HP and now with around 9k HP equivalent?
Yes, this is what it's looking like but the 9k will probably drop a little further as I tailor the RC levels and find whatever is the lowest level I can safely hold the posting accounts at without worry that a sudden surge will cause problems.
Right now my bot is checking every 2 mins. On test net I had that as low as 1 minute but I think I'll probably push it up to 5 or 10 mins once a steady state is reached.
I really want to build a new tool for monitoring Podping. HAF should be able to do that but in reality HAF still seems to be overkill and I'm thinking I can do my own thing with a MongoDB which I'm much more comfortable with.
Amazing work!
Congratulations @podping! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):
Your next target is to reach 1500 upvotes.
Your next target is to reach 1000 upvotes.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!
$WINE
Congratulations, @theguruasia You Successfully Shared 0.300 WINEX With @podping.
You Earned 0.300 WINEX As Curation Reward.
You Utilized 3/4 Successful Calls.
Contact Us : WINEX Token Discord Channel
WINEX Current Market Price : 0.230
Swap Your Hive <=> Swap.Hive With Industry Lowest Fee (0.1%) : Click This Link
Read Latest Updates Or Contact Us
Looks interesting, neeed to get more on this so I can explain people how to use it for their shows.
Very well done; thanks for putting the code out.
Congratulations @podping! You received a personal badge!
You successfully registered for the HiveBuzz World Cup 2022 Contest.
We hope you will enjoy this contest and have fun. Good luck!
You can view your badges on your board and compare yourself to others in the Ranking
Check out the last post from @hivebuzz: