Developing Simple Multiprocess Applications in Linux

Many threads in a process share memory space such as the heap of a process, so it is very convenient to realize data interaction; but in a multi-process architecture, it is relatively difficult to achieve data interaction between multiple processes. InterProcess Communication (IPC) refers to the transfer or exchange of information between diffe ...

Posted by knox203 on Wed, 10 Apr 2019 00:48:32 -0700

Redis Note 8: Parse the configuration file redis.conf

If it's a professional DBA, the instance boots with a lot of parameters to make the system run very stable, which may add a parameter after Redis at boot to specify the path of the configuration file, just like MySQL, to start the database by reading the boot configuration file. After the source code is compiled, there is a redis.conf file in ...

Posted by eurozaf on Tue, 09 Apr 2019 11:18:31 -0700

Channel (1) Channel Foundation in Java NIO

What is Channel It's hard to define this truth, it's a bit abstract, but we can understand it according to its purpose. Channels are mainly used to transfer data, from one side of the buffer to the other side of the entity (such as files, sockets, etc.), and vice versa. Channel is the conduit to access IO services, through which we can acces ...

Posted by phrater on Mon, 08 Apr 2019 23:18:30 -0700

Installation of Jumpserver (Section 1) - yellowcong

This article explains how to install jump server. Simply speaking, you can basically build it according to the official documents. It's very simple. Official documents http://docs.jumpserver.org/zh/ Basic services The version of MySQL 5.6 MariaDB is greater than or equal to 5.5.6 redis nginx 1 Machine Configuration 1.1 ...

Posted by hr8886 on Sat, 06 Apr 2019 16:27:30 -0700

Erlang/Elixir: A-C Node for External Communication

Series:Erlang/Elixir: External Communication-NIFErlang/Elixir: Port Driver for External CommunicationErlang/Elixir: A-C Node for External Communication The C node uses Erl_Interface provided by Erlang to interact with Erlang VM, so it needs to include a header file in the C file:#include "erl_interface.h" Update 2016-08-14: C Node Multithread ...

Posted by CreativityLost on Sat, 06 Apr 2019 15:30:30 -0700

find command in detail

Today, let's share how the find command is used. Find: Compared with other search commands, such as locate, find is real-time and accurate, but its disadvantage is that the search speed is slow. find usage can be summarized as follows: find Find find Path Finding Standard Processing Action Find Path: The file path you want to find defau ...

Posted by Davy on Fri, 05 Apr 2019 23:03:31 -0700

Android-IPC III IPC Mode in Android

Mode 1 - Bundle Bundle supports Bundle data transfer in Intent by using the three components of Bundle's four major Soviet construction projects. Bundle implements Parcelable interface, which can be easily transmitted between different processes. Mode 2 - File Sharing By streaming data, the Linux system allows concurrent reading/writing of ...

Posted by Baseball on Fri, 05 Apr 2019 15:24:30 -0700

Socket Large File Breakpoint Upload in Android

What is Socket? Socket s are also called sockets. They are used to describe IP addresses and ports. They are handles for communication links. Applications usually send requests to or respond to network requests through sockets. They are abstract representations of endpoints in the process of network communication. It mainly includes the foll ...

Posted by noodle on Tue, 02 Apr 2019 23:15:31 -0700

QSTitle Creation Process

This paper will analyze the creation process of QSTitle component in Android 6.0, starting from the boot-up init process to the specific creation of each QSTitle object, how to add the drop-down status bar to sort out the related overall process of QSTitle. When the android device is powered on, the bootstrap boots into boot (usually uboot ...

Posted by Illusionist on Mon, 01 Apr 2019 09:03:28 -0700

Design Patterns Series - Singleton Patterns

I. Singleton Model Only one special class called singletons is included in its core structure. The singleton pattern ensures that there is only one instance of a class applying the pattern in the system. That is, a class has only one instance of an object. Two, classification There are two types: lazy and hungry. III. Application scenarios ...

Posted by acannings on Mon, 01 Apr 2019 07:33:30 -0700