micro/server
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
..
grpc minimize allocations (#1472) 2020-04-08 10:50:19 +01:00
mock fix import paths for v2 release 2020-01-30 14:44:40 +03:00
mucp fix import paths for v2 release 2020-01-30 14:44:40 +03:00
proto regenerate all proto (#1440) 2020-03-30 21:58:32 +01:00
context.go Wait() option now accept *sync.WaitGroup 2019-05-27 21:17:57 +08:00
extractor_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
extractor.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
handler.go add AutoAck support for Server 2019-05-24 20:06:27 +08:00
options.go Set default server auth 2020-04-03 12:33:19 +01:00
rpc_codec_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_codec.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_event.go [WIP]: broker ErrorHandler option (#1296) 2020-03-06 21:25:16 +00:00
rpc_handler.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_request.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_response.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_router.go Add client header to rpcRequest header; issue #957 (#1378) 2020-03-21 23:25:23 +00:00
rpc_server.go minimize allocations (#1472) 2020-04-08 10:50:19 +01:00
rpc_stream_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_stream.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_util.go Fix rpc go routine leak 2019-11-27 17:12:07 +00:00
server.go minimize allocations in logger and tunnel code (#1323) 2020-03-11 17:55:39 +00:00
subscriber.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
wrapper.go move wrapper files 2018-04-14 19:24:17 +01:00