"Moso bamboo" only grows in the easternmost part of China, and it only grows 3cm in height in 4 years. But after 5 years, it is growing at a rate of 30cm per day. In this way, it can grow to 15 meters in only 6 weeks!
It may seem like an incredible change in 6 weeks, but in the previous 4 years, the bamboo has extended its roots in the soil for hundreds of square meters. I think this really describes a lot of programmers.
Keep improving a little every day, and in five years you'll thank yourself for who you are now.
This column mainly SpringBoot
provides practical cases for integrating various middleware 建立知识体系方便检索
.
In our daily development, writing 业务代码
is our daily routine, and most of the time business code is CRUD
. At this time, we can 各种代码生成器
use it to generate, or make our own code generation template to improve it, and 自定义模板
generate it according to it.
But many times it is necessary to introduce a lot of middleware, such as redis
, , mq
, es
etc. These are actually not difficult to configure, but it also requires us to spend time to go to Baidu, copy old projects, etc., especially for those who are not very skilled. If you are stuck for one reason, it is not worth the loss to delay the time because of this reason.
So I wrote out these implementation steps and corresponding scenarios in line with the idea, so that when we need it, we don’t need to search for information here, just read the article and copy it, reach it, or even wait for 一切从简
time later , package these into one by one , when you use it一切都是组件化
真正的开箱即用
start
直接引入
And what I recorded is just for one purpose, which is to free up more time for us to continuously improve ourselves. It is not easy for programmers to work outside, all in order to make their families live better. Come on together and grow together! !
Java Jianghu Road | Column Directory
-1 . Spring Boot
-
Original | SpringBoot integrates knife4j (quick start ultra-detailed version)
-
Original | SpringBoot simulates a detailed example of sending Http requests
-
Original | SpringBoot uses RestTemplate to send http requests (practical version)
-
Original | Java implements interface verification code to prevent brushing
-
Original | SpringBoot implements file logging, automatic archiving and compression of log files
-
Original | SpringBoot realizes hot deployment
-
Original | SpringBoot realizes multi-environment automatic switching (Maven packaging automatic recognition)
-
Original | Use SpringData to operate the database in SpringBoot
-
Original | SpringBoot integrates websocket to realize online communication
-
Original | SpringBoot implements WeChat applet payment (successful payment through MQ asynchronous change status and other operations)
-
Original | SpringBoot realizes Tencent Cloud Video Storage (COS)
-
Original | SpringBoot Realizes Tencent Cloud Video On Demand
-
Original | SpringBoot implements Alibaba Cloud Object Storage (OSS)
-
Original | SpringBoot integrates EasyExcel to realize import and export
-
Original | SpringBoot integrates MongoDB
-
Original | SpringBoot integrates ElaticSearch
-
Original | SpringBoot integrates Memcached
-
Original | SpringBoot integrates quartz
-
Original | SpringBoot integrates Task
-
Original | SpringBoot sends simple emails and sends multiple emails
-
Original | SpringBoot integrates Actuator (monitoring)
-
Original | How SpringBoot customizes Start
-
Original | SpringBoot startup principle
-
Original | Docker installs various software practical versions (MySQL, Redis, RabbitMQ, ElaticSearch, etc.)
-
Original | SpringBoot solves the idempotent scheme of creating orders
-
Original | SpringBoot integrates Freemarker (template engine)
-
Original | SpringBoot integrates MinIO to realize distributed file storage system
- Original | SpringBoot integrates SMS4J (makes it easy to send text messages)
- Original | SpringBoot integrates Sa-Token (lightweight java authority authentication framework, making authentication simple and elegant!)
- 二、SpringCloud
- Original | SpringCloud integrates Nacos + OpenFegin
- Original | SpringCloud integrates GateWay (gateway)
- Original | SpringCloud integrates Stream
- Original | SpringCloud integrates Sleuth (distributed request link tracking)
- Original | SpringCloud integrates SkyWalking (distributed request link tracking)
- Original | SpringCloud integrates Sentinel (realize fuse and current limit)
- Original | SpringCloud integrates Seata (solves distributed transaction problems)
- Corresponding versions of original SpringBoot, SpringCloud, and SpringCloud Alibaba
-
3. MySQL
-
Original | Detailed introduction of MySQL transaction
-
Original | MySQL index creation method and design principles
-
Original | MySQL performance analysis (detailed operation version)
-
Original | How to optimize SQL (practical version)
-
Original | MySQL master-slave replication build
-
Original | MySQL sub-database sub-table detailed introduction and how to sub-database sub-table
-
Original | MySQL read and write separation detailed introduction
-
Original | MySQL log query (error log, slow query log, binary log)
- 4. Redis
- Original | Redis cluster construction
- Original | SpringBoot integrates Redis
- Original | SpringBoot integrates Redisson
- Original | What are distributed locks and various solutions for distributed locks
- Original | SpringBoot integrates Redis to implement delayed tasks
- 5. Message middleware
- Original | SpringBoot integrates ActiveMQ (practical version)
- Original | SpringBoot integrates RabbitMQ (practical version)
- Original | SpringBoot integrates RocketMQ (practical version)
- Original | SpringBoot integrates Kafka (practical version)
- 6. Deployment
- Original | CentOS7 installation Docker detailed steps
- Original | How SpringBoot uses Docker to package and deploy
- Original | CentOS7 install JDK8 (practical version | source code installation and yum installation)
- Original | CentOS7 installation Maven detailed tutorial
- Original | CentOS7 MySQL installation detailed tutorial
- Original | CentOS7 installation Redis detailed tutorial
- Original | CentOS7 install Nginx
- Original | CentOS7 install Gogs
- Original | Docker install MySQL
- Original | Docker install Redis
- Original | Docker install Nacos
- Original | Docker install ElaticSearch
- Original | Docke install RabbitMQ
All of the above are some technical points and implementation solutions that I have personally encountered and practiced in the project. Some have summarized and written articles, and some have not yet. Let me list the catalog here first, and I will introduce it in the next time. Slowly add content and add new columns, thank you for watching
Finally, to borrow a word from Lei Jun, always believe that good things are about to happen~