pomerium/internal
Cuong Manh Le 02edbb7748
internal/databroker: make Sync send data in smaller batches (#1226)
* internal/databroker: make Sync send data in smaller batches

GRPC streaming is better at sending multiple smaller message instead of
a big one.

Benchmark result for sending 10k messages at once vs multiple batches,
each with 100 messages:

name     old time/op  new time/op  delta
Sync-12  14.5ms ± 3%  12.4ms ± 2%  -14.40%  (p=0.000 n=10+9)

* cache: add test for databroker sync
2020-08-07 23:12:41 +07:00
..
autocert config: add support for policies stored in the databroker (#1099) 2020-07-17 10:35:29 -06:00
cmd/pomerium config: add support for policies stored in the databroker (#1099) 2020-07-17 10:35:29 -06:00
controlplane proxy: add support for spdy upgrades (#1203) 2020-08-04 13:26:14 -04:00
databroker internal/databroker: make Sync send data in smaller batches (#1226) 2020-08-07 23:12:41 +07:00
directory directory.Group entry for groups (#1118) 2020-07-22 11:28:53 -06:00
encoding cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
envoy internal/envoy: improve handleLogs (#929) 2020-06-19 09:14:10 +07:00
fileutil *: remove import path comments (#545) 2020-03-16 10:13:47 -07:00
frontend directory.Group entry for groups (#1118) 2020-07-22 11:28:53 -06:00
hashutil authenticate: save oauth2 tokens to cache (#698) 2020-05-18 17:10:10 -04:00
httputil config: add PassIdentityHeaders option (#903) 2020-06-22 10:29:44 +07:00
identity fix redirect loop, remove user/session services, remove duplicate deleted_at fields (#1162) 2020-07-30 09:41:57 -06:00
log envoy: use envoy request id for logging across systems with http and gRPC (#691) 2020-05-18 17:10:10 -04:00
middleware authorize: allow CORS preflight requests (#672) 2020-05-18 17:10:10 -04:00
protoutil feature/databroker: user data and session refactor project (#926) 2020-06-19 07:52:44 -06:00
scheduler feature/databroker: user data and session refactor project (#926) 2020-06-19 07:52:44 -06:00
sessions kubernetes apiserver integration (#1063) 2020-07-14 08:33:24 -06:00
signal pkg/storage: introduce storage.Backend Watch method (#1135) 2020-07-27 21:10:47 +07:00
telemetry telmetry: add databroker storage metrics and tracing (#1161) 2020-07-30 18:19:23 -04:00
testutil controlplane: xds unit tests (#770) 2020-05-25 11:14:07 -06:00
tripper *: remove import path comments (#545) 2020-03-16 10:13:47 -07:00
urlutil internal/urlutil: add tests for GetDomainsForURL (#1183) 2020-08-01 09:59:40 -07:00
version *: remove import path comments (#545) 2020-03-16 10:13:47 -07:00