Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. It provides you with one place to start, stop, and monitor your processes. Processes can be controlled individually or in groups. Supervisor starts its subprocesses via fork/exec and subprocesses don’t daemonize. The operating system […]
Are you new to Linux or just a little rusty? Here are all the commands you’ll need to know. Think of this as an essential reference for the Linux terminal. This applies to the macOS command line, too. Linux includes a large number of commands, but we’ve chosen 20 of the most important ones to […]
Producer Consumer design pattern is an example of concurrency pattern in Java.The solution of the producer consumer problem can be classic wait and notify thread operations that are commonly used in multi-threading but in this article, we will deal with this by using the BlockingQueue implementation which was introduced in Java 5. The BlockingQueue interface […]
It is important to control the number of threads you spawn so as not to affect the system functionality when too many threads are running. Here we will use queue and thread to form a threadpool scenario So here’s something for myself next time I need a refresher. It’s the bare-bones concepts of Queuing and […]