News for hackers. Stuff that matters.
Re:Million requests per second with Python by danielovichdk on Wednesday February 01, 2017 @08:01AM (#13540360)
When did anyone start to believe that languages scale ?
Re:Million requests per second with Python by mjolk on Wednesday February 01, 2017 @09:03AM (#13540743)
I like the cute expression that you're referencing, but for a majority of projects, to a major extent, language choice greatly matters. If you're getting 10x performance from Go over RoR, that's 10 fewer servers you need to deal with and a lot less thinking about network concurrency.
Re:Million requests per second with Python by throwawayish on Wednesday February 01, 2017 @11:22AM (#13541995)
Meanwhile, most web applications are content with 1/10th of the computing resources that are deployed for them, regardless of language or framework.
Re:Million requests per second with Python by mjolk on Wednesday February 01, 2017 @12:47PM (#13542982)
That's totally fair, but the underlying suggestion that "language choice isn't really important to scaling" is more what I was addressing.
Re:Million requests per second with Python by burnbabyburn on Wednesday February 01, 2017 @08:12AM (#13540428)
what do you mean?
Re:Million requests per second with Python by GrayShade on Wednesday February 01, 2017 @08:26AM (#13540507)
It might be a variant of the old argument that "languages aren't slow, implementations are", meaning that scalability is a property of the language, not the implementation.

In any case, this is written in C so I'm not sure it proves anything about the Python language.

Re:Million requests per second with Python by pekk on Wednesday February 01, 2017 @09:39AM (#13541007)
It says something about the performance that is available from the Python language. This is how Python has always been, starting from the interpret and builtin data structures in CPython which are written in C. That isn't cheating, that's normal, realistic usage of the tool. Why should benchmarks go out of their way to use only unrealistic Python programs just to prove that it cannot "x += 1" as fast as C? Who is surprised by that, and why would it matter? Node uses libuv and nobody blinks an eye.
Re:Million requests per second with Python by fb03 on Wednesday February 01, 2017 @08:24AM (#13540495)
I think he meant, in a slightly acid (but valid) way, that languages don't scale, but concepts and good programming techniques do.

You can scale up whatever code you want in whatever language, you just need to structure it in a way that allows for that.