Use of android request network and httpclient to upload and download

Original link: http://www.cnblogs.com/riasky/p/3464808.html The most important access to the network is the http protocol. The http protocol is simple, but it's important. Directly on the code, which is a code block code block, with whi ...

Posted by maverickminds on Sat, 19 Oct 2019 10:13:53 -0700

Implementation of p2p video call with WebRTC

brief introduction Objective to help oneself understand webrtc to realize end-to-end communication # Usage flow git clone https://gitee.com/wjj0720/webrtc.git cd ./webRTC npm i npm run dev # Visit 127.0.0.1:3003/test-1.html to demonstrate h5 media stream capture # Visit 127.0.0.1:3003/local.html to demonstrate rtc local transmis ...

Posted by viveleroi0 on Sat, 19 Oct 2019 08:17:49 -0700

Production of Flutter advanced practical 7-20 ground glass effect

The flitter widget of Flutter is also very powerful. It can make the magic filter effect you want. Here we will make a ground glass effect in the way of actual combat, and learn the use of Fitler through examples. The effect is as follows: do you know this teacher? Implementation process: I. pre ...

Posted by jess3333 on Sat, 19 Oct 2019 07:41:57 -0700

How to debug a Docker container from a separate container

Containers are great for encapsulating software, but sometimes you can go too far by blindly altering the container image to make it as small as possible. We need to find a good balance between "clean" images and images that cannot be debugged. The normal way to see people debugging a running container is to docker exec - it $containe ...

Posted by jolinar on Sat, 19 Oct 2019 04:23:48 -0700

Finish reading Runloop

Runloop is a basic component closely related to threads, and it is behind many functions related to threads. This article will summarize runloop from the following aspects: What is runloop The role of runloop The relationship between runloop and thread Detailed introduction of runloop and source code analysis Analysis of runloop principle runl ...

Posted by korngold on Fri, 18 Oct 2019 15:20:08 -0700

k8s component deployment of three node nodes

In the second chapter, three roles are deployed on the master, and then node nodes are deployed.Main deployment: kubelet Kube proxy I. environment preparation (the following operations are performed on the master) 1 create directory and copy two components mkdir /home/yx/kubernetes/{bin,cfg,ssl} -p # Both node nodes copy scp -r /home/yx/src/k ...

Posted by herod1 on Fri, 18 Oct 2019 11:51:58 -0700

Ribbon [load balancing strategy]

The ribbon has seven load balancing strategies to choose from: Strategy class name describe RandomRule Stochastic strategy Randomly select server RoundRobinRule round-robin policy Select server s in order (ribbon default policy) RetryRule Retry strategy During a configuration period, if the server is not selected successfull ...

Posted by ilovetoast on Fri, 18 Oct 2019 01:44:50 -0700

Client requests server communication, Web programming development basis

I haven't seen you for a long time. I miss you so much. The article I published earlier has finished the primary stage of Java. Next, Xiaole will continue to talk about Java intermediate stage - Java Web. First of all, let's take a look at the knowledge that the Java Web phase focuses on: Understand C/S and B/S structural modes Understandi ...

Posted by j0sh on Fri, 18 Oct 2019 01:42:25 -0700

Kafka self built cluster synchronizes data to Alibaba cloud Kafka Standard Edition through MirrorMaker

Explain:1. Only two topic s are synchronized this time, and subsequent optimization will continue to update...2. Self built cluster CDH5.8, kafka2.1.0; Alibaba cloud cluster Standard Version kafka0.10.xTrample:1. Add the CMM of kafka role instance in cdh, which should not support SSL connection.2. VPC network access. I don't know that the purc ...

Posted by midgar777 on Thu, 17 Oct 2019 21:15:50 -0700

Reptile performance analysis and optimization

Two days ago, we wrote a single task version of crawler, which crawled the user information of treasure net, so how about its performance? We can see from the network utilization. We can see from the performance analysis window in the task manager that the download rate is about 200kbps, which is quite slow. We analyze the design of single tas ...

Posted by JamieWAstin on Thu, 17 Oct 2019 10:45:42 -0700