The invention discloses a log storage and transmission
processing method and
system,
electronic equipment and a medium, and the method comprises the steps: obtaining an access parameter and a link log requested by a user at a
client, and obtaining to-be-stored log information; performing
serialization and first compression
processing on the to-be-stored log information to obtain first log information; sending the first log information to a service cluster through a
user datagram protocol or a
hypertext transfer protocol according to the
message size of the first log information and the number of servers in the service cluster; in the service cluster, writing the first log information into a double-buffer
queue, and transmitting the first log information to a storage cluster in a multi-thread aggregation mode; and in the storage cluster, performing second compression
processing on the first log information, and storing the first log information in a
database of the storage cluster. The log storage and transmission efficiency and the application performance are improved, read-write operation does not need to be conducted on a disk in the log transmission process, resources of a
server are saved, the technical cost is reduced, and the method can be widely applied to the technical field of computers.