1, synchronized and Volatile
Visibility can be guaranteed, but atomicity cannot be guaranteed (thread safety problem)
Both visibility and atomicity can be guaranteed
Reordering is not prohibited
synchronized is blocking. Only one thread can access it at a time
Concept: the c ...
Official website address: SW-X framework - PHP swoolex framework focusing on high-performance and convenient development
I hope the big guys raise their hands and give my little brother a star: https://github.com/swoolex/swoolex
1. 404 interface configuration
In the HTTP service, when the corresponding route cannot be found, it will ...
Posted by nikes90 on Fri, 04 Mar 2022 08:05:05 +0100
Introduction to Lec7-K8S
1. Why do you need K8S?
1.1. What is the container?
Container is the representative of resource refinement.Container usually refers to the process running in an isolated environment and the environment on which the process depends.
Isolation: with the help of linux namespace mechanismResource limitation: cgroup c ...
Posted by We Must Design on Thu, 03 Mar 2022 02:12:57 +0100
Understand the direct way to solve problems with Java Streams, which is a framework that allows us to process large amounts of data quickly and effectively.
When we group the elements in the list, we can then aggregate the fields of the grouped elements to perform meaningful operations to help us analyze the data. Some examples are additio ...
Posted by shibiny on Mon, 28 Feb 2022 13:08:36 +0100
At the end of 2021, idle teachers began to prepare for the service of enterprise projects and built a basic cluster. Of course, the cluster should be used when it is built. This article introduces how to use open source software to build a set of automatically built project environment. With this environment, project development ...
Posted by hagman on Mon, 28 Feb 2022 08:53:02 +0100
Difference between fusing and degradation
Many developers will be confused about the difference between fusing and downgrade. The similarities and differences between the two are summarized below.
Similarities between fusing and degradation
Service degradation and service fusing are similar from some angles.
·Same purpose. Both are t ...
Posted by Spaceboy on Sat, 26 Feb 2022 07:41:34 +0100
Official website address
Official website document
Object: the basic object stored in Minio, such as file and byte streamBucket: the logical space used to store objects. The data of each bucket is isolated from each oth ...
Posted by stueee on Fri, 25 Feb 2022 16:31:59 +0100
Before that, we learned the global configuration file of mybatis. Now we begin to learn the mapping file of mybatis. In the mapping file, you can write the following top-level element labels:
cache – Cache configuration for this namespace.
cache-ref – Cache configuration that references other namespaces.
resultMap – Describing how to load obje ...
Posted by Buddski on Wed, 23 Feb 2022 08:01:31 +0100
1, BackgroundWith more and more activity components in vivo Wukong activity, the partners in the development of activity platform increasingly perceive that we lack a component library that can precipitate the general ability and improve the reusability of code. On the basis of this goal, acitivity components were born. However, with the increa ...
Posted by qaokpl on Tue, 22 Feb 2022 04:12:46 +0100
Kube scheduler source code analysis (1) - initialization and startup analysis
Introduction to Kube scheduler
Kube scheduler component is one of the core components in kubernetes. It is mainly responsible for the scheduling of pod resource objects. Specifically, Kube scheduler component is responsible for scheduling the unscheduled pod to the ...
Posted by newzub on Sun, 20 Feb 2022 07:36:20 +0100