Commit Graph
16 Commits
Author SHA1 Message Date
Arnaud Gourlay 6266d9bcdc enable compression for gRPC (#1186)
* enable compression for gRPC

* add benchmarks

* fix grpc benchmark

* discardResponseBodies to reduce memory usage

* improve & split benchmarks

* do not use gzip for inter node communication as benchmarks are not conclusive
2022-11-18 13:34:49 +01:00
Andrey VasnetsovandArnaud Gourlay dc07b01e1f remove deprecated fields from API (#1030)
* remove depricated fields from API

* fmt

* upd openapi and integration tests

* fix grpc test

* regenerate storage reference data

* improve docs

Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com>
2022-09-19 13:51:03 +02:00
Andrey Vasnetsov 83c21450c3 Pagination (#743)
* offset param for search and recomendation

* test and fix for pagination

* clippy + fmt

* upd schemas

* fix grpc requests in test
2022-06-27 13:22:02 +02:00
Andrey Vasnetsov 3d505f5ae5 gRPC int payload (#564)
* use custom message for json representation in gRPC

* fmt
2022-05-30 19:10:37 +02:00
Arnaud Gourlay 967e265900 [sharding] Extract grpc feature into sub-crate (#412)
* extract grpc feature into sub-crate

* move build.rs to api crate

* split proto files between services and objects

* update docs
2022-03-30 10:12:02 +02:00
Arnaud Gourlay a0e52e84aa alias gRPC endpoint (#408) 2022-03-24 16:21:01 +01:00
Gabriel Velo f69a7b740f json as payload (#306)
add json as payload
Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2022-03-21 07:09:10 -03:00
Andrey Vasnetsov 5cf9a8c21b [gRPC] recommendation method (#364)
* grpc: recommend points

* grpc:recommend docs
2022-03-03 20:39:07 +01:00
Andrey VasnetsovandArnaud Gourlay c6441f06c1 [gPRC] docs + refactoring (#363)
* wip: doc generator script

* fix enum default value + CollectionInfo upd + collections comments

* refactor grpc + generate docs

* disable clippy for auto-generated files

* Update src/tonic/proto/points.proto

Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com>

Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com>
2022-03-03 15:30:09 +01:00
Arnaud Gourlay c59c35d44d gRPC retrieve methods (#343)
* gRPC retrieve methods

* code review: remove duplicate do_get_points

* code review: import for readability

* code review: reinstate fullpath by convention

* code review: experiment changing shape of with_vector flag

* code review: update openapi spec
2022-02-28 15:13:08 +01:00
Andrey Vasnetsov 58ce28a933 [gPRC] search method (#300)
* wip: grpc search + refactor payload selector

* grpc: search api + test

* fmt

* fix clippy

* update openapi schema (backward compatible)
2022-02-14 12:49:24 +01:00
Andrey Vasnetsov c1b6cb163b UUID support in gRPC with oneof (#299)
* add PointId message proto

* fix clippy
2022-02-14 11:59:16 +01:00
Andrey Vasnetsov 02a50212e5 Refactor proto & rest (#302)
* reorder points.proto

* simplify grpc + replace match with enum (backward compatible)

* fmt

* remove try_match

* upd openapi schema

* fix grpc test

* fix grpc readme
2022-02-14 09:58:23 +01:00
Arnaud Gourlay 5a5da0a16d use existing integration tests as CI (#279) 2022-02-03 19:22:39 +01:00
Andrey Vasnetsov 3cd3959fc5 [gRPC] get collection method (#153)
* wip: implement get collection info grpc method

* fix async issue

* add api test

* fix review comments #153
2022-01-18 12:56:03 +01:00
KonstantinandAndrey Vasnetsov 56b1271752 [GRPC] Expose upsert points API (#107)
* [GRPC] Expose upsert points API

* refactor PointSruct: use map instead of list + grpc tests

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2021-12-11 21:55:01 +01:00