Skip to content

Support lazy decoding query response rows or not decoding,users can get the netty ByteBuf of row list directly #1174

@jianliu

Description

@jianliu

Describe the feature

Im working on database L7 proxy which providee transparent database-sharding scenarios like Vitess\Apache shardingSphere,now we use jdbc in proxy which makes proxy decode all databases query response rows and block query thread.

I noticed that vertx uses netty handle the query,but the decoder decodes all rows directly,is it possible to support new features like lazy decoding rows or not,and users can get the netty ByteBuf which can make the proxy use ByteBuf (zero-copy) to send the query rows directlty to the client.

Use cases

A list of use cases this feature will enable and the value it creates.

  • L7 Proxy transport data packets without decoding rows.

value:
Not only client can use this client, Proxy could use it to improve performance

Contribution

Hope the official support.
I`d like to try support this feature for mysql client.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions