[0x04] label management

What is a label When publishing a version, we usually tag it in the version library first, so that we can only determine the version at the time of labeling. Whenever a label version is taken in the future, it is the historical version of the labeled time. Therefore, the tag is also a snapshot of the version library. Although the Git tag is a ...

Posted by unklematt on Sun, 05 Dec 2021 15:23:27 -0800

Container shorthand - Dockerfile main directive

This article introduces the purpose of the main commands in Dockerfile FROM Specify the basic image. The recommended method is image:tag. Specify it precisely. Note: you can use multiple FROM, which will build multiple mirrors. For example, I want busybox and nginx at the same time. I can write this FROM busybox:latest FROM nginx:latest ...

Posted by Fsoft on Sun, 05 Dec 2021 15:09:33 -0800

Java Basics - exceptions

Note: the data comes from Blue bridge cloud course( https://www.lanqiao.cn/ ) , interested partners can go to the official website to learn. Here is the information compiled by Xiaobian after his study. If there is any error, please leave a message for discussion. Thank you! summary Exception refers to all kinds of unexpected conditions that ...

Posted by ajsuk on Sun, 05 Dec 2021 15:08:01 -0800

Why use redistribution to solve the problem of distributed locking in high concurrency scenarios

Business scenario: implementation of inventory reduction code in high concurrency scenario Scheme 1: use JVM or JDK level locks [synchronized] Problem: if you use synchronized locking, there is no problem in a single machine environment, but there will be problems in a cluster / distributed environment, and it will not lock across tomcat. @Res ...

Posted by cnagra on Sun, 05 Dec 2021 15:02:17 -0800

Simple implementation of Socket communication based on Java

J3 - white startTechnology (TCP/IP # UDP # Socket) Recently opened a project: https://gitee.com/j3_baiqi/communication Welcome to point out the project structure, coding problems and business direction 😊😊😊😊😊😊. 1, What is a Socket Encyclopedias: Vernacular is the interactive interface based on the network communication protocol ( ...

Posted by harsha on Sun, 05 Dec 2021 14:27:06 -0800

[advanced MySQL database] the interviewer often asks about index + transaction + JDBC

Index and transaction 🎈🎆🎇 preface: This post only introduces the principles and concepts, not the specific underlying implementation 1, Index 1.1 what is an index How to find the target quickly when the number in the database is huge? The index is used. If a book wants to quickly find the knowledge points it wants, it will firs ...

Posted by Unforgiven on Sun, 05 Dec 2021 14:12:33 -0800

Container network configuration of Docker

Container network configuration of Docker The creation of namespace in Linux kernel ip netns command You can complete various operations on the Network Namespace with the help of the ip netns command. The ip netns command comes from the iproute installation package. Generally, the system will install it by default. If not, please install it ...

Posted by tili on Sun, 05 Dec 2021 14:10:55 -0800

Classic examples of C language 1-5

Starting from today, five classic examples of C language will be updated every day, which is suitable for friends who are learning C language or just finished learning C language and want to lay a solid foundation. Each example is equipped with analysis and review of basic knowledge. Novice authors hope that families will pay attention to and p ...

Posted by wiggly81 on Sun, 05 Dec 2021 14:02:56 -0800

Spring - automatic injection?

The way we often inject is similar to this@Service public class HelloService { @Autowired private BeanFactory beanFactory; @Autowired public HelloService(ApplicationContext applicationContext) { } @Autowired public void setEnvironment(Environment environment) { } }Whether constructor injection or attribute inj ...

Posted by kane007 on Sun, 05 Dec 2021 14:01:29 -0800

MySQL master-slave replication and separation analysis

catalogue MySQL master-slave replication         Master slave replication architecture and principle                   Function of replication                 Replication schema     ...

Posted by connex on Sun, 05 Dec 2021 14:00:44 -0800