Better HN
topnewbestaskshowjobs
Log inSign up

matdehaast

532 karma · joined Sep 28, 2016 (10y ago) · 151 submissions

[ my public key: https://keybase.io/matdehaast; my proof: https://keybase.io/matdehaast/sigs/bVixwtMdXbUG3YY_rdEK8RW0jK3WXzVZ5NU4n7JpolE ]
Submissions

comment 9mo ago · link · parent

Spotify are probably reacting to https://annas-archive.li/blog/backing-up-spotify.html where basically the whole archive was downloaded

comment 1y ago · link · parent

Not from Tigerbeetle, but having looked at his code this is what I saw https://news.ycombinator.com/item?id=45896559

comment 1y ago · link · parent

Thanks for the code and clarification. I'm surprised the TB team didn't pick it up, but your individual transfer test is a pretty poor representation. All you are testing there is how many batches you can complete per second, giving no time for the actual client to batch the transfers. This is because when you call createTransfer in GO, that will synchronously block.

For example, it is as if you created an HTTP server that only allows one concurrent request. Or having a queue where only 1 worker will ever do work. Is that your workload? Because I'm not sure I know of many workloads that are completely sync with only 1 worker.

To get a better representation for individual_transfers, I would use a waitgroup

  var wg sync.WaitGroup
  var mu sync.Mutex
  completedCount := 0

  for i := 0; i < len(transfers); i++ {
    wg.Add(1)
    go func(index int, transfer Transfer) {
     defer wg.Done()

     res, _ := client.CreateTransfers([]Transfer{transfer})
     for _, err := range res {
      if err.Result != 0 {
       log.Printf("Error creating transfer %d: %s", err.Index, err.Result)
      }
     }

     mu.Lock()
     completedCount++
     if completedCount%100 == 0 {
      fmt.Printf("%d\n", completedCount)
     }
     mu.Unlock()
    }(i, transfers[i])
   }

  wg.Wait()
  fmt.Printf("All %d transfers completed\n", len(transfers))
This will actually allow the client to batch the request internally and be more representative of the workloads you would get. Note, the above is not the same as doing the batching manually yourself. You could call createTransfer concurrently the client in multiple call sites. That would still auto batch them

comment 1y ago · link · parent

I'm a bit worried you think instantiating a new client for every request is common practice. If you did that to Postgres or MySQL clients, you would also have degradation in performance.

PHP has created mysqli or PDO to deal with this specifically because of the known issues of it being expensive to recreate client connects per request

comment 1y ago · link · parent

I've had billing issues, and they have let it be resolved a couple of weeks later.

comment 1y ago · link · parent

Interesting, on Geekbench they have very different scoring

365: 2515/12552 M4: 3763/14694

https://browser.geekbench.com/processors/amd-ryzen-ai-9-365 https://browser.geekbench.com/v6/cpu/11020192

comment 1y ago · link · parent

Think you are mistaken. The M4 beats the Ryzen AI 365 in both single and multicore benchmarks

comment 1y ago · link · parent

I'm talking specifically about their mobile lineup, not desktop. And more specifically the performance to power efficiency the M series is getting. It is more than 2 generations behind.

comment 1y ago · link · parent

If you read the first half of the sentence then yeah.... The complete sentence clarifies "with their mobile lineup"

comment 1y ago · link · parent

And therein lies the problem. Apple has managed to push a hardware advantage into something that makes a difference.

comment 1y ago · link · parent

It feels like Intel and AMD are asleep at the wheel with their mobile lineup. I've been looking at non-apple equivalents that have similar performance/power as the M lineup and it seems they all lag about 20%+.

For $800 the M4 Air just seems like one of the best tech deals around.

comment 1y ago · link · parent

Not just GCP, most of Googles services are out of action

comment 1y ago · link · parent

I think OpenAI has caught the non tech mind share. I noticed just this week that my friend group and girlfriend no longer say we will Google something, but rather let me ask ChatGPT…

comment 1y ago · link · parent

I spent 2 seconds clicking on your bio and saw this account was created 4 hours ago.

Makes me wonder why you felt the need to create a burner account.

This isn't to say anything one way or another about you, its just my 2 second of reading about you.

comment 1y ago · link · parent

I find it a very interesting approach to what she is doing.

The problem with most philanthropic organizations is that they come to rely on a constant stream of money. I've heard the Gates Foundation have to be very intentional with how they deploy capital. Because whole ecosystems come to rely on that money in an unsustainable way. So when they have met their goals or decided its not working and pull funding, those that relied on the funding basically collapse overnight. Which could lead to even worse outcomes.

With her approach, I do wonder if this will occur with many of the organizations she is giving large amount of money to.

EDIT: Reminds me of the saying "Give a person a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime".

comment 2y ago · link · parent

Memory usage for that synthetic web server benchmark is massive! 90% reduction

comment 2y ago · link · parent

Lifetime Grand Prix are the biggest right now. They have a series of 7 races that they are doing great media on. Start with Unbound, it’s the most prestigious

comment 2y ago · link · parent

Jetbrains does this well. Pay for a year and then you fallback to that license/version forever

comment 2y ago · link · parent

I've been using it for years with high bursty loads from users. Never had an issue with network stuff between my user and hetzner....

comment 2y ago · link · parent

This seems like a smart move. I know some will be frustrated with losing a free tier. But ultimately businesses need to make money and charging for it is part of that.

comment 3y ago · link · parent

Some days things just go badly. The only thing you can change is how you respond. Well done to you and the team for getting through this.

I for one am and will always be a cloudflare customer

comment 3y ago · link · parent

AFAIK there was a hiring freeze mandate from the board and the previous CEO ignored this. Hence was fired...

The new CEO had to rectify the situation. Its a horrible situation but at the end of the day, it was going to happen

comment 3y ago · link · parent

Same for me

comment 3y ago · link · parent

To be fired in the latest layoff a few weeks later.... Not sure what you want them to do?

comment 3y ago · link · parent

This is literally how it works in South Africa. It’s called auto assessment. You get sent a form to confirm all correct and click submit online. 99% it has all the correct information

comment 3y ago · link · parent

Heap used to bring out so many great engineering deep dives. I do miss them publishing more

comment 3y ago · link · parent

Have you used Figma? Feels like sketch got stuck in the Stone Age quickly once Figma made a performant browser based design tool

comment 3y ago · link · parent

Great blog post as always. Worth diving into their other posts to fully understand what the Tigerbeetle team is doing.

comment 3y ago · link · parent

June is quite cold in the southern hemisphere ;)

comment 3y ago · link · parent

This is really cool! We currently locked into contract with one of the aggregators but can't wait to try this.
123456