RDD blood relationship source code details!

I. Dependency of RDD RDD dependencies fall into two categories: wide dependencies and narrow dependencies. We can think of it as follows: (1) Narrow dependencies: The partition of each parent RDD is used by at most one partition of the child RDD. (2) Wide dependency: Each parent RDD partition is used by multiple child RDD partitions. Narrow ...

Added by infomamun on Wed, 26 Jun 2019 23:38:31 +0300

Picasso Basic Use and Source Complete Resolution of Android Picture Loading Framework

Write before Originally intended to update a blog every week, while recording the state of life for a week, but a little busy work will not take into account the blog. Miserable Or to mention the recent situation, in the last two weeks has been receiving the company's application billing point, Wo store, silver shells, Wechat, etc., and then is ...

Added by icyfire624 on Wed, 26 Jun 2019 21:45:32 +0300

Process pool thread pool

The concept of pool Because the hardware resources of the server are "abundant", a direct way to improve the performance of the server is to exchange space for time, that is, to "waste" the hardware resources of the server in exchange for its operational efficiency. This is the concept of pool. A pool is a collection of ...

Added by aprieto on Wed, 26 Jun 2019 01:38:00 +0300

Java 7 enhanced try statement closes resources

Java 7 enhanced try statement closes resources Traditional ways of closing resources import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; class Student implements Serializable { private String name; public Student(String name) { this.name = name; ...

Added by GeoffOs on Tue, 25 Jun 2019 21:55:48 +0300

Two listeners on an Oracle database server are used at the same time

I remember that engineers at Oracle's original factory found that two monitors were started on an Oracle database server during routine checks. They monitored ports 1521 and 1581 respectively, and both ports were in use. At that time, it was regarded as a strange phenomenon that they could not understand why. In recent days, after reading the O ...

Added by stubarny on Tue, 25 Jun 2019 21:40:40 +0300

[Debugging Tool] tcpdump

Original address: tcpdump grab package tool usetcpdump is a necessary tool for debugging network communication programs.tcpdump is powerful and you can see every detail of the network communication.For example, TCP, you can see three handshakes, PUSH/ACK data push, close four waves, all details.Include bytes per network packet, time, etc. The s ...

Added by trilbyfish on Mon, 24 Jun 2019 19:02:10 +0300

RxEasyHttp: A Simple and Easy Network Request Framework Based on RxJava+Retrofit2

Source address: https://github.com/zhou-you/RxEasyHttp RxEasyHttp This library is a simple and easy-to-use network request framework based on Retrofit2+RxJava. It combines the characteristics of android platform with network encapsulation library. It uses api chain to call one point to the end, integrates cookie management, multiple cachi ...

Added by Archangel915 on Sun, 23 Jun 2019 22:13:35 +0300

CentOS7 Configuration of NAT Server and Port Mapping

Recently, an Esxi server needs to be hosted, only one public network ip, but all virtual machines need to access the public network. I haven't found a NAT network model similar to Vmware workstation in Esxi, so I want to use a virtual machine as a NAT server. My virtual machine system has Win2008 and entOS7. Considering the stability, I chose ...

Added by rustyofco on Sun, 23 Jun 2019 00:32:54 +0300

RxJava 2.0 tutorial from scratch (4) Application in Android

From: http://blog.csdn.net/qq_35064774/article/details/53065400 1. Preface In article 123, I introduced the basic usage of RxJava 2.0. This article will be introduced in Android The basic usage of the phrase ___________.   Attached are links to this series of tutorials.  Rx Java 2.0 tutorial from scratch (1) Foundation RxJav ...

Added by leetcrew on Sun, 23 Jun 2019 00:17:57 +0300

okhttp3.0 Ignores https certificates

Recent corporate projects require that the network protocol support https, which has not been touched much before, so this time I would like to summarize the relevant content of HTTPS in android development. 1. https Certificate For the concepts of https and certificates, you can search for Baidu yourself. There are two types of certificat ...

Added by vB3Dev.Com on Sat, 22 Jun 2019 20:44:31 +0300