Kafka Quick Start (11) - RdKafka Source Analysis
1. RdKafka C Source Code Analysis
1. Kafka OP Queue
RdKafka encapsulates Kafka Broke's interactions and internally implemented operations into an Operator structure and then puts them into the OP processing queue for unified processing.The Kafka OP queue is the pipeline for inter-thread communic ...
Posted on Sun, 14 Jun 2020 20:23:45 -0400 by MrRosary
Matplotlib is the most widely used 2D graphic drawing library in Python. Learning the usage of Matplotlib well can help us show the state of various data more flexibly in statistical analysis. It can be used together with NumPy.
1. How to create
import matplotlib.pyplot as plt
Posted on Sun, 14 Jun 2020 02:22:51 -0400 by faraco
1.Spark performance tuning: use of checkPoint
Checkpoint means to establish checkpoints, similar to snapshots. For example, in spark computing, the computing process DAG is very long, and the server needs to complete the wh ...
Posted on Sun, 14 Jun 2020 00:48:31 -0400 by brokeDUstudent
This paper introduces some syntax specifications of Shell programming. The main reference is Google's Shell syntax style.
Which Shell to use
When to use Shell
Top level notes
Line length and long string
Posted on Sat, 13 Jun 2020 21:45:00 -0400 by pjc2003
1. Learn more about controllers
1.1 Controller Overview
Pod is the basis of all running applications or deploying services in kubernetes. It can be seen as a robot running in k8s. Applications running alone in Pod do not have advanced features, such as Pod cannot migrate automatically when a node fails, Pod multi-replica extends horizontally, ...
Posted on Sat, 13 Jun 2020 15:12:42 -0400 by hannnndy
The abbreviation of English Serial Peripheral interface, as the name implies, is Serial Peripheral interface. It was first defined by Motorola on its MC68HCXX series processor. SPI interface is mainly used in EEPROM, FLASH, real-time clock, AD converter, digital signal processor and digital signal d ...
Posted on Sat, 13 Jun 2020 06:04:53 -0400 by advancedfuture
In the previous article, we analyzed the unified structure task of processes and threads in the kernel_ Struct, this article will continue to analyze the process, thread creation and derivation process. First, it introduces how to edit a program into an execution file and finally into a pr ...
Posted on Fri, 12 Jun 2020 23:34:39 -0400 by prashanth0626
Simple common hello program cross compile Click here.
I'm not doing well, or even stupid, but no one teaches me.
The current skill is to compile a kernel module and Makefile in linux normally. After normal use, look for the specific command to execute for decomposition:
Posted on Fri, 12 Jun 2020 06:05:28 -0400 by spec36
1. Health examination
1.1 overview of health examination
In the process of application running, errors are inevitable, such as program exceptions, software exceptions, hardware failures, network failures, etc. kubernetes provides Health Check mechanism, which automatically restarts the container when application exceptions are found, and remo ...
Posted on Fri, 12 Jun 2020 03:25:48 -0400 by nenena
Chapter 15 planning tasks (crontab)
15.2 what is a planned task
Remind regularly or when the conditions are met.
15.1.1 types of Linux planned tasks: at, cron
Routine: matters to be done at regular intervals;
Unexpected: not after this time
Types of planned tasks:
At: can handle commands that ...
Posted on Fri, 12 Jun 2020 01:27:11 -0400 by antwown