[network programming] IO multiplexing epoll

executive summary          Last [network programming] IO multiplexing select I talked about the use of IO multiplexing and select. This article attempts to use epoll.          In terms of implementation mechanism, epoll object has two core data structures: eventpo ...

Posted on Tue, 12 Oct 2021 18:26:54 -0400 by Mr.x

Singleton model and factory pattern based on java

1, Single case model (1) Definition Singleton model: a pattern in which a class has only one instance and the class can create the instance itself. Singleton model and factory pattern based on java (2) Implementation mode Common implementation methods include lazy mode, hungry mode, double check lock, static internal class, enumeration ...

Posted on Sat, 18 Sep 2021 00:13:10 -0400 by jmantra

Analysis of actions processing flow of openvswitch datapath path

The previous chapter analyzes the flow table matching in datapatch. According to the matching results, there are two processes. If the matching is successful, the actions action will be executed. If there is no matching flow, it will be sent to the user status ovs through the upcall process. This chapter focuses on the ovs actions processing pr ...

Posted on Thu, 02 Sep 2021 15:23:42 -0400 by bouwob