Live data from Hacker News

Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM

blog.vectorchord.ai

11–20 of 27 posts

Re: Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM

#11
post #5

Kinda makes you wonder why you need cloud for anything besides remote encrypted backups if you can run all that on 12GB

what about failover story if server dies? PG failover setup is complicated, and cloud infra handles this for you.

(Genuine question) What's your current plan for when your cloud provider goes offline? Do you have a failover story, or it a case of "wait for them to come back online"?

Re: Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM

#12
post #5

Earlier quoted context omitted.

what about failover story if server dies? PG failover setup is complicated, and cloud infra handles this for you.

(Genuine question) What's your current plan for when your cloud provider goes offline? Do you have a failover story, or it a case of "wait for them to come back online"?

[deleted]

Re: Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM

#13
post #5

Kinda makes you wonder why you need cloud for anything besides remote encrypted backups if you can run all that on 12GB

what about failover story if server dies? PG failover setup is complicated, and cloud infra handles this for you.

What are you willing to pay for cloud-native failover?

Not every use case requires 100% uptime

Re: Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM

#14
post #3

Earlier quoted context omitted.

Because getting any hardware out of infra-team on premise is utterly miserable, across the board.

That's not the only alternative. Rent your VPS and add in extra volumes for like $10 per 100GB.

Funny thing but netcup has $10 per 1 TB

Netcup is under-rated but there are also other providers too at lowendbox/lowendtalk and I am interested to try out hetzner too sometime.

Re: Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM

#15
post #5

Kinda makes you wonder why you need cloud for anything besides remote encrypted backups if you can run all that on 12GB

what about failover story if server dies? PG failover setup is complicated, and cloud infra handles this for you.

https://github.com/multigres/multigres ... when its complete. From the guy that made Vitess for Mysql.

And yes, i agree, the PG failover setup (and especially dealing with a failure afterwards, to restore the ex-master is beyond infuriating).

But its not pay 10x the amount, while eating easily 10x performance infuriating :)

Re: Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM

#16

Earlier quoted context omitted.

That's not the only alternative. Rent your VPS and add in extra volumes for like $10 per 100GB.

Funny thing but netcup has $10 per 1 TB Netcup is under-rated but there are also other providers too at lowendbox/lowendtalk and I am interested to try out hetzner too sometime.

And if you want to go even cheaper, check out Hetzner their EX63 (go to custom) > 4x 7.68TB drives for like 140 Euro.

Not counting the fact that Netcup is raided (also Netcup is limited to 8TB on a VPS).

That is like 4.7 Euro /TB. That is like 4$/TB. 6 Euro / TB in a raid 5 setup.

I do not understand why they are not using this new pricing model on their older servers. There the best you can get is like 10 Euro /TB (for the single 15TB U.2).

Re: Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM

#17
post #5

Earlier quoted context omitted.

what about failover story if server dies? PG failover setup is complicated, and cloud infra handles this for you.

(Genuine question) What's your current plan for when your cloud provider goes offline? Do you have a failover story, or it a case of "wait for them to come back online"?

I have backups on different cloud provider, so I could bootstrap db if provider goes dark indefinitely.

But realistically, I believe major clouds (google, aws) likely has more robust org and infra for recovery than I can built and maintain.

Re: Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM

#18
post #5

Earlier quoted context omitted.

what about failover story if server dies? PG failover setup is complicated, and cloud infra handles this for you.

What are you willing to pay for cloud-native failover? Not every use case requires 100% uptime

Sure, but those who require (99% of major businesses) are ready to pay.

Re: Indexing 100M vectors in 20 minutes on PostgreSQL with 12GB RAM

#20
post #19

> $272 monthly + GPU cost Imagine paying $250+/mo for 32GB of RAM and 4 VCPUs. No wonder Amazon is swimming in cash, the markup on this is bonkers.

100% this, i've been finding metal is getting very compelling against aws. For example latitude has 4 real cores and 32 GB of ram for $92/month.

https://www.latitude.sh/pricing/c2-small-x86?gen=gen-2

hetzner doesn't even have specs this low from what i can tell!

https://www.hetzner.com/dedicated-rootserver/#cores_threads_...

Post reply on HN