cosmos-sdk/client
JungHwan Tony Yun 5356a86825
feat: Modify grpc gateway to be concurrent (#11234)
Current grpc happens to be concurrent, while the grpc gateway itself is not, since it always uses abci query. Therefore, as the current queries are not concurrent, throughput has the room for improvement. This PR changes the grpc gateway so that when server is ran by a node daemon, it directly calls grpc to make queries concurrent. Any services that uses grpc gateway could improve throughput by fundamental amount, which has been tested and ensured in the process of running an Osmosis node using the current chagnes.

The code base has the following changes:
- GRPCClient field has been added to Client Context.
- The `Invoke` method in Client Context would use ABCI query when GRPCClient field is set to nil, otherwise use the GRPC Client to return results that have used grpc.
- If GRPC is set to enable in `startInProcess`, it sets the GRPC Client field in Client Context.
2022-03-09 13:09:36 +00:00
..
config fix: remove grpc replace directive (#11089) 2022-02-04 10:54:32 +00:00
debug feat: Add debug pubkey-raw cli command (#11006) 2022-02-14 10:36:52 +00:00
docs feat: ADR-040: add state sync for v2 store (#10794) 2022-03-04 06:05:23 +00:00
flags fix: Remove `--tipper` flag, set it to msg signer (#11322) 2022-03-04 13:44:14 +00:00
grpc feat: include transactions in QueryBlockByHeight (#10880) 2022-02-22 18:59:34 +00:00
input client/keys: make add command's output parseable (#6603) 2020-07-05 13:22:49 +02:00
keys chore: move server.GenerateCoinKey and server.GenerateSaveCoinKey to … (#10957) 2022-01-18 15:24:16 +00:00
rpc fix: ensure tendermint-validator-set respects output flag (#11065) 2022-01-31 09:15:12 -05:00
tx fix: Remove `--tipper` flag, set it to msg signer (#11322) 2022-03-04 13:44:14 +00:00
account_retriever.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
broadcast.go fix: case unauthorized message (#11229) 2022-02-24 13:28:13 +01:00
broadcast_test.go chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
cmd.go feat: add cli for tips transactions (#10311) 2021-12-07 18:02:21 +00:00
cmd_test.go Limit context background (#8093) 2021-02-03 09:47:25 +00:00
context.go feat: Modify grpc gateway to be concurrent (#11234) 2022-03-09 13:09:36 +00:00
context_test.go feat: simd runs in-process testnet by default (#9246) 2021-06-29 10:41:55 +00:00
grpc_query.go feat: Modify grpc gateway to be concurrent (#11234) 2022-03-09 13:09:36 +00:00
grpc_query_test.go feat: simd runs in-process testnet by default (#9246) 2021-06-29 10:41:55 +00:00
query.go fix: create query context with requested block height (#10827) 2022-01-04 13:41:51 +00:00
query_test.go fix!: update ABCI query to use request height (#9879) 2021-08-12 10:48:22 -04:00
test_helpers.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
tx_config.go feat: add cli for tips transactions (#10311) 2021-12-07 18:02:21 +00:00
utils.go chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
utils_test.go client: fix Paginate's arguments validation (#6205) 2020-05-13 13:14:43 +00:00