rabbitmq / ra

A Raft implementation for Erlang and Elixir that strives to be efficient and make it easier to use multiple Raft clusters in a single system.
Other
813 stars 96 forks source link

Resolve tids from table names in WAL and ra_log_reader #334

Closed kjnilsson closed 1 year ago

kjnilsson commented 1 year ago

Each time a named ets table is accessed using it's registered name there is a small cost to pay to lookup the tid. This change pre-resolves and stores the tids in the state config.