Get the latest tech news

Apple Migrates Its Password Monitoring Service to Swift from Java, Gains 40% Performance Uplift


Meta and AWS have used Rust, and Netflix uses Go,reports the programming news site InfoQ. But using another language, Apple recently "migrated its global Password Monitoring service from Java to Swift, achieving a 40% increase in throughput, and significantly reducing memory usage." This freed u...

In a recent post, Apple engineers detailed how the rewrite helped the service scale to billions of requests per day while improving responsiveness and maintainability... "Swift allowed us to write smaller, less verbose, and more expressive codebases (close to 85% reduction in lines of code) that are highly readable while prioritizing safety and efficiency." This workload demands high computational throughput, tight latency bounds, and elastic scaling across regions... Apple's previous Java implementation struggled to meet the service's growing performance and scalability needs. "While this isn't a sign that Java and similar languages are in decline," concludes InfoQ's article, "there is growing evidence that at the uppermost end of performance requirements, some are finding that general-purpose runtimes no longer suffice."

Get the Android app

Or read this on Slashdot

Read more on:

Photo of Apple

Apple

Photo of Java

Java

Photo of % performance

% performance

Related news:

News photo

‘China has Apple by the balls’: How the rising superpower captured the tech giant

News photo

Apple Completes Migration of Key Service to Swift, Gains 40% Performance Uplift

News photo

Apple to Start Releasing Public Betas of AirPods Firmware Updates