Spring Cloud upgrade road - Hoxton - 4. Use Resilience4j to achieve instance level isolation and fusing
How not to enable Hystrix
Because our entry annotation class is replaced by SpringBootApplication from @ SpringCloudApplication, spring cloud circuit breaker will not be enabled. The introduced Hystrix dependency has no effect. Please refer to Section 2 of this series: The way to upgrade Spring Cloud ...
Posted by cedricm on Fri, 05 Jun 2020 05:40:36 +0200
SOD Honey for.NET ORM--Introduction to Zero Foundations
PDF.NETThe SOD framework is not only an ORM, but its ORM function is unique. I have introduced it many times in the blog, but it is all theoretical. Many beginners may still feel complex. In fact, the ORM of SOD is very simple.Let's take a step-by-step look at the popular Code First approach.
I. Preparations
1.1, add SOD package reference
...
Posted by mandrews81 on Thu, 04 Jun 2020 02:09:52 +0200
Basic use of dayjs time processing library
Day.js Is a lightweight JavaScript time and date processing library, and Moment.js The API design of is consistent.
This article only introduces some common operations. For details of internationalization, plug-ins, customization and other advanced contents, please refer to the official documents.
Its main characteristics are as follows:
A ...
Posted by bond00 on Wed, 03 Jun 2020 18:23:55 +0200
Day 76: Scrapy analog login
by Leisure
Want to crawl website data? Log in first! For most large-scale websites, the first threshold to crawl their data is to log in to the website. Now please follow my steps to learn how to simulate landing on the website.
Why do I log in?
There are two kinds of websites on the Internet: need to log in and don't need to log in. (this ...
Posted by sousousou on Mon, 01 Jun 2020 08:43:33 +0200
GitHub access failed, solution < 2020 / 4 / 21 >
#Include < date: April 21, 2020 articles have been changed and updated to solve your problems more effectively
<----------------------------------------------------------------------------------------------------------------------------------------------> Preface: I don't know what the reason is, GitHub is not very friendly in China ...
Posted by vikela on Mon, 01 Jun 2020 05:38:55 +0200
Using Kotlin reflection skillfully to name by value, debugging more quickly and save money
Pain spot
We often define constants, such as
1
2
3
4
5
6
7
public interface ItemType {
public static final int TYPE_TEXT = 0;
public static final int TYPE_IMG = 1;
public static final int TYPE_VIDEO = 2;
public static final int TYPE_AUDIO = 3;
public static final int TYPE_LINK = 4;
}
When we print to see ...
Posted by Sh0t on Mon, 01 Jun 2020 03:04:06 +0200
Visitor mode of behavior mode
1 General
Visitor pattern is a behavior pattern, which is not commonly used. It can separate the algorithmic logic acting on the object from the object itself.
2 visitor mode
When we need to operate on a group of similar types of objects, we can maintain the operation logic within each object separately, but this violates the principle of singl ...
Posted by markl999 on Sun, 31 May 2020 11:54:48 +0200
Source code analysis of shiro filter
I. configuration
<!-- Shiro Of Web filter -->
<bean id="shiroFilter" class="org.apache.shiro.spring.web.ShiroFilterFactoryBean">
<!-- Injection Security Manager-->
<property name="securityManager" ref="securityManager"/>
<!-- Set up login URL-->
<property name="loginUrl" value="/login"/>
...
Posted by bdemo2 on Fri, 29 May 2020 18:11:48 +0200
Developing dynamic forms from 0 to 1
Tree sauce hope to bring the fun of the front end to you this article has been included github.com/littleTreem... Like star A kind of
Cutting edge: there are a lot of forms in the application of the middle and background. The left hand is a form, and the right hand is a form. There is no end to it. If you use templates to write one b ...
Posted by BSlepkov on Fri, 29 May 2020 06:52:42 +0200
Implementation of chat tool based on Serverless and Websocket
It is not difficult for traditional business to implement Websocket. However, function calculation is basically event driven and does not support long link operation. If the function calculation is combined with the API gateway, can there be a Websocket implementation scheme?
Implementation of Websocket with API gateway trigger
WebSocket pro ...
Posted by markepic on Wed, 27 May 2020 09:47:32 +0200