Springboot+AOP + custom annotation implements operation log and exception log
In our daily work, we often encounter the need to implement the functions of operation log, login log, error log, etc. the young partners who have just joined the company do not know what to do, or the first idea is to write a method to add to the log table in each method in the business code, bu ...
Posted by LonelyPixel on Sun, 05 Dec 2021 22:09:11 -0800
Ten minutes to understand generics in TypeScript
Please indicate the source of Reprint: the official website of grape City, which provides professional development tools, solutions and services for developers to empower developers. Original source: https://blog.bitsrc.io/understanding-generics-in-typescript-1c041dc37569
What will you learn in this article
This article introduces the con ...
Posted by sstoveld on Sun, 05 Dec 2021 21:44:38 -0800
How do Kubernetes clusters support private images
Introduction: This article mainly introduces how to use private image to arrange containers in Kubernetes cluster.
For image download, domain name resolution and time synchronization, please click Alibaba open source mirror station
Operation method
Kubernetes clusters support the orchestration of containers using private ima ...
Posted by Some Poster55 on Sun, 05 Dec 2021 21:41:48 -0800
Practical part: N repair methods for bad Oracle data blocks
prefaceThe operation of Oracle database will inevitably encounter various errors, such as bad blocks in the data table. At this time, the data of your table can not be accessed. What good way can you recover it?What, haven't you met?Then I hope you will meet in the near future. Ha ha, make a joke ~ play and make trouble. Experience must be old! ...
Posted by deadoralive on Sun, 05 Dec 2021 21:40:06 -0800
Principle of distributed algorithm
Common generation strategies of distributed ID
The common distributed ID generation strategies are as follows:
Database autoincrement ID.UUID generation.Redis's atomic self increasing mode.Split the database horizontally, and set the initial value and the same self increasing step size.Self increment ID for batch application.Snowflake algorit ...
Posted by formlesstree4 on Sun, 05 Dec 2021 21:39:01 -0800
First Java Web application (configuration of Maven and Tomcat)
How is the website accessed?
1. Enter a domain name and press enter
2. Check whether there is this domain name mapping under the C:\Windows\System32\drivers\etc\host configuration file of this machine;
① Yes: directly return the corresponding IP address. In this address, there are web programs we need to access, which can be accessed directl ...
Posted by ybinds on Sun, 05 Dec 2021 21:37:47 -0800
The command line logs in to mysql and reports Segmentation fault. Troubleshooting
Disclaimer: This article only records the solutions to the problems encountered and the summary of learning experience. It is inevitable that there will be some thoughtless places. Please criticize and correct. Please do not use the content of this article for all your activities and behaviors. I will not bear any consequences arising therefrom ...
Posted by renegade44 on Sun, 05 Dec 2021 21:36:04 -0800
Going deep into TiDB: analyzing the implementation principle of Hash Join
This article is based on TiDB release-5.1 and needs to use versions after Go 1.16
My blog address: https://www.luozhiyun.com/archives/631
The so-called Hash Join is to select a table as the buildSide table to construct the hash table and another table as the probeSide table when joining; Then, for each row of data in the probeSide table, go to ...
Posted by adeelahmad on Sun, 05 Dec 2021 21:30:21 -0800
Prefix sum and difference array
Prefix sum and difference array
Basic concepts
Prefix and
We have an array. If we want to know the sum of interval [L, R], the usual way is to traverse it; This may be possible when the number of visits is relatively small, but when we need multiple visits, if we visit m times, the time complexity is O(m * n).
The prefix sum (space for time) ...
Posted by Gordicron on Sun, 05 Dec 2021 21:17:09 -0800
SpringMVC-part04 data processing and jump
4. Data processing and jump
In the previous section, we learned about controllers and Restful style operations
Mad God says spring mvc03: RestFul and controller
Now let's take a look at spring MVC parameter receiving processing and result jump processing!
4.1 result jump method
4.1.1ModelAndView
Set the ModelAndView object and jump to the ...
Posted by Christoph09 on Sun, 05 Dec 2021 21:04:34 -0800