David Backeus

1.1K posts

David Backeus banner
David Backeus

David Backeus

@dbackeus

Full stack Rails developer. DevOps lead at https://t.co/qB1NqppKko. Creator of the open source Heroku replacer https://t.co/RVt2YuTkIW

Stockholm Sweden Beigetreten Mayıs 2007
63 Folgt279 Follower
Angehefteter Tweet
David Backeus
David Backeus@dbackeus·
I gave myself a challenge for the new year: post a reason why I love the Ruby programming language every day for the whole year - 365 reasons to love Ruby! Hope you'll following along at lovingruby.com ❤️
English
5
11
63
3.7K
Julik Tarkhanov
Julik Tarkhanov@juliknl·
@_swanson Async jobs, but frankly we get by pretty well with solid_queue + threads. But we had to set up our pgbouncer and the rest for pretty severe horizontal autoscaling.
English
1
0
1
145
matt swanson 😈
matt swanson 😈@_swanson·
You are building a Rails app that runs agent flows / pipelines so you end up making lots of blocking inference API calls Is the future: - Running a bunch of async jobs - Offload I/O heavy work and get callbacks - Something else Consider that tool calls need to hit Rails app
English
14
0
41
5.9K
David Backeus
David Backeus@dbackeus·
We run 7x SolidQueue workers with 150 threads each to reach 1000+ concurrent requests to OpenAI. However what we found when pushing this is that OpenAI’s response times start tanking, even though we’re within our rate limits (we’re at the highest documented tier for limits), so scaling above this isn’t helpful. Perhaps the most interesting thing about this is that we monkey patched solid queue to stop preventing us from running with fewer database connections than worker threads (we run with a pool size of 15). We did this since we didn’t fancy complicating our infrastructure by deploying pgbouncer.
English
0
0
2
53
Josef Strzibny
Josef Strzibny@strzibnyj·
Yet another incredible RSpec to Minitest success story
Josef Strzibny tweet media
English
9
4
82
5.1K
David Backeus
David Backeus@dbackeus·
@strzibnyj The hardest thing in programming right now is trying to get claude / codex to not add unnecessary nil checks on every second line it spits out 😫 Also “rescue StandardError” 😭
English
0
0
1
77
Josef Strzibny
Josef Strzibny@strzibnyj·
There are two hard things in computer science: - cache invalidation - naming things - off-by-one errors But AI will fix it 😌
English
4
0
13
1.1K