This is the first part of wire protocol improvements with regards to reading blobs.
In this part I offer to group op_open_blob2, op_info_blob and op_get_segment logical packets into single physical packet.
It allows to prefetch and cache blob info and some blob data (up to 16KB currently) in single network roundtrip.
If application ask for blob info after open - return cached blob info without remote access.
This patch requires no protocol changes, no server code changes and should be fully compatible with older Firebird servers.
This is the first part of wire protocol improvements with regards to reading blobs.
In this part I offer to group op_open_blob2, op_info_blob and op_get_segment logical packets into single physical packet. It allows to prefetch and cache blob info and some blob data (up to 16KB currently) in single network roundtrip. If application ask for blob info after open - return cached blob info without remote access.
This patch requires no protocol changes, no server code changes and should be fully compatible with older Firebird servers.