Patent attributes
A message sending method, a message sending apparatus, a readable medium, and an electronic device are provided. The method includes: determining a message type of a current message received in a current time window, where the message type includes a first message type and a second message type; buffering the current message in a target buffer queue corresponding to the current message if the determined message type is the first message type, where each message in the target buffer queue has an associated timestamp; and sending the current message to a target client if the determined message type is the second message type, and a total number of messages sent to the target client within the current time window does not reach a first preset threshold, where the target client is a receiver of the current message.