db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: [jira] Updated: (DERBY-959) Allow use of DRDA QRYDTA block sizes greater than 32K
Date Thu, 15 Jun 2006 20:17:37 GMT
> So I think -- The server max size for blocksize should be 10M because 
> that is the limit that is allowed by the spec.  From my understanding of 
> the spec, the server does not get to choose the blocksize for QRYDTA. It 
> is the client which sends the qryblksz. 

I agree with your analysis of the spec.

Are you concerned that this may present any sort of denial-of-service
opportunity for a malicious client? That is, a poorly-written or
outright-evil client could establish multiple connections, all requesting
10 Mb buffers, and starve the server out of memory?

I think this is pretty unlikely, but I thought I'd raise the question and
see what your reaction was. 10 Mb per connection is a non-insignificant
amount of memory, particularly for a server with dozens or hundreds of connections.

thanks,

bryan

P.S. I agree with you and Mike that the benchmarking should be separated
out into a separate work item.


Mime
View raw message