Implicit and implicit in Scala
Implicit and implicit in Scala for implicit transformation and implicit parameters
Rules:
Available only if marked implicit
The implicit transformation being inserted must be a single identifier of the current scope or be associated with the source or target type of the implicit transformation
Only one implicit definition can be inserted ...
Posted by groovything on Thu, 26 Mar 2020 07:35:59 -0700
Dragon slaying in Java: how to modify syntax tree
stay Lombok is often used, but do you know how it works? , and Lombok is often used, but do you know how it works? (two) In the two articles, the underlying principle of Lombok is introduced. In fact, it is summed up as a sentence that is realized by changing the abstract syntax tree during compilation. The above two articles have talked about ...
Posted by lemming_ie on Thu, 26 Mar 2020 01:00:48 -0700
Wechat service number silent authorization calling procedure record
Wechat silent authorization process related problem process record
Related tools
Intranet penetration tool
Peanut hull
There is free 1G traffic per month, but I need to hold my ID card to take photos and upload. It's too troublesome to use.
natapp
Easy to use, you need to scan the real name with Alipay.
other... Other friends also ...
Posted by farkewie on Wed, 25 Mar 2020 21:04:12 -0700
Netflix Hystrix service monitoring of Spring Cloud series
Actuator
In addition to service fault tolerance, Hystrix also provides near real-time monitoring function, which collects the service execution results and running indicators, the number of successful requests, etc. through the activator, and then accesses / Actor / Hystrix.stream to see the real-time monitoring data.
Add dependency
...
Posted by roninblade on Wed, 25 Mar 2020 20:10:13 -0700
java object-oriented programming 3 Properties
Properties [key details]
1, Introduction & overview
Why use Properties: to save the configuration information of the program more professionally. Configuration information: information required for program running Program A: User name = zhangsan Password =xxxx IP=192.168.36.11 Authority = administrator Code table =utf-8 The Propert ...
Posted by ro1960 on Wed, 25 Mar 2020 10:04:27 -0700
Talk about skywalking's metric exporter
order
This paper mainly studies the metric exporter of skywalking
metric-exporter.proto
skywalking-6.6.0/oap-server/exporter/src/main/proto/metric-exporter.proto
syntax = "proto3";
option java_multiple_files = true;
option java_package = "org.apache.skywalking.oap.server.exporter.grpc";
service MetricExportService {
rpc export (stream Ex ...
Posted by rockstarmike on Wed, 25 Mar 2020 09:17:40 -0700
Laravel6 for third-party WeChat login
At present, many websites will have a lot of interactive functions, which reduces the user's operational difficulty, thus bringing the third-party login of WeChat to the project real-world function development.For the development content in this example, instead of using native content, use the encapsulated class libraries written by others dir ...
Posted by johnoc on Tue, 24 Mar 2020 19:58:08 -0700
Spring Cloud Micro Service Architecture From Getting Started to Getting Used - Service Gateway Authentication
In the previous article, we integrated a service gateway, Spring Cloud Gateway, where all service requests can be accessed through Gateway.We can then authenticate the user's request at the service gateway level to determine whether the routed API interface can be accessed.
So let's start with more authentication, and here we're using jwt
1. Cr ...
Posted by Zero20two on Tue, 24 Mar 2020 10:07:39 -0700
sentinel of grpc circuit breaker
background
In order to prevent the downstream service avalanche, the use of circuit breakers is considered here
Technology selection
Due to the spring boot service and the integration of istio, three solutions are considered here
istio
hystrix
sentinel
Here are the comparison of these schemes
Implementation of microservice circuit breaker mod ...
Posted by EagleAmerican on Tue, 24 Mar 2020 08:02:37 -0700
Performance comparison between golang sqlx and db.v3
Recently, when communicating with a big guy, I mentioned the problem of SQL query.
His idea is to query data with the most primitive database driver without ORM. The benefits of doing so are twofold
Express SQL semantics clearly for later optimization. Especially in report, data analysis and other complex SQL.
Reduce useless encapsulation and ...
Posted by Sravan on Tue, 24 Mar 2020 07:29:38 -0700