I didn't even know there was a public HAF!
Do you have any stats on availability and throughput capacity? Is it suitable for use by a Hive dApp? Thanks
You are viewing a single comment's thread from:
I didn't even know there was a public HAF!
Do you have any stats on availability and throughput capacity? Is it suitable for use by a Hive dApp? Thanks
https://hivedex.io is powered by the same instance. So yes it is suitable for use by the apps. The availability is high but it will be improved over time with smart switches to the backup server whenever the main server goes down. And the capacity shouldn't become a concern ever.
That's fantastic, thanks. I have been thinking about running a HAF instance, but figured the cost would be high. Can you share the specs of the server here? Just out of curiosity.
128GB RAM
7TB NVMe
The main thing you need is the fast NVMe storage. Right now with ZFS + LZ4 compression HAF + apps take 3TB. You could probably make it work with 32GB of RAM as it is mainly used as cache for ZFS and PostgreSQL.
OK, understood - yes. I'll maybe write some test code soon and see what I can do with your server. thanks
So I was just reading the info on your HAFSQL page:
It seems like the current API calls are duplicates of what is available on existing RPC server nodes - so not so useful. Isn't the point of the HAF server really to support custom SQL calls? That's what I need to use it for. Are you saying that I should request that you add an API endpoint for custom calls once I settle on a query I want to use in production?
Thanks
I should remove that. I don't think like that anymore.
OK - My Hive site is intended to be as supportive of privacy as possible - so ideally I'd prefer any HAFSQL data retreival to be initiated from the browser, rather than a server - however, I don't think it's possible to directly query your postgres database from a browser - is that correct?
Are you open to adding REST API calls for queries that my site depends on? For example, a 'related posts' query?
What is the difference between your server running the query vs my server? Making an API doesn't stop the query from running in a server. You could say you are making an API by having it run on your server.