The architecture of Linkis0.X mainly has the following problems
Entrance and EngineManager function boundaries are blurred.
The main process of task submission and execution is not clear enough.
It is troublesome to extend the new engine, and it needs to implement the code of multiple modules.
Only support computing request scenarios, storage request scenarios and resident service mode (Cluster) are difficult to support.
Insufficient support for computing task management strategies.
The labeling capability is not strong enough, which restricts computing strategies and resource managemen.
The new architecture of Linkis1.0 computing governance service can solve these problems well.
Operation process optimization: Linkis1.0 will optimize the overall execution process of the job, from submission —> preparation —>
Perform three stages to fully upgrade Linkis's Job execution architecture, as shown in the following figure:
Entrance, as the submission portal for computing tasks, provides task reception, scheduling and job information forwarding capabilities. It is a native capability split from Linkis0.X's Entrance.
Entrance Architecture Design
Orchestrator, as the entrance to the preparation phase, inherits the capabilities of parsing Jobs, applying for Engines, and submitting execution from Entrance of Linkis0.X; at the same time, Orchestrator will provide powerful orchestration and computing strategy capabilities to meet multiple activities, active backups, transactions, and replays. , Current limiting, heterogeneous and mixed computing and other application scenarios.
As the management brain of Linkis, LinkisManager is mainly composed of AppManager, ResourceManager, LabelManager and EngineConnPlugin.
Engine conn Manager (ECM) is a simplified and upgraded version of linkis0. X engine manager. The ECM under linkis1.0 removes the application ability of the engine, and the whole microservice is completely stateless. It will focus on supporting the startup and destruction of all kinds of enginecon.
Enter EngineConnManager Architecture Design
EngineConn is an optimized and upgraded version of Linkis0.X Engine. It will provide EngineConn and Executor two modules. EngineConn is used to connect the underlying computing storage engine and provide a session session that connects the underlying computing storage engines; Executor is based on this Session session , Provide full-stack computing support for interactive computing, streaming computing, offline computing, and data storage.
Enter EngineConn Architecture Design