News for hackers. Stuff that matters.
Re:Case Study: Npm uses Rust for its CPU-bound bottlenecks [... by yawaramin on Sunday March 03, 2019 @03:39PM (#19296701)
Couldn't you implement the authorization logic in, say, Redis? Then the npm service is I/O-bound again, and everyone is doing the job they're optimized for.
Re:Case Study: Npm uses Rust for its CPU-bound bottlenecks [... by Filligree on Monday March 04, 2019 @09:10AM (#19301319)
Authorization checks aren't that expensive. The overhead of using an external service might well make it take up more hardware overall.