Anthropic says it moved its Claude API from Python to Rust with no downtime

When Anthropic decided to port its Messages API from Python to Rust, Claude wrote the code in about a week. But proving the new system worked as well as the old one, post-migration, was the real project.

Anthropic engineers addressed this validation problem by turning the production Messages API itself into a verifier. It tested the new Rust version on production traffic, identified where it differed, and automatically sent out agents to fix those differences.

The new Rust-based API now uses about 70% less CPU per request, 80% less memory, and cuts median time to

[…]
Content was trimmed to protect the source. Please visit the original article for the full text.

This article has been indexed from InfoWorld

Read today’s IT security news roundups »