Quantcast
Channel: Programming Rants
Viewing all articles
Browse latest Browse all 204

Websocket Benchmark

$
0
0
Once again, today I found another benchmark, about websocket:

Round #1

LanguageClientsRAM (MB)RAM / Client (KB)LOCLibrary
C++33,00060018.62140https://github.com/zaphoyd/websocketpp
Clojure 27,0001,50056.8950http://www.http-kit.org/
Elixir24,0001,90081.0720http://www.phoenixframework.org/
Go24,00080034.13100Built-in golang.org/x/net/websocket
NodeJS 13,00030023.6331https://github.com/websockets/ws
JRuby1,100650605.0920http://rubyonrails.org/
Ruby500150307.2020http://rubyonrails.org/

Round #2

LanguageVersionThreadClientsClients (without Payload)
Javascript / Node / uws6.6.0
26,000
Haskell - no chan1.2
25,00037,000
C++ / uWebSockets / RapidJSON5.4.0124,00035,000
Go / Websocket1.7
22,00039,000
C++ / Crow / RapidJSON5.4.0120,000
Go / Gorilla1.7
20,000
Java / Netty1.8.0_101
20,000
Rust - ws1.11.0
20,000
Elixir / Plug1.3.2
19,000
Java / Undertow1.8.0_101
19,000
NodeJS / Faye - clustered6.6.0
19,000
Rust - scopedpool-ws1.11.0
19,000
Clojure / Java1.8.0_101
18,000
C++ / WebsocketPP / jsoncpp5.4.0817,000
JRuby / Eventmachine9.1.2.0
17,000
Rust - threadpool-ws1.11.0
17,000
Elixir / Phoenix1.3.2
15,000
C++ / Crow / RapidJSON5.4.0814,00042,000
Javascript / Node / ws6.6.0
14,000
Javascript / Node / ws - clustered6.6.0
14,000
C++ / WebsocketPP / jsoncpp5.4.0113,000
Haskell1.2
13,000
NodeJS / Faye6.6.0
13,000
Ruby / Eventmachine2.3.1p112
13,000
Javascript / Node / uws - clustered6.6.0
12,000
JRuby / Rails9.1.2.0
1,000
Ruby / Rails2.3.1p112
500

You can see the raw result here.



Viewing all articles
Browse latest Browse all 204

Trending Articles