Description of spring boot training projectBasic knowledgeInterview preparation1. Project construction
1.1 new maven project1.1.2 bug s encountered1.2 configuration1.3 startup 2. Home page - article list
2.1 interface description2.2 coding2.2.0 Spring - annotation based development
2.2.1 table structureentity layer ...
Posted by tommyboy123x on Wed, 09 Mar 2022 17:29:43 +0100
1. What is the difference between process and thread?
Process is a program with certain independent functions. It is a running activity about a data set. It is the basic unit for the operating system to allocate resources.
Process refers to an application running in the system, which is the execution process of a program,We can understand it ...
Posted by mgm_03 on Wed, 09 Mar 2022 10:34:33 +0100
1. What is cache avalanche? How?
Usually, we use cache to buffer the impact on DB. If the cache goes down, all requests will be directly sent to DB, resulting in DB downtime - leading to the downtime of the whole system.
How to solve it?
Two strategies (used simultaneously):
Make cache highly available to prevent cache downtimeUsing ...
Posted by yarin on Wed, 09 Mar 2022 08:08:46 +0100
One afternoon, I received a request from HR on B's app and wanted a resume. So began the interview process that lasted more than a month. First, mobile phone computer HR gave me a link to algorithm problem on cattle net, asking the mobile phone to open a official account to keep it bright, and the computer to open the corresponding configuratio ...
Posted by Templar on Wed, 09 Mar 2022 07:56:28 +0100
Several commonly used design patterns (I): design principle, strategy pattern and observer pattern
Core: reuse - resist change
Object oriented design principles:
1. Dependency Inversion Principle (DIP)
High level modules (stable) should not rely on low-level modules (change), but both should rely on abstraction (stable). Abstract (st ...
Posted by jmicozzi on Tue, 08 Mar 2022 14:30:24 +0100
Full text outline
It's not easy to create. I hope I can praise, comment and collect. Students who want to study together can chat privately. We can add groups and study together!!
Process is the most basic concept in the operating system. The definition of a process in Linux kernel design is "a process is a program in execution". Pr ...
Posted by 7awaka on Mon, 07 Mar 2022 08:07:08 +0100
Recently, I did a topic of multithreading synchronization. I used conditional locking to solve it. By doing this problem, we can have a basic understanding of the application of locks. This article will briefly explain it.
Ps: after finishing, I found that this is the original question on Li buckle. T ...
Posted by moonman89 on Fri, 04 Mar 2022 13:34:38 +0100
Prometheus: Prometheus is an open monitoring solution. Users can easily install and use Prometheus and expand it
The following will implement the whole process of a SpringBoot application accessing Prometheus
Download package specified on the official website: https://prometheus.io/download/
Download loca ...
Posted by phpBeginner06 on Fri, 04 Mar 2022 13:27:44 +0100
hashCode() and HashSet, compareTo() and TreeSet
We often use Set in Java, but the author encountered a problem a few days ago. How to save the class he wrote into Set??
In the process of making force deduction, the generic parameters after Set are all wrapped classes, but some of the classes written by myself are not perfect enough, so the fu ...
Posted by olsrey on Fri, 04 Mar 2022 05:42:21 +0100