Skip to content

Async batch support#85

Merged
Arshdeep54 merged 4 commits into
sdslabs:refactorfrom
peopleig:async-batch-support
Jul 7, 2026
Merged

Async batch support#85
Arshdeep54 merged 4 commits into
sdslabs:refactorfrom
peopleig:async-batch-support

Conversation

@peopleig

Copy link
Copy Markdown
Contributor

Add batch insert and search functionality to the async client AsyncVortexDB
Code very similar to existing batch implementation

Side Note: Add an all.py which runs all the example usage files within the pytest framework. It serves a purpose of quickly making sure that no API breaks due to code changes

@peopleig
peopleig force-pushed the async-batch-support branch from c9cab73 to 1b7468f Compare June 15, 2026 00:55
@peopleig

Copy link
Copy Markdown
Contributor Author

Updates:

  • Test for API parity between sync and async VortexDB classes
  • Batch support in Async class

@peopleig

Copy link
Copy Markdown
Contributor Author

I was thinking of adding a CI workflow for Python, which runs the tests we have written and runs ruff (linter) on the Python code.
Tested it on a branch of mine python_ci.
Should we add it to our main workflow here?

@peopleig
peopleig requested a review from Arshdeep54 June 15, 2026 01:02
@Arshdeep54

Copy link
Copy Markdown
Collaborator

make a seperate PR for that , merging this.

@Arshdeep54
Arshdeep54 merged commit d7ee7d6 into sdslabs:refactor Jul 7, 2026
3 checks passed
4adex added a commit that referenced this pull request Jul 23, 2026
* feat: add batch insert and search (#74)

Signed-off-by: Arshdeep54 <balarsh535@gmail.com>

* Inmemory storage implementation (#82)

* Implement in-memory storage engine

* Wire in-memory storage through API snapshots

* Add HTTP smoke coverage for in-memory storage

* Handle in-memory storage errors in gRPC

* Add in-memory checkpoint header

* Add async Python client (#83)

* Add async Python client

* Deduplicate Python gRPC connection helpers

* Benchmarking optimizations (#84)

* Reduce in-memory checkpoint lock scope

* Optimize HNSW distance calculations

* Expose HNSW tuning parameters

* Add Python batch vector client methods

* Expose KD-tree rebuild tuning parameters

* Update tui with new name and details (#79)

* Support query-time HNSW ef

* Async batch support (#85)

* Update Python client to support batch insert and search

* Add batch support to the async client

* Add master test script for all usage example files

Run linter on client/python

* Add test for api parity between sync and async classes

---------

Signed-off-by: Arshdeep54 <balarsh535@gmail.com>
Co-authored-by: Arshdeep Singh <110114582+Arshdeep54@users.noreply.github.com>
Co-authored-by: Khushal Agrawal <117133859+SK1PPR@users.noreply.github.com>
Co-authored-by: Khushal Agrawal <dev@khushal.net>
Co-authored-by: Prachet Patel <patelprachet@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants