db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomohito Nakayama (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1471) Implement layer B streaming for new methods defined in JDBC4.0
Date Tue, 04 Jul 2006 13:39:30 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1471?page=comments#action_12419120 ] 

Tomohito Nakayama commented on DERBY-1471:
------------------------------------------

Hello Kristian.
In fact, I'm not clear and no answer yet ...


I think we need some more consideration for synchronizing DERBY-1417 and DERBY-1417 ...

I can propose next two options.

1) Realize Layer B streaming afterwards.
Realize lengthless overloads without Layer B streaming based on current implementation.
Afterwards, realize Layer B streaming as improvement.

2)  Realize Layer B streaming simultaneously with lengthless overloads.
Realize lengthless overloads with Layer B streaming.
In this plan,DERBY-1471 is completely equal to client side of DERBY-1417.

My concerning is that DERBY-1471 will take much of time ....
I spent more than half year for implementing Layer B streaming from server side to client
side,...

I think compatibility for JDBC 4.0 should have priority over Layer B streaming in our project.

Furthermore, performance measurement carried out in DERBY-326 / DERBY-872 told that Layer
B streaming does not always result in best performance.
Sometimes, expanding object into memory before sending resulted in better performance.
// I think passed length information from server helps client to handle buffer effectively.


Then ... 
My opinion is to take option 1), "Implement Layer B streaming afterwards".

I want your opinion...

> Implement layer B streaming for new methods defined in JDBC4.0
> --------------------------------------------------------------
>
>          Key: DERBY-1471
>          URL: http://issues.apache.org/jira/browse/DERBY-1471
>      Project: Derby
>         Type: New Feature

>   Components: Network Client
>     Reporter: Tomohito Nakayama
>     Assignee: Tomohito Nakayama

>
> JDBC 4.0 introduced new methods which take parameters for object to be sent to sever
without length information.
> For those methods, Layer B streaming is best way to implement sending object to server.
> This issue is representation of DERBY-1417 in Network Client.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message