Tag:Microservices
-
Advanced skills of redis in large-scale scenarios
Article catalogue Advanced skills of redis in large-scale scenarios There are many wonderful skills Redis CRUD You can’t have both Redis Pipeline Guess you like it Advanced skills of redis in large-scale scenarios “Redis with high throughput and high performance has always been active in the front line of program design and implementation, and many […]
-
Micro service design guidance – tips for improving redis circular writing by 10 times
brief introduction The architecture with microservices does not represent good performance, but the architecture using microservices must require good performance. This sentence is not contradictory. The contradiction is that many people think that microservice architecture represents high concurrency, but it is not. We have the theory of “written micro service” and “actual micro service”. For […]
-
Construction of distributed second kill system
catalogue Main problem solving Project architecture Database design Project start 1. The back end returns the second kill time 2. Solve cross domain problems 3. Redis uses cacheable 4. Second kill countdown 5. How to prevent placing an order in advance 6. How to prevent repeated submission 7. Gateway current limiting Counter algorithm Leaky bucket […]
-
Personal java learning route (individual)
The smallest sail can sail far As long as you can’t learn to die, learn to die What you see from the angle you should stand is the scenery Your fearlessness comes from ignorance (you feel so strong when you don’t learn a skill, but that’s how you feel after learning) Personally, I like watching […]
-
Java uses springboot + redis to realize the like function
1. Flow chart flow chart Realization idea As the like is a frequent submission operation, if the database is directly selected for storage, the pressure on the database is relatively large. Here, consider using the cache as the middle layer, and then persisting the data to the database regularly to reduce the reading and writing […]
-
Redis or zookeeper for distributed lock
What is distributed lock In the distributed architecture, Java locks cannot manage multiple instances, so there needs to be an architecture mode similar to unified lock management, that is, distributed locks. At present, there are several common distributed lock implementation schemes: Based on database optimistic lock, such as mysql, add field version ID to realize […]
-
Go language project development practice: take you from 0 to 1 to achieve an enterprise level go project
Course link:Geek time: go language project development practice At present, the technical architecture of many companies is evolving to the cloud native architecture, and most of the cloud native core projects are built with go, such as kubernetes, docker, etc. At the same time, domestic first-line big factories such as Tencent and Alibaba are also […]
-
[go language practice] (10) go micro micro micro service implementation simple memo (Part 1) | user module
Article catalogue Write in front Source address 1. Download 1.1 go-micro/v2 1.2 protoc 1.3 protobuf 1.4 protoc-gen-micro 2. User module 2.1 database configuration 2.2 preparation of proto documents 2.3 implementation of user module business logic 2.3.1 user registration method 2.3.2 login service method 2.4 access etcd service discovery 3. Access gateway 3.1 proto file 3.2 […]
-
[go micro service] – RPC
catalogue 1. RPC 1.1.1. Introduction to RPC 1.1.2. Comparison of popular RPC frameworks 1.1.3. How to implement RPC in golang 1.1.4. RPC call process 1.1.5. Network transmission data format 1.1.6. Implement RPC server 1.1.7. Implement RPC client 1.1.8. Implement RPC communication test 1. RPC 1.1.1. Introduction to RPC Remote procedure call (RPC) is a computer […]
-
Ten mainstream micro service frameworks of go language and related
The number of stars below is as of March 2022 1.istio Project introduction: istio is made byGoogle, IBM and LYFTOpen source microservice management, protection and monitoring framework. Using istio, you can easily create a service network with load balancing, inter service authentication, monitoring and other functions without any modification to the service code. Warehouse address:https://github.com/istio/istio(29.6K) […]
-
Introduction and source code exploration of registration center Eureka
1. Background 1.1. What is the registry The registry can be said to be the “address book” in the micro service architecture, which records the mapping relationship between the service and the service address. In the distributed architecture, the service will register here. When the service needs to call other services, it will find the […]
-
Dark horse 2021 latest edition of spring cloud foundation full technology stack guide (rabbitmq + docker + redis + search + distributed)
preface All the codes and materials of the basic chapter have been uploaded to gitee. You can get them yourself if you need: https://gitee.com/da-ji/spring-cloud-learning-notes Click a star to update the advanced articles and interview articles later. Don’t get lost ⚆_⚆ This note is based on: 1、 Shang Silicon Valley 2020.3SpringCloud(version H & Alibaba) framework development […]