Patent attributes
Disclosed are a FAAS distributed computing method and apparatus. The method includes: decomposing a computation task into multiple steps with correlation and execution order, and constructing multiple mirror images and multiple method groups respectively; creating multiple dockers in a process and allocating hardware resources according to the mirror image corresponding to a specific step; transferring, according to a dynamic pointer of the corresponding method group, a data processing result to the method group corresponding to the next step, and simultaneously storing a generated intermediate result in a distributed memory file system; modifying dynamic pointers of the multiple method groups in real-time to dynamically adjust the correlation and execution order of the multiple steps; monitoring a running state of each method in the multiple method groups, restarting the docker of the method or loading latest docker snapshot of the method and expanding or reducing a capacity of the method groups.