Re: [twsocket] Can this be made?

2011-10-17 Thread Angus Robertson - Magenta Systems Ltd
What I want to know is we already have the cache memory stream which we read from and there is multiple copying of data as TMemoryStream-FDocBuf-ICS internal buffer-Winsock. Most static files are currently served using TFileStream which is unbuffered with no cache, so reading large amounts

Re: [twsocket] Can this be made?

2011-10-16 Thread Angus Robertson - Magenta Systems Ltd
I wonder if we could write the data directly to TWSocket bufferlist instead of FDocBuf in THttpServer so that there is no longer double (and in the case of SSL triple) copying. I'm currently looking at THttpServer performance improvements, I doubled the speed on Friday by increasing buffers

Re: [twsocket] Can this be made?

2011-10-16 Thread Fastream Technologies
Hello, On Sun, Oct 16, 2011 at 20:27, Angus Robertson - Magenta Systems Ltd an...@magsys.co.uk wrote: I wonder if we could write the data directly to TWSocket bufferlist instead of FDocBuf in THttpServer so that there is no longer double (and in the case of SSL triple) copying. I'm