Follow the “Wonderful World of Linux” on the public account Set it as a “star” and let you play Linux every day! I. Overview To use Filebeat to collect Pod and Events logs in Kubernetes, you need to configure Filebeat to accommodate both types of data. Here are the detailed instructions: 1) Introduction to the […]
Tag: events
HTTP SSE (Server-Sent Events)
SSE (Server-Sent Events) is a server push technology based on the HTTP protocol, which is used to realize the function of the server sending events to the client in real time. In SSE, the server can send different types of messages to the client. The following are the message types that may appear in SSE: […]
Java + selemuim implements monitoring of web page window components and events, completes login and “anti-hangup”
java + selemuim automation realizes monitoring of web page window components and events, completes login and “anti-hangup” Download chrome browser There are historical versions for win and mac systems: Link: https://vikyd.github.io/download-chromium-history-version/# Download chrome driver Once you know the version number of the Chrome browser, you can start downloading the corresponding version of Chrome Driver. Taobao […]
Java + selemuim automation realizes monitoring of web page window components and events, completes login and “anti-hangup”
java + selemuim automation realizes monitoring of web page window components and events, completes login and “anti-hangup” Download chrome browser There are historical versions for win and mac systems: Link: https://vikyd.github.io/download-chromium-history-version/# Download chrome driver Once you know the version number of the Chrome browser, you can start downloading the corresponding version of Chrome Driver. >Taobao […]
Web APIs – event listening and mouse events
1. Event monitoring What is an event? Events are actions or things that happen within the system while programming For example, a user clicks a button on a web page What is event listening? It is to let the program detect whether an event occurs. Once an event is triggered, it immediately calls a function […]
Qt Signals & Slots VS QEvents – Qt cross-thread asynchronous operation performance test and selection suggestions
Related code reference: https://gitcode.net/coloreaglestdio/qtcpp_demo/-/tree/master/qt_event_signal 1. Origin of the problem When implementing low-latency transformation of taskBus, avoiding the abuse of signals and slots played a better role. In the previous article, the author described how to improve the throughput of the software radio (SDR) platform by avoiding broadcast signals and frequent new and delete. Recently, considering […]
[Official account development] Obtaining Access Token · Requesting the official account server to create a custom menu · Handling custom menu button events
[Public account development] (3) Article directory [Public account development] (3) 1. Get access token 1.1 Determine parameters 1.2 Complete URL (add query string) 1.3 Testing 2. Encapsulate AccessToken for storage and later use 2.1 TokenUtils makes some adjustments 2.2 AccessToken in singleton mode 2.3 TokenUtils method of obtaining globally unique token string 3. Custom menu […]
The use of ManualResetEvent and ManualResetEventSlim in C#
Starting with .NET Framework version 2.0, ManualResetEvent derives from the EventWaitHandle class. The ManualResetEvent is functionally equivalent to the EventWaitHandle created using EventResetMode.ManualReset. ManualResetEventSlim is used to achieve better performance of ManualResetEvent. The following introduces a summary of the use of ManualResetEvent and ManualResetEventSlim in .NET (C#). 1. ManualResetEvent and ManualResetEventSlim ManualResetEvent represents a thread […]
27 | I/O multiplexing meets threads: use poll to handle all I/O events in a single thread
In the previous two lectures, I used fork processes and pthread threads to handle multiple concurrencies respectively. These two technologies are simple to use, but their performance will drop rapidly as the number of concurrencies increases, and they cannot meet the needs of extremely high concurrency. As mentioned in Lecture 24, we need to find […]
20 | Daimyo’s choice: see how I can perceive multiple I/O events at the same time
This lecture is the first lecture in the performance chapter. In the performance chapter, we will focus on how to design high-concurrency and high-performance network server programs. I hope that through the study of this module, you can master the knowledge of multiplexing, asynchronous I/O, multi-threading, etc., so that you can write a high-performance network […]