The goal here is to reduce network traffic to the main cache nodes. This will also affect the size of the objects in the cache which could make things better by fitting more things in cache, or make things worse by oversubscribing specific slabs. We should watch network traffic on the cache nodes, hit rates, and eviction rates in the period after rolling this out. Additionally, this will increase the amount of gzipping app servers deal with, so response times and CPU should be monitored as well. I chose 1400 bytes to be a fudge-factor smaller than the MTU; since the goal here is network efficiency and not cache memory space, going smaller than a single packet isn't terribly important.
Greetings!
This is the primary codebase that powers reddit.com.
For notices about major changes and general discussion of reddit development, subscribe to the /r/redditdev and /r/changelog subreddits.
You can also chat with us via IRC in #reddit-dev on FreeNode.
Quickstart
To set up your own instance of reddit to develop with, we have a handy install script for Ubuntu that will automatically install and configure most of the stack.
Alternatively, refer to our Install Guide for instructions on setting up reddit from scratch. Many frequently asked questions regarding local reddit installs are covered in our FAQ.
APIs
To learn more about reddit's API, check out our automated API documentation and the API wiki page. Please use a unique User-Agent string and take care to abide by our API rules.
Happy hacking!
Issues and Contribution Guidelines
Thanks for wanting to help make reddit better! First things first, though: github issues is only for confirmed, active bugs. Please submit ideas to /r/ideasfortheadmins.
Please read more on contributions in CONTRIBUTING.md.