Dynamic Expansion of Cloud Disk Data Volume Using Ali Cloud CSI Plugin

Using cloud disks to store volumes often requires a cloud disk of appropriate capacity when the service is initialized, but as data grows, the capacity of the data disk cannot meet demand and needs to be expanded. In the expansion scenario of traditional applications, it is often necessary to stop the application manually, back up the data disk ...

Posted by Peter Anselmo on Wed, 12 Feb 2020 17:36:09 -0800

Unpacking and solution of Tcp sticking package

Sticking and unpacking of Tcp 1.TCP is connection oriented, flow oriented, and provides high reliability services. There must be one pair of socket s at both ends of the transceiver. Therefore, in order to send multiple packets to the receiver more effectively, the sender uses the optimization method ...

Posted by jaiswal on Wed, 12 Feb 2020 09:03:53 -0800

Flink notes: Flink uses EventTime to process real-time data

Combined with the previous post: Introduction to Time and Window in Flink , we learned that Flink's streaming process involves three time concepts. They are Event Time, induction time and Processing Time. If you still don't understand these three concepts of time, it's suggested that you jump to the pre ...

Posted by PHPSpirit on Wed, 12 Feb 2020 03:14:26 -0800

Spark Streaming of big data technology

Spark Streaming of big data technology 1: Overview 1. Definition: Spark Streaming is used for streaming data processing. Spark Streaming supports many data input sources, such as Kafka, Flume, Twitter, ZeroMQ and simple TCP sockets. After data input, you can use Spark's highly abstract primitives such ...

Posted by croakingtoad on Mon, 10 Feb 2020 07:28:21 -0800

Linux Network Programming TCP Application Example

Use TCP sockets to develop a program that simulates a user's remote login. (1) Design of server-side programs Server-side concurrency This program uses a multi-threaded approach to achieve the server's response to multiple client connection requests. The main program binds the socket to a self-s ...

Posted by egalp on Sun, 09 Feb 2020 20:37:26 -0800

Find the number of cores in Java

How do I find the number of cores available for an application from Java code? #1 building On Windows where Cygwin is installed, you can use: System.getenv("NUMBER_OF_PROCESSORS") #2 building If you want to get the number of physical cores, run the cmd and terminal commands, and then parse the output to get the required informatio ...

Posted by jogisarge on Sun, 09 Feb 2020 06:58:00 -0800

Smooth restart of GoLang service

elicit questions In the process of developing with go, if we modify the code, it is control+c that kills the running process, and then go run or go build that runs. When our project goes online, killing the process directly will lead to online service interruption, which is absolutely not allowed in ...

Posted by benrussell on Sat, 08 Feb 2020 03:31:02 -0800

linux domain socket

Unix domain socket One of the ways of communication between processes in Linux is through network socket. UNIX domain sockets are used to communicate with processes running on the same machine. Although Internet domain sockets can be used for this same purpose, UNIX domain sockets are more efficient. ...

Posted by Birmingham on Tue, 04 Feb 2020 22:55:17 -0800

Python full stack advanced programming skills 8.Python multitasking - Introduction to threads and processes

Article directory 1, Sharing global variable resource competition 2, Mutex and deadlock 1. mutual exclusive lock 2. deadlock Deadlock extension banker algorithm 3, Thread synchronization Condition 4, Multi task UDP chat 5, Process introduction 1. Concept analysis 2. Status of the process 3. Use pr ...

Posted by drucifer on Tue, 04 Feb 2020 04:58:09 -0800

Simple UDP communication between Simulink and Python

UDP communication between Simulink and Python This paper summarizes the recent tasks, uses UDP to realize the communication between simulink and python, and focuses on the code of the Python udp receiver (see for the usage of python socket Previous: basic usage of socket module in python) In fact, the ...

Posted by tommmmm on Tue, 04 Feb 2020 02:30:07 -0800