Container data sharing via external memory device
AssigneeInternational Business Machines Corporation
InventorsHui Wang, Yue Wang, Mai Zeng, Wei Li, Yu Mei Dai, Xiao Chen Huang
Life of this patent
Estimating the term…
Abstract
Container data sharing is provided. A second container of a cluster of containers is started to process a service request in response to detecting a failure of a first container processing the service request. The service request and data generated by the first container that failed stored on a physical external memory device is accessed. The service request and the data generated by the first container that failed is loaded on the second container from the physical external memory device via a dedicated hardware link for high-speed container failure recovery.
Claims17
A computer-implemented method for container data sharing, the computer-implemented method comprising:
- storing a service request on a physical external memory device;
- retrieving data generated by a first container corresponding to the service request while the first container processes the service request;
- starting a second container of a cluster of containers to process the service request in response to detecting a failure of the first container processing the service request;
- accessing the service request and the data generated by the first container that failed stored on the physical external memory device, wherein the data includes data changes generated by the first container during partial completion of the service request by the first container;
- loading the service request and the data generated by the first container that failed on the second container from the physical external memory device via a dedicated hardware link for high-speed container failure recovery;
- and
- processing the service request by the second container from a point where the first container failed.
A computer system for container data sharing, the computer system comprising:
- a communication fabric;
- a storage device connected to the communication fabric, wherein the storage device stores program instructions;
- and
- a set of processors connected to the communication fabric, wherein the set of processors executes the program instructions to:
- store a service request on a physical external memory device;
- retrieve data generated by a first container corresponding to the service request while the first container processes the service request;
- start a second container of a cluster of containers to process service request in response to detecting a failure of the first container processing the service request;
- access the service request and the data generated by the first container that failed stored on the physical external memory device, wherein the data includes data changes generated by the first container during partial completion of the service request by the first container;
- load the service request and the data generated by the first container that failed on the second container from the physical external memory device via a dedicated hardware link for high-speed container failure recovery;
- and
- process the service request by the second container from a point where the first container failed.
A computer program product for container data sharing, the computer program product comprising a computer-readable storage medium having program instructions embodied therewith, the program instructions executable by a set of processors to cause the set of processors to perform a method of:
- storing a service request on a physical external memory device;
- retrieving data generated by a first container corresponding to the service request while the first container processes the service request;
- starting a second container of a cluster of containers to process service request in response to detecting a failure of the first container processing the service request;
- accessing the service request and the data generated by the first container that failed stored on the physical external memory device, wherein the data includes data changes generated by the first container during partial completion of the service request by the first container;
- loading the service request and the data generated by the first container that failed on the second container from the physical external memory device via a dedicated hardware link for high-speed container failure recovery;
- and
- processing the service request by the second container from a point where the first container failed.
Dependencies are inferred from the claim text.