Stewart Smith wrote:
> On Thu, Oct 16, 2008 at 01:23:30AM -0700, Eric Day wrote:
>> http://drizzle.wikia.com/wiki/New_Protocol
> 
> Another thought....
> 
> multiplexing of sending large data.
> 
> e.g.
> 
> server sending row with several blobs. may be able to interleave these
> (e.g. if coming from distributed engine, blobs arriving from different
> nodes, so able to send in parallel to client).
> 
> or, while sending/receiving large blob, a small message saying "server
> shutting down, no more new queries" which would allow client to
> gracefully connect to another server, server to gracefully shut down (no
> new connections, just finish current queries).

BLOBs should not be sent in-band. Instead, just a BLOB locator should be sent
(e.g., a URL) and then the storage engine, server main, or whatever, can open a
connection and feed the blob into the correct place directly instead of copying
in into the receiver buffer and then feeding that to the storage engine (usually
by copying it).

Just my few cents,
Mats Kindahl

-- 
Mats Kindahl
Lead Software Developer
Replication Team
MySQL AB, www.mysql.com
begin:vcard
fn:Mats Kindahl
n:Kindahl;Mats
org:Sun Microsystems
adr;quoted-printable:;;Tegv=C3=A4gen 3;Storvreta;SE;74334;Sweden
email;internet:[EMAIL PROTECTED]
title:Lead Replication Software Developer
x-mozilla-html:FALSE
version:2.1
end:vcard

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to