refactor: change mria default rpc module from 'gen_rpc' to 'rpc'
Erlang distribution seems to outperform gen_rpc (unless gen_rpc clients are scaled up, but this is not easy to achive for shard transport as it may reorder events).
This commit is contained in:
parent
cd2752117c
commit
7c022c2c6a
|
@ -652,7 +652,7 @@ fields("node") ->
|
|||
hoconsc:enum([gen_rpc, rpc]),
|
||||
#{
|
||||
mapping => "mria.rlog_rpc_module",
|
||||
default => gen_rpc,
|
||||
default => rpc,
|
||||
'readOnly' => true,
|
||||
importance => ?IMPORTANCE_HIDDEN,
|
||||
desc => ?DESC(db_rpc_module)
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
Change default RPC driver from 'gen_rpc' to 'rpc' for core-replica database sync.
|
||||
|
||||
This improves core-replica data replication latency.
|
Loading…
Reference in New Issue