Ring Buffer

When we process network packets again, we may put the received network packets into the buffer for further processing. Here I have written a ring buffer in C++ according to my own needs, which is actually an array for simulation. The first header file,'RingBuffer.h', is as follows: #pragma once //The size of the buf ...

Posted on Tue, 26 May 2020 13:20:38 -0400 by SUNNY ARSLAN

Network data reading framework - use of OkHttp

Introduction and usage of OkHttp framework effect OkHttp is mainly used for network reading and file upload of data such as String, but it is not good enough in image cache processing, so you need to manually set the cache area Use [take Android Studio for example] 1, Add OkHttp framework In Android Studio, File &r ...

Posted on Tue, 26 May 2020 11:37:25 -0400 by PHP Man

Network data reading framework - use of OkHttp

Introduction and usage of OkHttp framework effect OkHttp is mainly used for network reading and file upload of data such as String, but it is not good enough in image cache processing, so you need to manually set the cache area Use [take Android Studio for example] 1, Add OkHttp framework In Android Studio, File &r ...

Posted on Tue, 26 May 2020 11:29:46 -0400 by ayok

How to use Istio for multi cluster deployment management: multi control plane

By Wang Xining, senior technical expert of alicloud Introduction: This article is excerpted from the book "analysis and practice of Istio service grid technology" written by Wang Xining, a senior Alibaba cloud technology expert. It describes how to use Istio for multi cluster deployment management to explain the support ability of s ...

Posted on Mon, 25 May 2020 03:35:25 -0400 by loveitandhateit

MFS (MooseFS Distributed File System)

Author: Zhang Shoufu Time: 2020-05-22 w x: y18163201 MooseFS[MFS] is a fault-tolerant network distributed file system.It distributes data across multiple physical servers and presents users with a unified resource. Official address: http://www.moosefs.com/ Introduction to MFS MooseFS is a fault-tolerant, highly available, high-performance, s ...

Posted on Sun, 24 May 2020 21:12:59 -0400 by m@ndio

Docker network of container technology

In the previous blog, we mainly talked about the description of docker image and how to make image based on existing image and distribute image to docker warehouse. For review, please refer to https://www.cnblogs.com/qiuhom-1874/p/12941508.html Today, let's talk about the description of docker's network; When using vm virtual machine, we know t ...

Posted on Sun, 24 May 2020 10:06:20 -0400 by bugcoder

Python deep learning practical course: UNet semantic segmentation Network - Zhihu

GitHub Jack-Cherish/PythonPark Have included, have technical articles, collated learning materials, first-line factory interview experience sharing, etc., welcome Star and perfect. 1, Foreword This article belongs to a series of in-depth learning semantic segmentation tutorials of Python. The contents of this series are: ...

Posted on Sun, 24 May 2020 07:08:47 -0400 by jpbellavance

CentOS7 installs kubernetes 1.18.1 and uses flannel;

1, Overview Building Kubernetes cluster by hand is a very tedious thing. In order to simplify these operations, there are many installation and configuration tools, such as kubedm, kubespreay, RKE and other components. I finally chose the official kubedm mainly because there are some differences between different versions of Kubernete ...

Posted on Sat, 23 May 2020 03:57:28 -0400 by new7media

Article title: encapsulation of Retrofit2+Rxjava2 network request framework

Based on the networking framework of Retrofit and Rxjava2, the builder mode constructs RestClient, encapsulates the request method, supports configuration loading animation, and chain call. Unified request to get the original data returned by the background. Let's take a look at the network request sample code Chain c ...

Posted on Fri, 22 May 2020 12:23:59 -0400 by EPCtech

Summary of installation problems of kubernetes(kubeadm) cluster

1. kubelet and docker driver are inconsistent (other attempts to solve copywriting on the Internet are invalid, and finally the following methods are used to solve)Exception [kubelet cgroup driver: cgroupfs is inconsistent with docker cgroup driver: systemd] The exception is described as follows: failed to create kubelet: misconfiguration: kub ...

Posted on Fri, 22 May 2020 12:14:36 -0400 by philvia