A lot of research has recently been conducted on edge computing. Since edge servers have relatively small computational resources, it is necessary to perform processing by utilizing the resources of multiple servers for effective resource utilization at each edge server. Conventional technologies for improving the efficiency of computational processing, such as the Message Passing Interface, often require the development of programs to optimize computational processing for dedicated execution environments and are thus unsuitable for edge environments where the server environment is diverse and the load status changes over time. Our research group has studied data processing at edge servers and proposed a method for performing data processing by repeating small processes and data transfers among multiple general-purpose servers. However, we have not developed a concrete method for partitioning a program and combining the parts into a set of small processes. In this paper, we propose a method for transparently creating microservices by automatically partitioning a monolithic program into small processes, which can be executed and transfer data among themselves, without considering the optimization of the processes during program development. A sample program is partitioned using the proposed method to demonstrate that the partitioning of functions and establishment of flexible communication connections among the partitioned functions can be realized.journal articl