HttpClient introduction and simple use process
1.HttpClient
All calls between services in spring cloud use HttpClient. In addition, HttpClient is encapsulated in SolrJ. When calling the saveBean method of SolrTemplate, HttpClient technology is called.
At present, the exposed interface of most projects is Http request, and the data format is JSON format, but webService is still used in som ...
Posted by paulg on Mon, 20 Sep 2021 02:33:50 -0700
Huawei experiment ppp certification
Experimental principle
The reason why PPP protocol has become a more extensive protocol in Wan is that it provides CHAP,PAP and other verification protocols to better ensure the security of the network PAP is two handshake authentication. The user name and secret are repeatedly sent to the authenticator on the link until the authentication pas ...
Posted by gordo2dope on Fri, 17 Sep 2021 18:57:14 -0700
HTTP request in Blazor WebAssembly application
In my previous article HTTP request in Blazor Server application, I introduced the related technologies of HTTP request in Blazor Server application. In Blazor Server App, you can access all. NET class libraries and components. However, if you create a Blazor WebAssembly application, your code will run in the browser sandbox of the client, an ...
Posted by pragma on Fri, 10 Sep 2021 19:17:05 -0700
OkHttp3 source code, detailed cache strategy, worship
//If the current cache does not meet the requirements, close it
if (cacheCandidate != null && cacheResponse == null) {
closeQuietly(cacheCandidate.body()); // The cache candidate wasn't applicable. Close it.
}
// If the network cannot be used and there is no qualified cache, a 504 error will be thrown directly
if (networkReques ...
Posted by ozman26 on Mon, 06 Sep 2021 14:08:08 -0700
Crazy SpringCloud Notes 05 (Hystrix and Zuul and Config)
8. Hystrix: service is broken
Problems with Distributed Systems
Applications in a complex distributed architecture have dozens of dependencies, each of which will inevitably fail at some point!
8.1 Service Avalanches
When invoking between multiple micro-services, assume that micro-service A invokes micro-service B and micro-service C, ...
Posted by auro on Thu, 02 Sep 2021 15:30:25 -0700