Skip to content

perf: optimize V3 search and staging - #259

Merged
skyoo2003 merged 1 commit into
mainfrom
feature/v3-search-performance
Sep 14, 2026
Merged

skyoo2003 merged 1 commit into
mainfrom
feature/v3-search-performance

Conversation

@skyoo2003

Copy link
Copy Markdown
Owner

Description

Optimize V3 search hot paths and reduce Redis staging round trips. MemoryEfficient ASCII searches use a direct root index, FindBatch calls the serving engine directly, and V3 chunk/manifest staging is pipelined.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Test update

Checklist

  • Tests pass (make all)
  • Vet/make vet
  • Linting passes (make lint)
  • Build succeeds (make build)
  • Documentation updated if needed
  • Changelog fragment added (internal performance optimization and tests only)
  • Commit messages follow guidelines

Additional Notes

Valkey 8.1.10 Docker benchmark on 10k keywords showed MemoryEfficient ASCII engine median improvements of 21.9% for Find and 27.1% for FindIndex; V3 shared-text p95 improved 17.9% for Find and 22.7% for FindBatch. Multibyte paths were unchanged within benchmark variance.

Benchmark setup: valkey/valkey:8-alpine, localhost port mapping, Go 1.27.1, 3 repeated runs. Full repository verification passed: make all.

@github-actions github-actions Bot added enhancement This issue is about improvement of project. go Pull requests that update Go code labels Sep 14, 2026
@skyoo2003 skyoo2003 changed the title Optimize V3 search and staging perf: optimize V3 search and staging Sep 14, 2026
@skyoo2003
skyoo2003 merged commit 83508cf into main Sep 14, 2026
9 checks passed
@skyoo2003
skyoo2003 deleted the feature/v3-search-performance branch September 14, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This issue is about improvement of project. go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant