Skip to content

Commit

Permalink
[patch] ⬆️ Upgrade NGT and fix bugs on GetObject APIs
Browse files Browse the repository at this point in the history
Signed-off-by: Rintaro Okamura <[email protected]>
  • Loading branch information
rinx committed Feb 5, 2021
1 parent b124f41 commit 39e141c
Show file tree
Hide file tree
Showing 6 changed files with 285 additions and 227 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ VALD_REPO = vdaas/vald
VALD_BRANCH = master
VALD_DEPTH = 1

NGT_VERSION=1.12.1
NGT_VERSION=1.13.1

GOARCH = $(shell go env GOARCH)

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ Quick Start
$ # ./alvd agent --server 0.0.0.0:8000 --grpc-port 808{3,4,5} --metrics-port=909{2,3,4}
```
5. Now we can access the alvd Server's gRPC API (`host-of-server-node:8080`) using Vald v1 clients.
If you don't have one, you can use [valdcli-v1-alpha](https://github.com/vdaas/vald-client-clj/pull/14#issuecomment-738521578) (this CLI is built for linux-amd64).
If you don't have one, you can use [valdcli](https://github.com/vdaas/vald-client-clj) (this CLI is built for linux-amd64).
```sh
$ # insert 100 vectors (dimension: 784) with random IDs
$ ./valdcli rand-vecs -d 784 -n 100 --with-ids | ./valdcli -h host-of-server-node -p 8080 stream-insert
$ valdcli rand-vecs -d 784 -n 100 --with-ids | valdcli -h host-of-server-node -p 8080 stream-insert
$ # search a random vector
$ ./valdcli rand-vec -d 784 | ./valdcli -h host-of-server-node -p 8080 search
$ valdcli rand-vec -d 784 | valdcli -h host-of-server-node -p 8080 search
```
Distribution
Expand Down
50 changes: 25 additions & 25 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,49 @@ module github.com/rinx/alvd
go 1.15

replace (
cloud.google.com/go => cloud.google.com/go v0.66.0
cloud.google.com/go => cloud.google.com/go v0.76.0
github.com/Azure/go-autorest => github.com/Azure/go-autorest v14.2.0+incompatible
github.com/aws/aws-sdk-go => github.com/aws/aws-sdk-go v1.34.25
github.com/aws/aws-sdk-go => github.com/aws/aws-sdk-go v1.37.3
github.com/boltdb/bolt => github.com/boltdb/bolt v1.3.1
github.com/chzyer/logex => github.com/chzyer/logex v1.1.11-0.20170329064859-445be9e134b2
github.com/coreos/etcd => go.etcd.io/etcd v3.3.25+incompatible
github.com/docker/docker => github.com/moby/moby v1.13.1
github.com/docker/docker => github.com/moby/moby v20.10.3+incompatible
github.com/envoyproxy/protoc-gen-validate => github.com/envoyproxy/protoc-gen-validate v0.4.1
github.com/go-sql-driver/mysql => github.com/go-sql-driver/mysql v1.5.0
github.com/gocql/gocql => github.com/gocql/gocql v0.0.0-20200815110948-5378c8f664e9
github.com/gocql/gocql => github.com/gocql/gocql v0.0.0-20210129204804-4364a4b9cfdd
github.com/gogo/googleapis => github.com/gogo/googleapis v1.4.0
github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.1
github.com/google/go-cmp => github.com/google/go-cmp v0.5.2
github.com/google/pprof => github.com/google/pprof v0.0.0-20200905233945-acf8798be1f7
github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.4.0
github.com/gophercloud/gophercloud => github.com/gophercloud/gophercloud v0.12.0
github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
github.com/google/go-cmp => github.com/google/go-cmp v0.5.4
github.com/google/pprof => github.com/google/pprof v0.0.0-20210125172800-10e9aeb4a998
github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.5.4
github.com/gophercloud/gophercloud => github.com/gophercloud/gophercloud v0.15.0
github.com/gorilla/websocket => github.com/gorilla/websocket v1.4.2
github.com/hailocab/go-hostpool => github.com/monzo/go-hostpool v0.0.0-20200724120130-287edbb29340
github.com/klauspost/compress => github.com/klauspost/compress v1.11.1-0.20200908135004-a2bf5b1ec3aa
github.com/tensorflow/tensorflow => github.com/tensorflow/tensorflow v2.1.0+incompatible
github.com/klauspost/compress => github.com/klauspost/compress v1.11.8-0.20210203154158-6c96f3e2a592
github.com/tensorflow/tensorflow => github.com/tensorflow/tensorflow v2.1.2+incompatible
github.com/vdaas/vald => ./vald
golang.org/x/crypto => golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a
google.golang.org/grpc => google.golang.org/grpc v1.32.0
golang.org/x/crypto => golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
google.golang.org/grpc => google.golang.org/grpc v1.35.0
google.golang.org/protobuf => google.golang.org/protobuf v1.25.0
k8s.io/api => k8s.io/api v0.20.2
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.20.2
k8s.io/apimachinery => k8s.io/apimachinery v0.20.2
k8s.io/cli-runtime => k8s.io/cli-runtime v0.20.2
k8s.io/client-go => k8s.io/client-go v0.20.2
k8s.io/metrics => k8s.io/metrics v0.20.2
sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.8.0
sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.8.1
)

require (
cloud.google.com/go v0.72.0
cloud.google.com/go v0.74.0
code.cloudfoundry.org/bytefmt v0.0.0-20200131002437-cf55d5288a48
contrib.go.opencensus.io/exporter/jaeger v0.2.1
contrib.go.opencensus.io/exporter/prometheus v0.2.0
contrib.go.opencensus.io/exporter/stackdriver v0.13.4
github.com/aws/aws-sdk-go v1.23.20
contrib.go.opencensus.io/exporter/stackdriver v0.13.5
github.com/aws/aws-sdk-go v1.27.0
github.com/cespare/xxhash/v2 v2.1.1
github.com/fsnotify/fsnotify v1.4.9
github.com/go-redis/redis/v7 v7.4.0
github.com/go-redis/redis/v8 v8.4.9
github.com/go-redis/redis/v8 v8.4.11
github.com/go-sql-driver/mysql v1.5.0
github.com/gocql/gocql v0.0.0-20200131111108-92af2e088537
github.com/gocraft/dbr/v2 v2.7.1
Expand All @@ -69,15 +68,16 @@ require (
github.com/tensorflow/tensorflow v0.0.0-00010101000000-000000000000
github.com/urfave/cli/v2 v2.2.0
github.com/vdaas/vald v0.0.0-00010101000000-000000000000
go.opencensus.io v0.22.5
go.opencensus.io v0.22.6
go.opentelemetry.io/otel v0.16.0
go.opentelemetry.io/otel/exporters/metric/prometheus v0.15.0
go.uber.org/automaxprocs v1.3.0
go.opentelemetry.io/otel/exporters/metric/prometheus v0.16.0
go.uber.org/automaxprocs v1.4.0
go.uber.org/goleak v1.1.10
go.uber.org/zap v1.16.0
golang.org/x/net v0.0.0-20210119194325-5f4716e94777
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4
google.golang.org/api v0.36.0
google.golang.org/grpc v1.34.0
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c
google.golang.org/api v0.38.0
google.golang.org/grpc v1.35.0
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.20.2
k8s.io/apimachinery v0.20.2
Expand Down
Loading

0 comments on commit 39e141c

Please sign in to comment.