Latest Articles
Understanding and Implementing Kotlin Coroutines
1. Concept of Kotlin CoroutinesKotlin Coroutines is a well-designed thread framework that uses threads at the underlying level. Coroutines can be understood as tasks executed on threads, and these tasks can switch between different threads. A single thread can run multiple coroutines, and coroutines
...
More >>
A Brief Discussion on API Design and Its Security
When it comes to API design and security, there are two main issues that must be addressed. If not handled properly, they can pose significant threats to the security and performance of the server.Based on my experience, API design primarily needs to consider the following two aspects:
Preventing m
...
More >>
2023-08-22
Security
/
API communication
Intelligent Speech Technology
1.NLP(Natural Language Processing)Natural language processing is an important direction in the field of computer science and artificial intelligence. It studies theories and methods that enable effective communication between humans and computers in natural language. Natural language processing is a
...
More >>
2023-08-14
Speech
/
Recognition
/
Model
How to Quickly Perform Interface Testing Under Microservices
Generally speaking, development engineers have defined microservice interfaces in the early stage of development, and test engineers and development engineers start their own development tasks almost simultaneously. However, this harmonious work scenario is soon destroyed by the spider web-like micr
...
More >>
2023-08-08
microservices
/
Back End
Master These 16 Essential Coding Habits for Increased Efficiency
IntroductionThis article provides a comprehensive compilation of 16 essential coding practices that the author deems are indispensable for enhancing work efficiency
1. After modifying the code, remember to test it“Test the code after modification” is a basic requirement for every programmer. Don’t h
...
More >>
2023-08-02
Back End
/
Coding
/
Efficiency
Why Does MySQL Sometimes Choose the Wrong Index?
After the table is indexed, sql can select the right index when the amount of data is small, but when the amount of data becomes large, it cannot select the correct index. We analyze the reasons for mysql’s wrong index selection from the following aspects.
Impact the execution of sql cost analysis
A
...
More >>
2023-07-26
Back End
/
Mysql
Mysql Online DDL
About Online DDLDDL(Data Definition Language), that is, the data definition language, including new table, table add fields, change fields and other operations.Large table DDL at will execute dozens of minutes, even a few hours, such a long time to lock the table for the business is obviously unacce
...
More >>
2023-07-17
Back End
/
Mysql
CAP Theorem
The CAP theorem is a common criterion used by engineers to measure the design of distributed systems. The CAP theorem holds that a network-based data sharing system can only satisfy at most two of the three elements of data consistency, availability, and partition tolerance; during the system design
...
More >>
2023-07-11
Back End
/
CAP
Redis Big Key Problem: Causes, Impacts, and Solutions
1. What is the Redis big key problem?The Redis big key problem refers to a situation where a key in Redis has a value that consumes a significant amount of memory, leading to performance degradation, insufficient memory, data imbalance, and delayed master-slave synchronization, among other issues.Wh
...
More >>
2023-07-03
Redis
/
Back End
/
key
Android Custom Gradle Plugin Statistics Task Time-Consuming
1. forewordWhen we use Gradle to build tasks, we sometimes want to count the time consumption of each task, so as to find out the running time of each task and whether there is room for optimization.
train of thought1.Custom Gradle plugins2.Use Listener to monitor3.Register Listener in custom Gradle
...
More >>
2023-06-26
Listener
/
Android
/
Gradle