News for hackers. Stuff that matters.

kt315_

Re:Webserver Benchmark: Erlang vs. Go vs. Java vs. Node.js on Wednesday January 08, 2020 @10:47PM (#21998398)
While no 503s were observed in the test, there were timeouts. I updated the article with corresponding graph.
Re:Webserver Benchmark: Erlang vs. Go vs. Java vs. Node.js on Tuesday January 07, 2020 @11:05PM (#21988199)
None of the tested webservers were returning 503.
Re:Webserver Benchmark: Erlang vs. Go vs. Java vs. Node.js on Tuesday January 07, 2020 @08:17PM (#21987255)
Sleeping is done with setTimeout:

https://gitlab.com/stressgrid/dummies/blob/b342b02407ce09cec...

This isn't busy wait. Instead it yields for specified time period, much like network request to the backend database would do.

Re:Achieving 100k connections per second with Elixir on Wednesday March 06, 2019 @11:38AM (#19320206)
We are preparing new benchmark test for major platforms. Among other suggestions it will include memory consumption.
Re:Achieving 100k connections per second with Elixir on Tuesday March 05, 2019 @11:48PM (#19316460)
Author here. We tried number of acceptors that was 4x and 16x number of cores without any difference.
Re:Mint, a new HTTP library for Elixir on Monday February 25, 2019 @07:29PM (#19250917)
With Gun it is also possible to create a specialized process structure albeit with more heavyweight processes behind each connection. Mint provides lightweight (possibly more efficient?) abstraction to achieve similar results. Thanks Eric and Andrea!
Re:Mint, a new HTTP library for Elixir on Monday February 25, 2019 @02:15PM (#19248463)
I think Gun has very similar philosophy, e.g. it is connection oriented and does not impose pooling and such.
Re:Mint, a new HTTP library for Elixir on Monday February 25, 2019 @02:05PM (#19248368)
What is the advantage over Gun? (https://ninenines.eu/docs/en/gun/1.3/manual/)
Re:Benchmarking Go vs. Node vs. Elixir on Thursday February 07, 2019 @01:32PM (#19107224)
One of the benchmark goals was to test "scheduling" efficiency of each runtime. In other words to show how well it scales given many-core instance, which often is more economical in transaction/$$ sense.

Question: how using cluster module is different from spinning up multiple node instances?

Re:Benchmarking Go vs. Node vs. Elixir on Wednesday February 06, 2019 @05:47PM (#19100927)
What would be the good Java web server to test?
Re:Benchmarking Go vs. Node vs. Elixir on Wednesday February 06, 2019 @05:46PM (#19100917)
Good point, will add.
Re:Benchmarking Go vs. Node vs. Elixir on Tuesday February 05, 2019 @09:59PM (#19092314)
Author here. Planning to run the same test using cluster module with one worker per CPU.

What would be the most performant way to serve HTTP in Go?