How does the system works ?
When started, the system initialize it's internal structures and connections.
After initialization, the system loads core engine switchlets from management
nodes or it's own local nodes. When data received from one node then management
components look into the packet and decide it's type.
If the type is control commands, then it pass messages to process components.
If the type is data, then it handed the packet to session components to
store the packet.
In process component, a process checks it's inputs and invokes a thread
or sends a message to appropriate Switchlets.
Switchlet process the packet by receiving messages from process components.
When switchlet completes processing the packet then it decide which switchlet
will be the next.
After all the processing is done, the switch forwards the processed
packet to next switch (or node). Generally a routing/forwarding process
is the last switchlet to process the data last in a switch.
Finally, we identify the processes that
makes up the embryonic engine. At the core are the abilities to receive
a message from the switch controller center, identify and install a switchlet,
and invoke it. Routing is not included here. The argument is that if we
have the above we can install a forwarder as well. That means the embryonic
engine needs only the manager and process scheduler nothing else. Also
note that embrionic engine initially does not know how to send reply. But
with its basic engine it is possible to install a 'messanger' as
well. We also think the above engine is capable of self recomposition,
where it can gradually substitute its own enbryo codeset completely.
If we want to build an application in the category
of silent agent, the above enbrionic engine should work by itself. For
application in the category of 'server' the above enbroyo needs to be equipped
with a messanger switchlet. For application in the category of multi-point
application the above have to be further upgraded with a router switchlet.
The requirement from platform: In the above, it
is assumed that whatever (IP/UDP) is supporting this embrionic engine from
below will (a) deliver a packet to the designated manager (b) and receive
a packet from any (forwarder presumably) switchlet and forward it to the
specified destination. |