Skip to content
Snippets Groups Projects
Commit 5bf9d8a5 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

perf: introduce TopologyCache

TopologyCache is a collection of deserialized structures with
information about cluster topology. This currently includes data from
_pico_instance, _pico_replicaset, _pico_tier & _pico_service_route_table.
The info is automatically kept up to date with the corresponding system
tables. The TopologyCache also caches the immutable info related to the
current instance, like instance name, replicaset uuid, etc.

From now on we should be reading this data from TopologyCache whenever
possible instead of going directly to system tables as we were doing
previosly.

At the moment only the plugin RPC module has transitioned to using
TopologyCache but other modules should be refactored as well.
Especially governor.
parent f4d66cab
No related branches found
No related tags found
1 merge request!1491perf: introduce TopologyCache
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment