Java
-
Blood spitting finishing: 13 military regulations for redis performance optimization! The most complete in history
In this article, we will use the following methods to improve the running speed of redis: 1. Shorten the storage lengt…… -
Spring boot (VI) integrates mybatis to operate MySQL 8
1、 Introduction 1.1 introduction to mybatis Mybatis is an excellent persistence layer framework, which supports custo…… -
Several ways of redis persistence — in-depth analysis of RDB
1. Several ways of persistence Redis persistence has the following three methods: Because each persistence scheme has …… -
Don’t ask me how many objects are created by the new string! Let me prove it to you!
I think all Java programmers have been troubled by this new string question. This is a high-frequency Java interview q…… -
Spring boot (11) redis integration is installed from docker to distributed session sharing
1、 Introduction Redis is an open-source log type key value database written in ANSI C language, supporting network, m…… -
The official version of redis 6.0 has finally been released! What’s new besides multithreading?
Redis 6.0. 1 was officially released on May 2, 2020. As andrez, the author of redis, said, this is the most "enterpris…… -
Junior sister learning java IO: directory or file
brief introduction What is the essence of directory and file? How to manipulate and traverse directories in Java. Seni…… -
Exception handling in Java 8 lambda expressions
Exception handling in Java 8 lambda expressions brief introduction Lambda expressions are introduced into Java 8. Lamb…… -
Java secure coding guide: Basics
brief introduction As a programmer, just writing easy-to-use code is not enough. We also need to consider the security…… -
Deadlock due to improper execution sequence
In order to ensure the safety of threads, we have introduced the locking mechanism, but if we use locking without rest…… -
Unexpectedly, the thread was starved to death!
When building a thread pool, we can build a thread pool for a single thread and a thread pool for multiple threads. So…… -
For everything about completable future, it’s enough to read this article
In the previous article, we explained future. In this article, we will continue to explain the usage of completable fu…… -
Junior sister learning java IO: file system and watchservice
brief introduction Younger martial sister encountered the problem of monitoring file changes this time. Elder martial …… -
New feature of JDK 14: instanceof pattern matching
New feature of JDK 14: instanceof pattern matching Jdk14 was officially released in March 2020. Unfortunately, the for…… -
Aslist and ArrayList have to tell stories
Aslist and ArrayList have to tell stories brief introduction When it comes to collection classes, ArrayList should be …… -
Spring 5. X Series tutorial: meet all your imagination of spring 5 – continuous update
brief introduction What makes the Java world better, programmers more friendly, and the baldness rate less high, so th…… -
Troubleshooting: using jfr to solve memory leakage
brief introduction Although Java has automated GC, there will be memory leaks. Of course, memory leaks in Java are dif…… -
You don’t know the secret of Java object serialization
brief introduction Did you know that serialization can use proxies? Do you know the security of serialization? Every j…… -
Java security coding guide: thread API call rules
Thread is indispensable in the development of multithreading in Java. What rules should we pay attention to when using…… -
Troubleshooting: analyze outofmemoryerror exceptions
brief introduction java. Lang. outofmemoryerror should be a very common error in Java applications. So what is the cau…… -
Java secure coding guide: number operation
brief introduction In Java, there are byte, short, int, long, float, double and char that can be called number. What s…… -
Jdk14 performance management tool: introduction to jstat
brief introduction As a programmer, I often worry about how to locate problems in Java programs or tune JVM performanc…… -
Introduction to splitter in Java 8 stream
Introduction to splitter in Java 8 stream brief introduction Splitter is an interface introduced in Java 8. It is usua…… -
Java secure coding guide: input verification
brief introduction In order to ensure the security of Java programs, we believe that any input from external users may…… -
Junior sister learning java IO: file file system
brief introduction Younger martial sister has encountered another problem. This time, the problem is about file creati…… -
Spring Boot 2. X Series tutorial: seven days from scratch to master spring boot – continuous update
brief introduction Since the birth of spring, spring has become the de facto J2EE standard. As a lightweight J2EE appl…… -
Detailed explanation of reactive stream protocol
background Everyone should be familiar with stream. Java8 introduces the concept of stream for all collection classes.…… -
Troubleshoot: what exactly is GC tuning
brief introduction We often hear that we even need to do GC tuning ourselves. So what is the purpose of GC tuning? Mak…… -
How to break the foreach of java8 stream
How to break the foreach of java8 stream brief introduction We usually need to traverse and process the data in Java s…… -
Java secure coding guide: the correct use of lock and synchronization
brief introduction In Java multithreading environment, lock and synchronization are functions that we will use. So wha…… -
Junior sister learning java IO: file and path
brief introduction What is the relationship between file and path? What secrets are hidden in files and paths? Under t…… -
Java secure coding guide: string and coding
brief introduction String is the most commonly used Java type in our daily coding process. Languages in different regi……
