Home / Companies / Couchbase / Blog / Post Details
Content Deep Dive

FTS Performance Improvements in 6.5.0 – Part 2

Blog post from Couchbase

Post Details
Company
Date Published
Author
Sreekanth Sivasankaran
Word Count
842
Company Posts That Month
10
Language
English
Hacker News Points
-
Post removed?
No
Summary

The text outlines performance optimizations introduced in version 6.5.0 of Full-Text Search (FTS), primarily centered around the principle of "do less and do it less often." A significant change was transitioning the scatter-gather mechanism from HTTP/HTTP2 to gRPC, leveraging its streaming and request multiplexing capabilities, which resulted in a 2X throughput improvement for low-frequency term queries in a three-node cluster. The integration of new protobuf message types faced initial performance challenges due to legacy JSON message types, which were mitigated by optimizing the parsing process. Further enhancements included refining the numeric range query logic by implementing a more efficient Terms Dictionary lookup API, achieving a 77% increase in throughput during internal tests. Additionally, improvements in caching and reusability for prefix, fuzzy, and wildcard queries yielded throughput gains of 25%, 12%, and 9%, respectively, by reducing garbage creation and optimizing garbage collection cycles.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 2 513 139 52 0%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.