Source code analysis of redis cluster visit

gossip Update in github later, please stamp redis Cluster - > visit Catalog cluster bus When will the message be sent ping pong cluster bus Come from cluster-tutorial Each Redis cluster node needs two TCP connections. The general TCP port is used to interact with the client, such as 6379. Ther ...

Posted on Sun, 19 Jan 2020 09:06:12 -0500 by timj

unipush implementation of ios and android push tutorial

Write before: 1.unipush supports many push templates. Friends who are interested in learning about it can Official website View: if you want to push ios, you can only use the passthrough template. If you want to push Android and ios, you need to make some changes in the passthrough template code o ...

Posted on Sun, 19 Jan 2020 07:44:34 -0500 by Skipjackrick

OAuth2 protocol and Spring Security OAuth2 integration

The authorization protocol of OAuth 2.0 allows third-party applications to access restricted HTTP resources. As usual, when you use Github and Google account to log in to other systems, you use the OAuth 2.0 authorization framework. The following figure is the authorization page diagram of using Github account to log in to Coding system: ...

Posted on Sun, 19 Jan 2020 01:58:18 -0500 by tanita

Actually tested two GitHub open source ticket grabbing plug-ins, and all the pits have been stepped on for you

If you don't have any confidence in your speed and all kinds of "acceleration packs" on the market, you might as well try the programmer's method to grab tickets? What's more, [12306 official announced to block a large number of paid ticket grabbing software], which means that even if you pay the membership fee for these software, you ...

Posted on Sat, 18 Jan 2020 13:33:13 -0500 by newbeee

It's 2020, don't you study generics well?

I. overview Java generics is a new feature introduced in JDK 1.5. Generics provides a compile time type security detection mechanism, which allows developers to detect illegal types at compile time. 1.1 what are generics? Generic, that is, parameterized type. When referring to parameters, the most familiar thing is that there is a formal para ...

Posted on Sat, 18 Jan 2020 08:20:53 -0500 by ecco

Implementation of Java chat room

Implementation of Java chat room Simple single thread chat room 1.1 implementation of client 1.2 implementation of server side Multithreaded chat room 1.1 server side 1.2 client Realize the sending of files 1.1 agreement Realize video chat and voice chat Simple single thread chat room Let' ...

Posted on Sat, 18 Jan 2020 04:42:45 -0500 by starram

React16 source code interpretation: uncover ReactDOM.render

Introduction stay Last article We quickly build a simple example through the create react app scaffold, and based on this example, we explain the implementation principle behind React.Component and React.PureComponent in class components. At the same time, we also learned that by using the Babel preset toolkit @ Babel / preset react, the return ...

Posted on Sat, 18 Jan 2020 03:53:22 -0500 by condorchou

python learning notes hands on how to use native urllib to send network requests

example teaching urllib.urlopen(url[,data[,proxies]]) : https://docs.python.org/2/library/urllib.html The default library of network requests in python is the urllib series, including urllib urllib2 and urllib3, which cooperate with each other in most cases Of course, there are many excellent third ...

Posted on Sat, 18 Jan 2020 01:30:27 -0500 by phprocker

Transplantation of Openwrt1806 on Quanzhi H3 (Ginkgo biloba icore5)

Written in the front H3 has many development boards for reference, mainly including nanopi, orange PI, etc. most of these development boards support debian systems. For the purpose of learning, they want to run an openwrt. Openwrt18.06 has supported many boards of Quanzhi. Here we mainly refer to nanopi-m1-plus Configuration and principle of op ...

Posted on Fri, 17 Jan 2020 05:46:32 -0500 by AffApprentice

Spring cloud distributed micro service Cloud Architecture spring cloud feign

feigin is a templated, declarative HTTP client. Feign can simplify HTTP request access by binding annotations to the interface. To understand the spring cloud architecture, we can add the following requirements: three five three six two four seven two five nine. Of course, we can also customize the cust ...

Posted on Thu, 16 Jan 2020 22:31:38 -0500 by papa