Menghan Li
bb1be7190b
Change cpu core set and var declaration
2016-04-28 16:43:23 -07:00
Menghan Li
3a13913bba
Address review comments
...
Change startBenchmarkClient and startBenchmarkServer
2016-04-28 16:16:54 -07:00
Menghan Li
dad9308fa3
Address review comments
2016-04-28 16:02:27 -07:00
Menghan Li
997b80914b
Modify byteBufCodec to use *[]byte and remove reqSize from bytebufserver
2016-04-28 15:49:24 -07:00
Menghan Li
988c934720
Rename genericServer to byteBufServer
2016-04-28 14:43:29 -07:00
Menghan Li
add9c0b9f2
Change NewClientConn so that all options need to be specified by caller
2016-04-28 14:38:30 -07:00
Menghan Li
7a5269acfe
Change StartServer back to return address rather than port number
2016-04-28 14:37:48 -07:00
Menghan Li
63410e3453
Change doBenchmark to client struct member function
2016-04-27 16:15:23 -07:00
Menghan Li
bc7b50cb41
Minor fixes
...
Add license
Remove comments and debug logging
Change client status timeElapsed
Change error code to unimplemented
Change warm up rpc size
Move conn.Close go routine
Defer server and client shutdown
Add histogram sumOfSquare clear
Change worker stop
Change benchmark go routine argument
Use same lock inside and out of benchmark
2016-04-27 16:15:23 -07:00
Menghan Li
61623241f4
Small fixes in worker main.go
2016-04-27 16:15:23 -07:00
Menghan Li
b54a56774d
Update histogram creating options
2016-04-27 16:15:23 -07:00
Menghan Li
ad0677d6a9
Close loop: Create multiple streams on one connection
2016-04-27 16:15:23 -07:00
Menghan Li
9a595041db
Add benchmarkClient shutdown()
2016-04-27 16:15:12 -07:00
Menghan Li
fc76af457f
Add distribution variable to be used by open loop
2016-04-27 16:14:24 -07:00
Menghan Li
b5e39adfb2
Add generic close loop
2016-04-27 16:14:24 -07:00
Menghan Li
257710d39c
Add close benchmark rpc calls
2016-04-27 16:13:32 -07:00
Menghan Li
2aaff82a6e
Add RunClient()
2016-04-27 16:13:06 -07:00
Menghan Li
c2e8421003
Minor changes
...
Change log print
Ignore cpu core list and return the actual number of cores used
Add copyright
Change certfile and keyfile path to relative
RunClient() returns "not implemented" error
Close existing server when new server setup received
Main goroutine will wait for server to stop
Move benchmarkServer out of workerServer
2016-04-22 13:48:50 -07:00
Menghan Li
bdd0e9ff61
Fix error in benchmark_test
2016-04-22 13:48:50 -07:00
Menghan Li
26b336d491
Add driver command line options
2016-04-22 13:48:50 -07:00
Menghan Li
643486f084
Add bytebuf codec and generic benchmark server
2016-04-22 13:48:50 -07:00
Menghan Li
9fd1d5bee8
Implement QPS workerServer and Add RunServer() for benchmarkServer
2016-04-22 13:47:34 -07:00
Menghan Li
142fdefa83
Sync proto and update service name in src
2016-04-22 10:58:15 -07:00
Qi Zhao
306a1ee0fe
Merge pull request #636 from menghanl/histogram
...
Change histogram to comply with benchmark worker requirements
2016-04-21 18:06:02 -07:00
Menghan Li
f4425a1062
Address review comments
2016-04-21 17:47:21 -07:00
Menghan Li
c962da7be9
Merge pull request #647 from iamqizhao/master
...
Phase 3 for server interceptor: support stream interceptor
2016-04-21 15:55:25 -07:00
iamqizhao
e4bb85b43f
Support the stream interceptor on server side.
2016-04-21 14:58:45 -07:00
Menghan Li
95f4d27b65
Merge pull request #649 from iamqizhao/fix
...
Close errorChan even when there is no pending I/O
2016-04-21 14:16:13 -07:00
iamqizhao
293b2f9fa8
Close errorChan even when there is no pending I/O
2016-04-21 13:42:59 -07:00
Menghan Li
782915aae8
Add extra option smallest bucket size
2016-04-20 10:16:33 -07:00
Menghan Li
1a5928317d
Merge pull request #645 from iamqizhao/master
...
Phase 2 for server interceptor: The installation of server unary interceptor
2016-04-19 18:13:47 -07:00
Menghan Li
7e9d489649
Address review comments
2016-04-19 17:26:15 -07:00
iamqizhao
616cb8ecfe
Add the missing comment
2016-04-19 16:33:09 -07:00
iamqizhao
310ca08496
gofmt -w
2016-04-19 16:04:09 -07:00
iamqizhao
c321387fd9
the installation of server unary interceptor
2016-04-19 15:54:30 -07:00
Qi Zhao
dd828651e4
Merge pull request #642 from iamqizhao/master
...
Phase 1 to add the server interceptor
2016-04-18 16:49:42 -07:00
iamqizhao
61e92eacc3
Phase 1 to add the server interceptor
2016-04-18 16:18:34 -07:00
Menghan Li
dec33edc37
Merge pull request #641 from iamqizhao/master
...
make setDefault(...) non-member function
2016-04-18 13:39:30 -07:00
iamqizhao
9cec19a4d4
make setDefault(...) non-member function
2016-04-18 13:15:27 -07:00
iamqizhao
75407c0f82
change backoff to pointer receiver
2016-04-18 12:12:19 -07:00
Qi Zhao
867e23d72a
Merge pull request #638 from stevvooe/backoff-set-defaults
...
backoff: set default values on BackoffConfig
2016-04-18 11:58:19 -07:00
Stephen J Day
8ef1dcabab
backoff: make DefaultBackoffConfig a concrete value
...
To enforce immutability of the `DefaultBackoffConfig`, we've made it a
concrete value. While fields can still be set directly on the value,
taking a copy will not incidentally pull a reference to the variable.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-04-18 11:33:39 -07:00
Menghan Li
56c490a369
Merge pull request #640 from iamqizhao/master
...
Fix a couple of misuse of ctx introduced recently
2016-04-18 10:58:19 -07:00
iamqizhao
25dd388f9a
more typo
2016-04-18 10:42:21 -07:00
iamqizhao
ee96f6b348
Fix a typo
2016-04-18 10:37:34 -07:00
iamqizhao
7af9aab473
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-04-18 10:30:44 -07:00
iamqizhao
ac3c5847a1
fix a couple of misuse of ctx introduced recently
2016-04-18 10:30:34 -07:00
Menghan Li
8086cee031
Merge pull request #627 from menghanl/stress_testing
...
Stress testing
2016-04-18 09:58:50 -07:00
Menghan Li
8c5cde66aa
Address code review comments
2016-04-15 17:49:25 -07:00
Stephen J Day
9ff38e9093
backoff: set default values on BackoffConfig
...
Because most of the fields on `BackoffConfig` are unexported, correctly
using the config requires copying from the default. This sets the
defaults appropriately and falls back to a default if MaxDelay is
negative or zero.
Tests are added to ensure that the backoff is set correctly in common
use cases.
Signedroff-by: Stephen J Day <stephen.day@docker.com>
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-04-15 16:12:47 -07:00