LOAD BALANCING METHOD AND RELATED DEVICE

    公开(公告)号:US20220318071A1

    公开(公告)日:2022-10-06

    申请号:US17843754

    申请日:2022-06-17

    Abstract: A load balancing method and a related device is provided. The method includes: determining topology information of each of a plurality of smallest management units pods in a load balancing cluster to which a first node belongs, where the plurality of pods are distributed on at least two nodes; determining a weight of each of the plurality of pods based on the topology information of each pod; and selecting a target pod from the plurality of pods based on the weight of each pod, where the target pod is configured to process a currently to-be-processed task in the first node. In embodiments of this application, network overheads can be reduced when a task request is allocated.

    CONTAINER ISOLATION METHOD AND APPARATUS FOR NETLINK RESOURCE

    公开(公告)号:US20200167186A1

    公开(公告)日:2020-05-28

    申请号:US16777516

    申请日:2020-01-30

    Abstract: A container isolation method for a netlink resource includes receiving, by a kernel executed by a processor, a trigger instruction from an application program. The method also includes creating, by the kernel according to the trigger instruction, a container corresponding to the application program, creating a netlink namespace for the container, and sending a notification to the application program indicating that the netlink namespace is created. The method further includes receiving, by the kernel, a netlink message from the container, wherein the netlink message comprises entries generated when the container runs. The method additionally includes storing, by the kernel, the entries based on an identifier of the netlink namespace for the container, to send an entry required by the container to user space of the container.

Patent Agency Ranking