@techcoderx Hive witness update log #33: Dev updates for 2H 2024

in #witness6 days ago (edited)


A lot has happened since my previous update such as the announcement of @aioha and the subsequent keynote presentation at HiveFest 9, for those who missed it.

The status page has also been working reliably well including notifications of any node issues. There have been two incidents for techcoderx.com API node due to varying causes, both were attended to within 12 hours and fixed promptly while updating it to latest develop at that time whenever possible if a replay is required.

With that out of the way, below are some highlights of work completed in the last few weeks.

Aioha Core

As part of v1.5.5 release, HiveAuth vendor bundle size have been reduced from 63KB to 12KB which are loaded only when user logs in using the provider. Additionally, a separate setup method is now provided for those using SSR frameworks (i.e. Next.js) which are unable to instantiate with initAioha().

Aioha React UI

Along with bug fixes for an issue preventing the HiveAuth QR code to be shown, the QR code is now clickable as a link containing the payload. This is needed for those on mobile browsers and have to open a separate PKSA app to authorize the login request.

VSC Blocks

Major updates underway, currently finalizing VSC-HAF indexer v1.27.6.0.1 which should be ready by next week. Most changes are already live on vsc.techcoderx.com. There will be a separate announcement on this in the following week.


Witness performance

Current rank: 28th
Votes: 58,607 MVests
Voter count: 175

Producer rewards (7 days): 166.817 HP
Producer rewards (30 days): 501.966 HP
Missed blocks (all-time): 32

Server resource statistics

hived (hive commit 54e2d637, haf commit 2a091a18)

block_log file size (compressed): 489 GB
block_log.artifacts file size: 2.1 GB
shared_memory.bin file size: 22 GB

HAF db

All HAF apps belong to individual schemas in a single PostgreSQL database along with data such as app state providers in the hive schema. This section shows the sizes of each schema in the database using the following query:

SELECT schemaname,
    pg_size_pretty(SUM(pg_total_relation_size(relid))) AS total_size,
    pg_size_pretty(SUM(pg_table_size(relid))) AS table_size,
    pg_size_pretty(SUM(pg_indexes_size(relid))) AS indexes_size
FROM pg_catalog.pg_statio_user_tables
GROUP BY schemaname;
Output
       schemaname        | total_size | table_size | indexes_size 
-------------------------+------------+------------+--------------
 hive                    | 2968 GB    | 1898 GB    | 1071 GB
 hafbe_rep               | 26 GB      | 26 GB      | 441 MB
 hafah_python            | 16 kB      | 16 kB      | 0 bytes
 reptracker_account_dump | 8192 bytes | 0 bytes    | 8192 bytes
 hafbe_bal               | 82 GB      | 67 GB      | 15 GB
 reptracker_app          | 362 MB     | 260 MB     | 102 MB
 hivemind_app            | 751 GB     | 411 GB     | 340 GB
 btracker_account_dump   | 8192 bytes | 0 bytes    | 8192 bytes
 vsc_app                 | 54 MB      | 46 MB      | 8800 kB
 hafbe_app               | 1172 MB    | 879 MB     | 293 MB
 hafbe_backend           | 16 kB      | 8192 bytes | 8192 bytes
(12 rows)
Disk usage

Compressed tablespace: 1.7 TB
Compression ratio: 2.11x


Sort:  

Congratulations @techcoderx! You received a personal badge!

You powered-up at least 10 HIVE on Hive Power Up Day!
Wait until the end of Power Up Day to find out the size of your Power-Bee.
May the Hive Power be with you!

You can view your badges on your board and compare yourself to others in the Ranking

Check out our last posts:

Be ready for the November edition of the Hive Power Up Month!
Hive Power Up Day - November 1st 2024
Halloween Challenge - Publish Your Chilling Story for an Exclusive Halloween Badge!

Congratulations @techcoderx! You received a personal badge!

You powered-up at least 10 HIVE on Hive Power Up Day! This entitles you to a level 1 badge.
Participate in the next Power Up Day and try to power-up more HIVE to get a bigger Power-Bee.
May the Hive Power be with you!

You can view your badges on your board and compare yourself to others in the Ranking

Check out our last posts:

Hive Power Up Month Challenge - October 2024 Winners List
Be ready for the November edition of the Hive Power Up Month!
Hive Power Up Day - November 1st 2024