Vasiliy Tolstov 1fbc056dd4
minimize allocations (#1472)
* server: minimize allocations on re-register

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* server: stop old instance before Init()

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* client/grpc: fix allocations in protobuf marshal

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* codec/json: fix allocations in protobuf marshal

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* remove stop from init

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* codec/grpc: expose MaxMessageSize

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* codec: use buffer pool

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* metadata: minimize reallocations

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* util/wrapper: use metadata helper

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* registry/cache: move logs to debug level

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* server: move logs to debug level

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* server: cache service only when Advertise is ip addr

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* server: use metadata.Copy

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-08 10:50:19 +01:00
..
2020-02-02 20:32:55 +00:00
2020-03-31 13:30:14 +01:00
2020-01-30 14:44:40 +03:00
2019-05-30 23:52:10 +01:00
2019-06-18 18:51:52 +01:00
2020-01-30 14:44:40 +03:00
2020-03-04 15:37:17 +00:00
2020-02-24 13:07:40 +00:00
2020-01-30 14:44:40 +03:00
2019-08-14 21:32:28 +08:00
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00
2019-12-17 18:24:00 +00:00
2020-04-07 02:23:16 +01:00
2020-01-30 14:44:40 +03:00
2020-03-06 21:17:57 +00:00
2020-01-30 14:44:40 +03:00
2019-05-30 23:52:10 +01:00
2020-04-08 10:50:19 +01:00