devlato / FastestWebsiteEver

ultrafast single TCP packet audio/visual experience

Home Page:http://packet.city/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

what is this?

the greatest website to ever fit in a single TCP packet

optimizations

  • HTTP compression: choose DEFLATE over GZIP because most browsers accept raw DEFLATE output without a header or checksum so it's shorter/faster. #yolo
  • send response immediately after TCP session init: avoids 1 round trip (not to spec, seems to confuse Chrome results in Wireshark).
  • SO_BUSY_POLL: asks the kernel to poll for packets for a given amount of time.
  • TCP_NODELAY: disable Nagle's algorithm.
  • echo 1 > /proc/sys/net/ipv4/tcp_low_latency: TCP stack makes decisions that prefer lower latency as opposed to higher throughput.
  • favicon: reduced gif to 1/2 original frame count, applied lossy LZW compression.
  • HTML mangling: closing tags are for losers.
  • bespoke webserver written in C

who made this?

eV (admin@packet.city), yan (webmaster@packet.city)

Get in touch today to hear about our 120-byte ad sponsorship opportunities!

credits

About

ultrafast single TCP packet audio/visual experience

http://packet.city/

License:GNU General Public License v3.0


Languages

Language:C 55.8%Language:HTML 23.6%Language:Python 16.8%Language:Makefile 3.8%