Ever since the advent of ebpf, various use-cases have sprung up where ebpf can be used. One such example is a packet-filter that leverages ebpf to provide more security, customisable and with less performance overhead. Lets understand how to build our own packet filter using LPM map.
Netlink provides the sock_diag subsystem for obtaining information about sockets from the kernel. Get to know about how to obtain such information using netlink programming.
When a listen port bound process spawns a child process, netstat reports only one process whereas ss reports both parent and child processes in their outputs respectively. Let's understand how this is handled internally in netstat and ss.
Network interface flapping occurs when an interface repeatedly transitions between up and down states, causing intermittent connectivity and degrading overall network performance. This instability can lead to service disruptions, complicate troubleshooting efforts, and reduce the reliability of network communications. The challenge is to accurately detect, analyze, and mitigate these flapping events to ensure a stable and robust network environment.
Python lacks a built-in equivalent to Java’s ScheduledThreadPoolExecutor for scheduling tasks to run after a delay or at fixed intervals. This article explains about the implementation of ScheduledThreadPoolExecutor in python with similar Java APIs.
Have you ever noticed that in some cases, Java will not take the time zone which is configured in a server? This has serious impacts if the server handles scheduling tasks and runs them periodically.
In systems that require scheduled or deferred execution of tasks, a delay queue serves as a critical component to hold elements until their specified delay expires. However, python lacks a built-in delay queue implementation. Lets get into the details.