News for hackers. Stuff that matters.
Re:Is-even-ai – Check if a number is even using the power of AI by kaibee on Tuesday May 20, 2025 @01:20AM (#44038045)
Yeah, some of the bigger numbers were a problem, so we switched to using a horizontally scaling db cluster so that we could cover all of the (useful) numbers. When we encounter a new number, it gets routed to the appropriate db where the results of the function are cached after being calculated. We're thinking of spinning it off as an API service actually if there's any interest.

There are no comments on this comment yet.