djsumdog's avatar
djsumdog
djsumdog_djsumdog.com@poster.place
npub1nmhs...2nr9
https://battlepenguin.com Website: https://battlepenguin.com Admin: djsumdog.com and hitchhiker.social No Agenda: Sir BattlePenguin, In The Morning ๐Ÿ”— bridged from djsumdog@djsumdog.com (fediverse)
djsumdog's avatar
djsumdog 59 mins ago
The standard docs for it work fine. Digital Ocean has good postgres docs too. You want monitoring to watch replica lag. I have mine mapped in Grafana with prometheus scraping data. The functions replay_delay and replay_lag are helpful. If you're not writing though, the replica will just be an increasing line. Here's a query to monitor the replica if you want to just test things from and console: SELECT NOW() as time, extract(epoch from now() - pg_last_xact_replay_timestamp()) AS VALUE, 'foo' AS lag_type; and here's one for the master: SELECT now() AS time, r.client_addr, m.lag_type, EXTRACT(EPOCH FROM m.lag_interval)::double precision AS value FROM pg_stat_replication r CROSS JOIN LATERAL ( VALUES ('write_lag', r.write_lag), ('flush_lag', r.flush_lag), ('replay_lag', r.replay_lag) ) AS m(lag_type, lag_interval); You probably want to generate alerts if your lag starts approaching the limits of your write-ahead logs. image
djsumdog's avatar
djsumdog yesterday
If reality is a simulation, then hell is other people.
djsumdog's avatar
djsumdog yesterday
what if we kissed under the collapse of modern society?
djsumdog's avatar
djsumdog 2 days ago
I guess Librewolf (firefox) is all .. round .. now
djsumdog's avatar
djsumdog 4 days ago
I forgot how shitty Apple was. Got a 2019 Mac Pro off eBay and the seller removed management but not the Activation Lock which prevents you from adjusting secure boot. He contacted the firm he was selling for with the serial number and they got Activation Lock removed via the previous user's iCloud. I installed Linux Mint just to make sure Linux worked, but I think I'm going to attempt a full Gentoo with the t2 kernel overlay. 96GB of DDR4 and and a 16-core (32-thread) Xeon for $2066 (including taxes/shipping)! It has an AMD in it (5700X I think?) which should still be supported under ROCm. I plan on 3D printing a bracket to add another power supply internally so I can add in my AMD R9700 and an older 3080-Ti. I should be able to run my video, image and even a small LLM on this thing between the 3 cards. Loading times will be a little slower than a modern CPU, but it shouldn't be significant. image
djsumdog's avatar
djsumdog 4 days ago
I forgot how shitty Apple was. Got a 2019 Mac Pro off eBay and the seller removed management but not the Activation Lock which prevents you from adjusting secure boot. He contacted the firm he was selling for with the serial number and they got Activation Lock removed via the previous user's iCloud. I installed Linux Mint just to make sure Linux worked, but I think I'm going to attempt a full Gentoo with the t2 kernel overlay. 96GB of DDR4 and and a 16-core (32-thread) Xeon for $2066 (including taxes/shipping)! It has an AMD in it (5700X I think?) which should still be supported under ROCm. I plan on 3D printing a bracket to add another power supply internally so I can add in my AMD R9700 and an older 3080-Ti. I should be able to run my video models, image models and even a small LLM on this thing between the 3 cards. Loading times will be a little slower than a modern CPU, but it shouldn't be significant. image
djsumdog's avatar
djsumdog 1 week ago
Who has an extra ~150k to spend on compute?! image
djsumdog's avatar
djsumdog 1 week ago
I noticed old.reddit required an account a few weeks back, but now it looks like viewing all content requires an account ๐Ÿค” image
djsumdog's avatar
djsumdog 1 week ago
Huh ... I can't find a torrent for the original Octopath Traveler for console (PS4 or PS5), just PC .. plenty for OT II for console though. Odd.
djsumdog's avatar
djsumdog 1 week ago
Fireship has some great stuff if you pause and read everything that flashes up on the screen image
โ†‘