> > You can figure based on your sysctl settings, how much memory a tcp socket > > will use by default or with stuff being written to it. There're lots of > > sites that explain those in more depth. An idle connection can use around > > 4-12k per. > > Would using UDP connections instead of TCP be a good way to eliminate > that overhead?
It can help or hurt. Depends a lot on the size/type of data you're fetching. Usually it's not a big enough deal to be worth worrying about, and idle connections can use a lot less than that too.
