包含标签:Java 的文章
-
Concurrent inventory reduction
There are many scenes of second kill, such as rush buying, ticket grabbing, red envelope grabbing, etc. In short, ther…… -
Upward leadership and downward empowerment
After all these years in the pit, as a Java siege lion and senior code Porter, I have something to say: 1. Raise techn…… -
Introduction to reactive
Reactive is ideal for low latency, high throughput workloads. Reactive processing is a paradigm (specification) that e…… -
-
There will always be a few wrong steps in the long way of optimization (remember an interface optimization)
Recently, I did a search interface optimization, repeated pressure testing for four times, and finally met the require…… -
JDK1. Thread pool in 8
The above code has been used all the time. I'm often asked during the interview, but I've never studied it deeply. I d…… -
Basic usage of completable future
Asynchronous computing Limitations of future interface The future interface can build asynchronous applications, but i…… -
Java export CSV file
In the past, POI was always used to export as Excel file. Later, when I learned about CSV, I found that the speed was …… -
Abstractqueuedsynchronizer source code analysis (implementation of reentrantlock lock lock)
1. Preface Abstractqueuedsynchronizer (PS: AQS for short) is used in many places in Java, such as reentrantlock and th…… -
ThreadLocal principle
1. What is ThreadLocal ThreadLocal provides thread local variables. The difference between these variables and ordinar…… -
JDK1. 8. Reading the source code of concurrenthashmap
1. Read with questions Why is concurrent HashMap thread safe? Or how does concurrent HashMap prevent concurrency? 2. F…… -
Distributed transaction
In essence, distributed transaction is to ensure the data consistency of different databases. 1. Distributed theory 1.…… -
Java generate globally unique ID code demo
I have seen two algorithm programs for generating unique IDs on GitHub (one from Baidu and the other from meituan) and…… -
Redisson basic usage
1. Redisson Redisson is the Java version of redis client officially recommended by redis. It provides many functions a…… -
Java fork / join framework
brief introduction From jdk1 At the beginning of July 7, Java provided fork / join framework for parallel execution of…… -
-
JDK1. Implementation of HashMap in 8
JDK1. The implementation of HashMap in 8 is similar to jdk1 The implementation in 7 is very different. Jdk1 is analyze…… -
E-commerce promotion background logic
In the final analysis, the so-called marketing of e-commerce is the change of order amount; If we clearly know the cal…… -
FutureTask
Asynchronous, never synchronous, parallel, never serial 1. Future A future represents the result of an asynchronous ca…… -
Android multilingual
Android multilingual 3. Use @ Strings / key in the layout file to reference the corresponding resources -
JSP uses freemaker to generate word documents based on word template
Using freemaker to generate word document based on word template Introduction to freemaker FreeMarker is a template en…… -
Android development failed to install * apk on device ’emulator-5554′: EOF
This error occurs when running the Android program: Failed to install homework. apk on device 'emulator-5554': EOF…… -
Java calls the HTML template to send the mail of HTML content
When the project needs to send e-mail, the e-mail with ordinary content feels too monotonous, ugly and unqualified. Th…… -
Java basic syntax
Sort out some knowledge points of learning java basic syntax before. JRE and JDK If we want to run an existing Java pr…… -
-
Xml & Tomcat
Xml What's the use of XML? Define XML Document declaration 简单声明,version : 解析这个xml的时候,使用什么版本的解析器…… -
Inheritance and polymorphism
inherit summary origin When the same attributes and behaviors exist in multiple classes, these contents are extracted …… -
Network programming
primary coverage Learning objectives Chapter 1 Introduction to network programming 1.1 software structure B / S struct…… -
New features of jdk8
primary coverage Learning objectives Chapter I functional interface 1.1 concept Functional interface in Java refers to…… -
Tomcat&Servlet
Today I reviewed Tomcat and servlet. I used eclipse last time and idea this time. primary coverage 1. web相关概念回顾 …… -
JAVA memory leak
Memory management in Java To understand memory leaks in Java, you must first know how memory in Java is managed. In Ja…… -
Lambda expression
primary coverage Teaching objectives -[] be able to understand the advantages of functional programming over object-or……