Skip to content

[FEATURE]: add compression option at function call level #2877

@sunby

Description

@sunby

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

Grpc supports three compression options: NoCompression, Deflate, and Gzip. Currently, we do not use any compression in pymilvus.

Describe the solution you'd like

I have conducted a simple test to verify the impact of compression on QPS. In my test, I performed concurrent insert operations with large-dimensional vectors, with each insert request writing 500 vectors. The test showed that the QPS with compression enabled (Gzip)is twice that of when compression is disabled.
This may not only be meaningful for insert operations but also for search with a large NQ. Therefore, I believe we should provide a feature to enable or disable compression at the function call level.

Describe alternatives you've considered

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions