Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

What is it and Why....

Geode in its current form is the ultimate Monolith. Littered with God objects and tight coupling. This makes maintaining and extending the current Geode system really hard, as changing functionality in ObjectA would most inevitably cause a change in ObjectB, which then cause ObjectC having to change, etc...

The current tight coupling of code makes it harder to reason about the expected behavior of the system, as code is layered on top of more code, each layer potentially influencing behavior that is unpredictable.

In order to start unwinding clean up this ball  ball of yarn mud we need to refer back to some Good Design Strategies:

...

In additional to the tangible benefits that a modularized system would provide, the extensibility of Geode to allow added functionality like Geode-Lucene support and Geode-Redis Adapter. Both of these extensions should 

Proposal

The proposed architecture is based on trying to meet the following Proposal Goals. The main goals are Separation of Concerns,  Modularity, and Abstraction.

This proposal will also cover:

  • The definition of a module
  • Dependency management of modules
  • Library dependencies of a module
  • Bootstrapping of a modularized Geode
    • Bootstrapping of individual modules with its dependants

 

Bootstrapping Lifecycle

Upon startup, each module/component will follow the following bootstrapping lifecycle.

...