Comment Comment by luikore So this Go server is slower than a single threaded, blocking TCP server in Ruby. And the memory? Almost the same:require "socket" s = TCPServer.new 'localhost', 1201 loop do c = s.accept if c.read(4) c << 'Pong' end c.close end parent luikore 13 years ago
require "socket" s = TCPServer.new 'localhost', 1201 loop do c = s.accept if c.read(4) c << 'Pong' end c.close end