Wednesday, December 23, 2020

The Windowed Mandelbrot


Self similarity is the way to make complex systems built from simpler pieces.  When you view an entire Mandelbrot you see what amounts to the blueprint for a complete design.  In the context of compute engines, designs could exist in K8's that could follow the Mandelbrot pattern.  


Activating an entire blueprint at once would however be cost prohibitive.  What if only the active parts of the blueprint are in proper existence at any given point in time?  The other parts would exist in the design but would not be in scope.  As the flow of execution moves through the graph of resources, new resources come into scope and old resources are inactivated.   In this way you get the ability to break the design into pieces without paying to keep the entire blueprint active all the time.  Kind of the poor man's approach to designs that follow the "thumbprint of god".

So what is the fundamental element in this system?  What pattern can be used on both the small and large scale?  Looking back to previous work on this blog, I think the perfect candidate would be the KBL.  (Kubernetes based lifeform).  A KBL is a self contained mini universe that defines it's "laws of physics" via DSLs :  Execution, Data, Scheduling, Routing. It's based on these DSLs that the KBL can materialize and de-materialize at the correct point in the execution of the Mandelbrot-like graph.  The larger pieces control and pass data into the smaller pieces and also aggregate results; this is divide and conquer at scale.

See:

https://jmenke.blogspot.com/search?q=kBL

https://jmenke.blogspot.com/2019/04/advanced-kubernetes-and-start-of.html






No comments: