Sakshi Nasha

Boosting OpenSearch Performance: gRPC Search in Action

Is REST API overhead bottlenecking your OpenSearch cluster? See how native gRPC support boosts throughput by 17% and cuts latency by 22%.

Boosting OpenSearch Performance: gRPC Search in Action
#1about 3 minutes

Identifying the transport layer bottleneck in OpenSearch

At scale, API communication overhead from serialization and network transfers significantly impacts OpenSearch performance.

#2about 4 minutes

Reducing payload size with Protobuf over JSON

Protobuf's compact binary format uses numerical identifiers to eliminate the repeated field names found in JSON, drastically reducing payload size.

#3about 2 minutes

Clarifying the roles of Protobuf, gRPC, and REST

Protobuf is a serialization format that can be used with transport protocols like REST or gRPC, which combines it with HTTP/2 for efficiency.

#4about 3 minutes

How OpenSearch implemented native gRPC support

OpenSearch built native gRPC support and created an automated conversion pipeline to keep Protobuf definitions synchronized with OpenAPI specifications.

#5about 3 minutes

Configuring and using gRPC in OpenSearch 3.2

gRPC support for bulk and KNN search is available in OpenSearch 3.2 and can be enabled by adding a few lines to the configuration YAML file.

#6about 3 minutes

Benchmarking gRPC performance for search and ingestion

Official benchmarks show gRPC significantly improves throughput for KNN vector search and reduces latency by over 22% for bulk ingestion tasks.

#7about 2 minutes

Explaining the sources of gRPC performance gains

Performance improvements come from Protobuf's compact payload reducing network transfer time and HTTP/2's multiplexing allowing for concurrent requests over a single connection.

#8about 2 minutes

Choosing between gRPC and REST for your use case

Use gRPC for high-performance internal service-to-service communication, but stick with REST for simplicity, debuggability, and broader ecosystem compatibility.

#9about 2 minutes

How to contribute to the OpenSearch community

The OpenSearch project actively seeks contributors and maintainers, encouraging community involvement and feedback on new features like gRPC.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles

From learning to earning

Jobs that call for the skills explored in this talk.