This proposal funds the public HAF (https://mahdiyari.gitlab.io/hafsql/) database and HafSQL maintenance for one year.
My last proposal (#390) missed the return proposal by about 378k HP. Many voters didn't like the 12-day lump sum. This time the funding is paid daily across the whole year, so you can remove your vote at any time.
Usage since October 19 (46 days):
- Public SQL: about 1.17M queries/day, about 7 hours of database time per day
- REST API (rpc.mahdiyari.info/hafsql (https://rpc.mahdiyari.info/hafsql)): about 560k queries/day
- About 1.4 billion rows served
These counts come from pg_stat_statements on the live database, after removing connection-pooler overhead. They are lower bounds.
What the funding covers:
- Keeping the public HAF running on two servers (Ryzen 9 5950x, 128GB RAM, 2x 3.84TB NVMe each)
- Fixing issues in HafSQL and keeping it compatible as HAF and the HAF apps it depends on change
- Making the slowest public queries faster
- A Claude subscription used for development
Ask: 11 HBD/day for 365 days.
Proposal #398
https://peakd.com/me/proposals/398
https://ecency.com/proposals/398
PS:
The public HafSQL database works well with AI assistants. You ask a question in plain English, the assistant writes SQL, runs it, and answers. With the full Hive history in one database, that covers questions no API endpoint was built for.
Example. Ask "Who received the most HBD by transfer in the last 7 days?" and you get:
It runs in under half a second. Getting the same answer from the API would mean fetching every account's transfer history or syncing the chain block by block.