Hacker Newsnew | past | comments | ask | show | jobs | submit | more hitpointdrew's commentslogin

The best stack I found for this is:

Keepalived -> pgbouncer -> postgresql

Then repmgr for managing replication and barman for backups.

The stack is nice because keepalived gives you a virtual ip that you point your apps to, then you can promote a standby to primary (or have one auto promote on a failure) and the VIP will flip to the new primary. All in all you get like 5-10 seconds of “down” time when it flips (depending on how aggressive or conservative you want to be with the rise and fall settings).

Edit: caveat you won’t get keepalived to work if you are using AWS and spread your Postgres servers across AZ’s, they would have to be in the same AZ.

Edit 2: You can simplify the setup if you don’t need connection pooling, in that case skip pgbouncer.


Are you related to that singer guy?


Isn’t rodot a fork of Godot that’s like a week old? How does it even have “top” developers at this point.


The top developer is the one who committed five PRs that changed Godot to Redot, but they had fewer than ten PRs the last time I checked.


We need to stop applying terms like “think” to AI and computers. Computers don’t “think”, they process, that is all. Comparing, or calling, a CPU to the “brain” is also extremely problematic, CPUs in reality are nothing like a biological brain.

That said, it’s impressive that a computer can process enough data to output an any sort of engine.


Great video on why Max Headroom is wildly missunderstood.

https://www.youtube.com/watch?v=GsDrXc94NGU


Breaking up Google how, precisely?

1. Search

2. Browser

3. YouTube

4. Cloud

5. Gsuite

etc.


> My problem with K8s: the network abstraction layer just feels _wrong_.

> I would very much prefer if K8s used public routable IPv6 for traffic delivery

shudder... nothing could feel more wrong to me than public routable IPv6, yuck.


Publicly routable is wonderful. My first job was a company that happened to have somehow acquired a class B, so all our computers just had normal real addresses, they always had the same address whether you were on a VPN or a home network or whatever and remoting into the company network just worked.


Same! It was incredibly easy to obtain address space in the 80's and 90's. I have a /24 ("class C") routed to my home!


Why? It neatly separates concerns. Routing and reachability should be handled by the network. The upper layers should handle authorization and discovery.

Public IPs also definitely don't need to be accessible from the wide Internet. Border firewalls are still a thing.


I have noticed this too. I suspect as HN grew, it caught the attention of bad actors that want to drive a particular narrative and they actively run campaigns that utilize both paid shills and bots.


I certainly wish I got paid to be a socialist democrat shill! Where's my hand out from the government?! Simply not fair.


> So given this pattern, I don't feel like the domain name is something relevant for most end users.

Oh but it is, even if the user doesn’t realize it. How are you going to do SSL without a domain name? I don’t know of any provider that is trusted by a major browser, that will issue ssl certs for an ip instead of a domain name. You could use your own CA but no browser will accept it, and your visitors will be greeted with a browser warning.



This redirects to “https:/:one.one.one.one”, which is a domain name.


You mean a redirect to <https://one.one.one.one/>, but that's beside the point.

Can you or can't you get a certificate for an IP address to "do SSL" (TLS) that is trusted by major browsers?


These aren’t really new rules, there is nothing to be be “grandfathered” into. Maybe they made some slight adjustments but I was looking at the process to become a registrar 5+ years ago and the process as I recall was pretty much the same.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: