News for hackers. Stuff that matters.

tbarbugli

Re:Pgmigrate – Pgcopydb Rewritten in Go on Thursday September 03, 2026 @09:21AM (#49549604)
After fighting crash after crash with pgcopydb v17 and v18 I decided to bite the bullet and write my own in Golang.

I picked Golang because most issues with pgcopydb were related to concurrency bugs and memory leaks. There is nothing in this tool that requires C, Golang is totally fine and comes with a good concurrency built-in and a garbage collector.

A few more notable improvements:

- I use binary format instead wal2json - Optional control plane with web interface - CDC replay runs concurrently (partition by fk)

Re:Pricing Changes for GitHub Actions on Wednesday December 17, 2025 @05:18AM (#46300180)
At getstream.io we ended up running Github Actions on Hetzner. The end-result is 4x faster builds for 3x less $$$.

Running workers ourselves was the last resort, we tried everything else but it was impossible to get fast (and consistent) build times otherwise.

In a way we are now going to get charged for Github's poor execution on Actions.

Re:An Illustrated Guide to OAuth on Monday August 25, 2025 @05:13PM (#45019108)
> anyone can see what URLs you are visiting

this is not correct with HTTPS (query params are not part of the plain text)

Re:Cerebras Code on Saturday August 02, 2025 @12:56PM (#44769191)
ofc it depends where you would hire, for me (NL) its above 100x more efficient
I agree, only reason I read the project readme was to see the drop-in explainer.

Very misleading title

searching for running shoes returns a mix of brands and shoe models
Re:Doge Plans to Rebuild SSA Codebase in Months on Friday March 28, 2025 @11:07AM (#43506399)
Plenty of engineers on the market can work professionally in C. Only a small amount of people can write Cobol (or is willing to given that is almost useless). That alone is a good reason to consider Cobol a legacy language and throw away a codebase written in Cobol.
Re:The Hidden Complexity of Scaling WebSockets on Saturday January 25, 2025 @05:12AM (#42820724)
> At Compose, every WebSocket message starts with a fixed 2-byte type prefix for categorizing messages.

some of the complexity is self-inflected by ignoring KISS principle

In my experience, only Swift has a generator that produces good-quality code. Ironically, it’s developed by Apple.
Re:Redis-compatible distributed key value NoSQL database on Thursday January 23, 2025 @02:37AM (#42801637)
The list of supported commands looks quite impressive https://kvrocks.apache.org/docs/supported-commands#script-co...
Re:Distributed Transactions at Scale in Amazon DynamoDB on Wednesday January 15, 2025 @02:43AM (#42708399)
Using DynamoDB in 2025 is such a weird proposition. Horrible dev experience, no decent clients/libs, complex pricing, weird scaling in/out mechanism, slow, it only works well for well defined use-cases.
Re:Gemini 2.0: our new AI model for the agentic era on Wednesday December 11, 2024 @02:40PM (#42391896)
Google is not winning on cloud, AWS is winning and MS gaining ground.
Re:Postgres for everything (e/Postgres) on Saturday December 07, 2024 @05:22AM (#42348735)
> Use Postgres for Fulltext Search instead of Elastic

pg fulltext search is very limited and user unfriendly, not a great suggestion here

Re:AWS announces Aurora DSQL, a new distributed SQL database on Wednesday December 04, 2024 @02:51AM (#42315358)
Ideally it does not run on the awful EBS storage (slow and expensive).
Re:WebSockets cost us $1M on our AWS bill on Wednesday November 06, 2024 @03:57PM (#42069256)
Possibly because they capture the video from xvfb or similar (they run a headless browser to capture the video) so at that point the decoding already happened (webrtc?)
Re:Bypassing airport security via SQL injection on Friday August 30, 2024 @09:32AM (#41400553)
Makes you wonder why there were no plane hijacks since 9/11. TSA does not seem a credible prevention mechanism given how easy it is to go around it.
Nice article which matches my experience when it comes to optimizing for performance: Linux defaults are never good defaults and you don't need webscale or anything before you get bitten by them.

To make a few examples: on many distributions you get 1024 as the file limits, 4KB of shared memory (shmall) and Nagle's algorithm is enabled by default.

Another thing that we noticed at work (shameless plug to getstream.io) when it comes to tail latency for APIs / HTTP services:

- TLS over HTTP is annoyingly slow (too many roundtrips)

- Having edge nodes / POPs close to end-users greatly improves tail latency (and reduces latency related errors). This works incredibly well for simple relays (the "weak" link has lower latency)

- QUIC is awesome

Re:As an Employee, You Are Disposable (2023) on Friday July 12, 2024 @05:25AM (#40943994)
TL;DR it is a job
Re:OpenAI and Microsoft Azure to deprecate GPT-4 32K on Sunday June 16, 2024 @03:29PM (#40699450)
hosted on Vercel and Github...
isn't China producing more electricity with solar than all other countries combined (with solar)?
Re:Heroku Postgres is now based on AWS Aurora on Saturday June 01, 2024 @12:55PM (#40547303)
io2 is generally better than io1, one advantage is that you can scale storage size and IOPS independently. That being said, RDS with io2 is still worse than an ec2 instance with nvme (a lot worse)
Re:Heroku Postgres is now based on AWS Aurora on Saturday June 01, 2024 @07:15AM (#40544705)
RDS is such a depressing database option. It does not matter how much money you throw at it, its performance will always be limited by the awful disk IOPS. Luckily these days you can easily run PG on EC2 (or simply use CRDB).

Weird for Heroku to ignore this huge efficiency opportunity.

Re:ElephantSQL Is Shutting Down on Sunday April 07, 2024 @07:14AM (#39960027)
well, they shut this down probably because they cannot afford to keep a product that bring little revenue. I never heard of AWS retiring a product (I am excluding ancient stuff like VPC classic and SimpleDB, both had an upgrade path to something superior)
Re:Skin in the Game on Monday April 01, 2024 @04:13AM (#39891835)
it increases the cost for the attacker, forging ID is expensive and against the law. It also leaves behind additional evidence that might be useful to investigators
Re:We are under DDoS attack and we do nothing on Saturday March 30, 2024 @05:14AM (#39873166)
I think its around 1TB a day, but indeed still very small.
Re:More powerful Go execution traces on Friday March 15, 2024 @01:31PM (#39718347)
we wrap all errors with a stack.Wrap function that adds stacktrace to the error. This allows us to add stacktraces to logs and err reporting tools like Sentry. Huge time saver
Re:More powerful Go execution traces on Friday March 15, 2024 @01:28PM (#39718323)
you only do it when there is a not nil err + being able to have a stacktrace is worth more than whatever it costs is CPU
Re:How Figma's databases team lived to tell the scale on Thursday March 14, 2024 @06:17PM (#39709605)
Citus seems incredibly close to what they built, I wonder why they did not use it

Older »