Said it in front
Detailed tutorials for all cases of this project are synchronized on the personal public account: Programmer Xiaofu . Welcome to follow, communicate and make corrections, and join the group to learn!
The author, Xiaofu, currently works in a major factory. Click here to learn more.
Project introduction
Springboot-Notebook is a development framework based on springboot
, integrating Redis
, Mysql
, Rabbitmq
, ES
, MongoDB
, sharding-jdbc 分库分表
, zookeeper
, web人脸识别
,实时消息推送
, SQL优化
,注册中心
,数据脱敏
Such as mainstream Internet technologies, the article illustrates theory and practical cases to realize comprehensive projects with common function points in development. Based on the principle of ready-to-use, it helps reduce developers’ learning costs at work.
middleware | Integrated features |
---|
Sub-database and sub-table | sharding-jdbc |
cache | Redis |
database | Mysql |
message queue | rabbitmq,kafka |
search engine | ES |
non-relational database | MongoDB |
Registration center | zookeeper, nacos |
Arcsoft SDK | web face recognition |
Push message | 7 kinds of real-time message push |
More | ... |
? About the author
Hello everyone, I am Xiaofu, the author of this website~ I have been engaged in programming for more than ten years and have done architecture-related work in Dachang Goudong.
I have been writing and sharing for many years. I sorted out the problems and techniques I encountered at work into articles and shared them with my friends. I hope it will be useful to everyone!
Currently, we are continuously updating three series of special topics: "100 Practical Examples of Springboot Development", "Principles and Practical Practices of ShardingSphere5.
Technical Group & Information
If you encounter any problems, you can contact me through the following methods. You are also welcome to join our technical exchange group. The group is full of enthusiastic Javaers who will discuss technical issues and help each other. I believe you can gain more.
In my official account: Programmer Xiaofu, I provide some information:
Technical book public account reply [ pdf ] Get.
Interview notes, springcloud advanced practical PDF, reply in the public account [ 1222 ] Get.
Original PDF "ShardingSphere5.
| |
---|
| |
Follow the public account: Programmer Xiaofu | Receive WeChat ID: xiaofucode |
Series of topics
"ShardingSphere5.x sub-database and sub-table principle and practice"
The content is synchronized on Xiaofu's personal website: xiaofucode.com. PDFs of existing chapters have been generated. Welcome to download!
How to obtain: "ShardingSphere5.x Principle and Practice of Sub-database and Table" PDF, public account: Programmer Xiao Fu Nei replied [ Sub-database and sub-table ] Get.
Selections from previous series:
- A good system, why do we need to divide it into databases and tables?
- 21 rules for sharding databases and tables, hold on!
- 2 ways to quickly implement sub-database and sub-table, easy to handle!
- How do sharded databases and sharded tables manage tens of thousands of sharded tables in different instances?
- Understand 12 sharding algorithms for database and table sharding in one go, all major manufacturers are using them
- DIY 3 kinds of sharding algorithms for databases, tables, and sharding, only those who write them by themselves can do the trick!
- Continuously updating...
"100 Examples of Springboot Development Scenarios"
Springboot101 shares hundreds of practical cases of Springboot development. Development work can be used immediately, and the time saved is life. The content is synchronized on Xiaofu’s personal website: xiaofucode.com!
Selections from previous series:
- Springboot implements file upload to 20 platforms with one line of code
- springboot + rabbitmq + MQTT implement smart home
- springboot + redis distributed current limiter
- Springboot annotations implement dynamic data source switching
- springboot + Knife4j integrated API documentation
- springboot + oauth2.0 actual combat
- springboot + canal implements mysql+binlog monitoring
- springboot + jsoup implement crawler
- More articles...
Interview stereotypes
The content is synchronized on Xiaofu’s personal website: xiaofucode.com.
- "spring cloud alibaba microservice family bucket"
- "Interview Notes"
- "LeetCode Algorithm Notes"
How to obtain : Official account: Programmer Xiaofu , reply [ 1222 ]
e-book
2000 e-books download
High-quality article selection
Java development skills
- 3 Springboot global time formatting methods, don’t write duplicate code (
springboot-global-formatting
) - I really didn’t expect that the Springboot + Flowable development workflow would be so simple! (
springboot-work-flowable
) - Generate a unit test report in 3 minutes, I love this style (
springboot-testng-report
) - practical! Generate database documents with one click, which can be called the Swagger of the database world (
springboot-database-doc
) - I was forced to optimize the code again. This time I eliminated the input and output parameters Log (
springboot-aop-unifiedlog
) - Four authorization methods of OAuth2.0
- Github authorization login is so simple! (OAuth2.0 in practice`)
- PC face recognition login, surprisingly simple
- Forced to refactor the code, this time I got rid of if-else
- 6 differences between filters and interceptors, don’t be confused anymore
- 6 @Transactional annotation failure scenarios
- In order not to copy and paste, I was forced to learn JAVA crawler
- Weird trick, CompletableFuture asynchronous multi-threading is really elegant
- 6000 words | 16 pictures, thoroughly understand the principles of Spring Cloud Gateway
- Weird trick, CompletableFuture asynchronous multi-threading is really elegant
- I have 7 ways to implement real-time message push on the web, 7 ways! (
springboot-realtime-data
) - How to prevent duplicate payment for orders?
- I have 10 solutions to ensure interface data security
- Why does a thread crash not cause the JVM to crash?
- 40 SpringBoot high-frequency usage annotations, a development efficiency tool
- A memory leak problem troubleshooting and analysis, small pit
- I have 10 ways to implement delayed tasks, 10 ways! (with code)
- Spring Boot interface parameter encryption and decryption? This is more elegant
- Springboot unifies parameter verification, exception handling, and return values, and you’ve got it!
- 45 classic GIT operation scenarios, dedicated to solving different codes
- 20 high-frequency practical Java 8 Stream cases, playing with the filtering, reduction, grouping, and aggregation of collections. . .
- Must-haves for job opening interviews: Spring Interview 63 Questions
- I don’t know the consistent hash algorithm. I advise you not to write in your resume that you have done load balancing.
- The long-awaited, full version of web face recognition login is here, I love this style.
- The interviewer asked: If the order is not paid for 30 minutes, it will be automatically canceled. How to implement this?
- Snap! Snap! The 12 failure scenarios annotated by @Transactional have been a trap for me.
- Play flash sales under high concurrency, 9 details you must know
- Best practices for Springboot configuration files and private data desensitization (principle + source code)
- Found two bugs in ConcurrentHashMap source code
- I also didn’t expect that you don’t need to write a Controller when developing API interfaces in Java.
- Kill the front end! 3 minutes of pure Java annotation to build a management system, I'll just do it
Performance optimization
- 1000w+ data, query speed increased by 60 times, SQL optimization is so magical
- 22 best practices for designing APIs, practical!
- OOM happened online again, so I fixed it like this
- I met a ruthless person, this idea is so brilliant!
- There is obviously still space, but the hard disk cannot write to it!
- 6 Java tools to easily analyze and locate JVM problems!
Sharding-JDBC
- One article to quickly get started with sharding databases and tables (required course) (
springboot-sharding-jdbc
) - One article to quickly get started with the sharding-JDBC middleware for sharding databases and tables (required course`)
- Sharding-JDBC 4 sharding strategies for database and table sharding middleware
- 9 distributed primary key ID generation schemes for sharding databases and tables
Registration center
- Quick introduction to zookeeper in one article
- Really, never explain to your girlfriend what the "herding effect" is
- 16 Figure summarizes what a service registration request in Nacos will go through?
- 55 pictures to understand Nacos thoroughly, what is so powerful about the soul ferry of microservices
- Alibaba interview asked: Is the Nacos configuration center interaction model push or pull? (Principle + source code analysis)
redis
- Redis distributed current limiter can be said to be very powerful!
- Let’s talk about 16 usage scenarios of Redis in one breath, my dear!
- Alibaba interview asked: Why does redis design simple strings into SDS?
- The 5 pitfalls of redis distributed locks are really big and deep
- Redis memory optimization tips, small memory leveraging big data
- Hard Core | Redis Bloom Filter Principle and Practice
message queue
- 40,000 words of hard-core analysis, 30 Kafka interview questions (advanced)
- Unread messages (little red dots), front-end and RabbitMQ real-time message push practice, extremely simple~ (
springboot-mqtt-messagepush
) - springboot + rabbitmq uses the message confirmation mechanism, but I feel like I'm stuck (
springboot-rabbitmq-confirm
) - I didn’t expect that using springboot + rabbitmq to make a smart home would be so simple (
springboot-rabbitmq-mqtt
)
distributed
- Distributed transactions (2PC, 3PC, TCC`), there is nothing wrong with this explanation!
- Distributed transaction middleware Seata (principle + practice`)
- Didi’s distributed ID generator (Tinyid`), a batch of easy-to-use
- Meituan (Leaf`) distributed ID generator, a batch of easy-to-use!
- 6 ways to implement delay queues, even the interviewer must be convinced
- 4 ways to implement "people nearby", the interviewer laughed
- 9 distributed ID generation methods, the interviewer was a little confused
- Alibaba's open source tool canal synchronizes MySQL binlog data in real time
Data desensitization
- 6 data desensitization solutions used by major manufacturers, don’t be a spy who leaks secrets
MySQL
- Interviewer: I can’t read the Explain execution plan, but dare I write SQL optimization on my resume?
- The secret of MySQL not losing data is hidden in its 7 types of logs
- A MySQL online accident taught me a lesson
- 10 classic cases to talk about how to optimize slow SQL
- JD.com: What are the pitfalls of MySQL primary and secondary delays?
- 10 scenarios for index failure
- What is MySQL's "table return"?
- 9 pictures summarizing the MySQL architecture
Dry goods and tools
- Handwrite a Douyin video watermark removal tool, don’t be just a programmer (
springboot-douyin-watermark
) - Face recognition function based on Java (source code attached)
- practical! 8 chrome plug-ins to play with GitHub, downloading a single file is easy
- 10 foreign technical communities that I often visit, and I have really benefited a lot!
- For programmers to set up a personal blog, a GitHub account is enough!
- 10 IDEA plug-ins that free your hands and reduce unnecessary coding
- 13 must-have free technical e-book websites for programmers
- 10 practical online tools that free your hands. Some codes really don’t need to be written by hand.
- Kill powerdesigner and use it to design database tables.
- A magical website that makes learning Git commands fun and interesting
- What are the differences between grayscale release, blue-green release, and rolling release? Now I understand
- The 6 API interface documentation platforms I have used over the years are really easy to use.
- I tried using SQL to check Linux logs, and it was so easy to use.
- Pull hatred! webhook + Enterprise WeChat made a code submission monitoring tool for colleagues
- 10 hands-free IDEA plug-ins, these codes really don’t need to be written by hand (Part 2)
Looking for a job
- After reading more than 100 resumes, I would like to give some advice to programmers looking for a job.