Google Groups Home
Help | Sign in
Message from discussion download handling
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
carmen  
View profile
 More options Apr 1, 12:22 pm
From: carmen <_...@whats-your.name>
Date: Tue, 1 Apr 2008 09:22:48 -0700 (PDT)
Local: Tues, Apr 1 2008 12:22 pm
Subject: Re: download handling

> The file upload stuff was written rather hastily and I suspect that
> with some more thought this could be done better. Perhaps by
> allocating blocks of memory to read into instead of into tempfiles
> for, say, requests smaller than 100MB.

99% of the time my framework returns a file handle. which ends up
writing to the socket in Ruby if an ETAG doesnt match.

would it be worth writing that part - in C?

i know rtorrent makes a big deal about 'transfering directly from file
pages to the network stack'. ime it can handle 1200+ torrents and 512+
connections at about 1% CPU and never breaking 100 MB of RAM

going to do some benchmarks/testing eventually, just hasnt been a
priority and curious if youve tested this already


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google