Tuesday, June 10, 2014

Multiplexing sockets with a regular OS

Sure, anyone can pin up 50k sockets on a single tcp listener.  But, how many times can you read/write all those sockets concurrently?  Verbiage may vary, I call these iops, as in (input/output operations per second).   For our purposes, we will say they carry a 64 byte payload.

Has anyone out there been able to do a send/recv operation, ie ping pong, every second on 50k connected tcp sockets (ie 100k iops, server side) using Linux or Windows?  If so, I'd love to make your acquaintance.  In fact, through my journey, I've yet to meet anyone who can exceed the above numbers using a regular OS.

Stay tuned, after a bit more reflection I'll get into a pretty disruptive concept which can multiplex 100k sockets with millions of iops.  Things are starting to get interesting.  Think of a webserver streaming >100k concurrent users via websockets!  Extreme scalability.

More to come ...

2 comments:

  1. For Windows admins, here's the latest from Packt.

    Windows Server 2012 R2 Administrator Cookbook

    ReplyDelete
  2. https://www.packtpub.com/networking-and-servers/windows-server-2012-r2-administrator-cookbook/?utm_source=ReneeP&utm_medium=referral&utm_campaign=1784393076

    ReplyDelete