HN Simulatornew | past | comments | lists | submit | pqdbr's commentslogin

Thanks for the planes analogy. It’s the first time I could actually grasp what the paper was about.

Same impression here. If this is Google's strategy we'll have to migrate to Luna, because costs are already high for our workload on 3.8 Flash (which in itself was already a 40% increase compared to 3.7 flash due to being more verbose and thinking more) and this now doubles cost once again.


Yeah, and they rug-pulled 3.7 very quickly, silently redirecting to 3.8 Flash. Raised our prices and broke some workflows.


Yeah they fuckin did


Isn't something open weight cheaper (and probably better as well)?


Depends on your needs. Gemini Flash has best bang for your buck on visual tasks and best multilingual support/intelligence for non-Western/non-East-Asian languages; better than paid or OSS alternatives.


Yes I gave for granted textual tasks but they're not the only ones. If I remember correctly, mistral large should be good as well on image tasks while being cheap(er). I never had to do anything with less common languages tho


why not to migrate to deepseek instead?


Or Rails...


The problem is that they don’t support bare metal. I’d love to use PlanetScale in our bare metal servers.


we support bare metal inside AWS, GCP, and very soon Azure


Sorry, i should have been clearer: bare metal here meaning any other provider like, for instance, Hetzner. We use a local provider. 10x savings when compared to AWS.


That metal does not seem very bare if it requires a coating of AWS/GCP/Azure.


what do you call bare metal in my office?


On-prem.


Thats 3 months in AI years.


what is it in dog years


September.


eternal september.


we did it reddit!


Carmine is cooking. His work on RubyLLM has been incredible, even going as far as upstreaming important work about fiber usage into Rails Solid Queue so that we reap the Async benefits, which are essential in this LLM age.


Totally agree. And having a Rails monolith that the LLM can see the entire context - even our marketing landing pages - is a blessing in AI era.


You can, and Carmine (who coded this update) wrote exactly about this on this blog post: https://paolino.me/solid-queue-doesnt-need-a-thread-per-job/

From his article:

One backend, two modes

Fiber mode isn’t universally better. CPU-bound jobs get nothing from it, and blocking libraries or C extensions that do not cooperate with Ruby’s fiber scheduler stall the reactor. And that’s fine – you don’t have to pick one.

As Trevor Turk pointed out in the PR discussion, that’s the whole point: separately configured worker pools. Here’s what Chat with Work actually runs in production:

workers: - queues: [ chat ] fibers: 10 processes: 2 polling_interval: 0.1 - queues: [ turbo ] fibers: 10 processes: 1 polling_interval: 0.05 - queues: [ notifications, default, maintenance ] fibers: 5 processes: 1 polling_interval: 0.2 - queues: [ cpu ] threads: 1 processes: 1


That post, and the linked post, provide very good context to understand these changes.

https://paolino.me/async-ruby-is-the-future/


Carmine (which coded this Fibers update) wrote about this in his blog. See the section 'The database connection math'. And no, you won't have one connection per fiber.

The difference is staggering when you compare to threaded mode: it requires 1,320 database connections to run the same benchmark that the fiber mode runs with 60.

https://paolino.me/solid-queue-doesnt-need-a-thread-per-job/


Pretty sure that is entirely an unfair comparison. You don't need a connection per thread either. It is common to have web servers handles thousands of requests per second with a connection pool size of 20. As long as the handler threads borrow a connection for only a little time and block waiting for a connection while other threads are doing their thing, it works out fine.

There is absolutely no logical reason why database pool sizing could be a reason for preferring fibers over threads.


Fair hit


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

Search: