The invention discloses a kbroker 
distributed operating system, a storage medium and an electronic device. The 
system is applied in a plurality of servers. The 
system comprises a plurality of app_service modules and a plurality of app_allocator modules. The app_
service module is used for running service logic, and the app _ allocator module is used for managing running resources of an applicationprogram and distributing the app _ 
service module running the application program according to the demand of the running resources. The 
system comprises a plurality of kbroker_
server modules and a plurality of kbroker_
server modules. The management module is used for managing a corresponding 
server in the 
distributed operating system, and opening and closing an app_
service module and an app_allocator module on the corresponding server, and the plurality of kbroker_server modules are in data communication connection. The system comprises a kbroker_superper module which is used for managing allprogram processes in the whole system. Under the support of the system, a developer only needs to pay attention to the service of the developer and develops a large server program like developing thesimplest single-thread program, a series of problems caused by increase of the 
page view are not needed to be paid attention to, the server clustering efficiency is improved, and the system provides adisaster 
recovery mechanism for 
software and hardware faults to achieve 
high availability.