A user datagram protocol (UDP) message distribution apparatus, comprising at least one processor and memory storing therein computer program instructions, which, when executed by the at least one processor, cause the at least one processor to provide software modules including:
- a receiving module configured to receive a UDP message from a terminal device;
- a processing module configured to determine a target process group from a plurality of process groups of a reuseport group according to a quadruple carried by the UDP message, wherein the plurality of process groups are created in sequence for an application service, and each of the plurality of process groups has an EBPF resource independent from each other;
- a selecting module configured to select a target FD from FDs of a plurality of processes of the target process group;
- and
- a distributing module configured to distribute the UDP message using the target FD.