What are the characteristics of zabbix-server program
This article mainly explains "zabbix-server program has what characteristics", the explanation content in the article is simple and clear, easy to learn and understand, please follow the small series of ideas slowly in-depth, together to study and learn "zabbix-server program has what characteristics" bar!
A little look at the logic of the zabbix-server program has the following characteristics:
Macros are heavily used in zabbix programs to pre-define method names, variable names, etc.
zabbix does not use pthread_create to create threads, but instead uses fork to create processes when threads use
zabbix-agent also doesn't use pthread_create for threading
Question:
zabbix why not use pthread_create lightweight thread to handle, collection scheduling
Why zabbix doesn't consider libevent to handle Io requests based on event mechanism (event-based callback is one of the more common methods used by servers when facing concurrency problems)
Simple timing diagram analysis of zabbix-server function call
Thank you for reading, the above is "zabbix-server program what characteristics" of the content, after learning this article, I believe we have what characteristics of zabbix-server program this problem has a deeper understanding, specific use of the situation also needs to be verified. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!