A function node migration method, comprising: obtaining access related information of at least one call chain (100, 200), wherein the access related information comprises at least one of the following information: a delay of each of N intervals comprised in the at least one call chain (100, 200), and a quantity of interaction times between function nodes in each of the N intervals, wherein N is a positive integer greater than or equal to 1; determining, based on the access related information, one or more target intervals from the N intervals, determining P key nodes from a plurality of function nodes that form the one or more target intervals, wherein when the access related information comprises the delay of each of N intervals, the N intervals are sorted in descending order of delays of the N intervals, and top K 1 intervals are determined as the target intervals, K 1 is a positive integer greater than or equal to 1 and less than N, or, an interval in which the delay exceeds a delay threshold in the N intervals is determined as the target interval, wherein when the access related information comprises the quantity of interaction times between the function nodes in each of the N intervals, the N intervals are sorted in descending order of the quantity of interaction times between the function nodes in the N intervals, and the top K 2 intervals are determined as the target intervals, K 2 is a positive integer greater than or equal to 1 and less than N, or, an interval in which the quantity of interaction times exceeds a quantity threshold of interaction times in the N intervals is determined as the target interval; and migrating the P key nodes, wherein P is a positive integer greater than or equal to 1. obtaining access related information of at least one call chain (100, 200), wherein the access related information comprises at least one of the following information: a delay of each of N intervals comprised in the at least one call chain (100, 200), and a quantity of interaction times between function nodes in each of the N intervals, wherein N is a positive integer greater than or equal to 1; determining, based on the access related information, one or more target intervals from the N intervals, determining P key nodes from a plurality of function nodes that form the one or more target intervals, wherein when the access related information comprises the delay of each of N intervals, the N intervals are sorted in descending order of delays of the N intervals, and top K 1 intervals are determined as the target intervals, K 1 is a positive integer greater than or equal to 1 and less than N, or, an interval in which the delay exceeds a delay threshold in the N intervals is determined as the target interval, wherein when the access related information comprises the quantity of interaction times between the function nodes in each of the N intervals, the N intervals are sorted in descending order of the quantity of interaction times between the function nodes in the N intervals, and the top K 2 intervals are determined as the target intervals, K 2 is a positive integer greater than or equal to 1 and less than N, or, an interval in which the quantity of interaction times exceeds a quantity threshold of interaction times in the N intervals is determined as the target interval; and migrating the P key nodes, wherein P is a positive integer greater than or equal to 1.