AechPro / distrib-rl

Distributable Reinforcement Learning Platform
Apache License 2.0
7 stars 3 forks source link

Chore: Add a component registry object to make it easier to get and track singleton lifecycles #43

Open some-rando-rl opened 2 years ago

some-rando-rl commented 2 years ago

To take a first step toward an IoC architecture, and to make it easier to wrangle our project state, we should introduce a single top-level component that serves as an object/component registry for long-lived objects that are used in cross-cutting ways such as the active config, the network client (e.g. RedisClient or RedisServer), and an eventual state manager.