Distributed transaction solution under microservice architecture -- Ali GTS
Abstract: This paper will discuss various solutions of distributed transaction under micro-service architecture, and focus on the interpretation of distributed transaction solution ----GTS proposed by Alibaba. GTS mentioned in the solution is a new generation of distributed transaction Internet middleware to solve the problem of microservices. Microservices advocates splitting complex monolithic applications into several simple, loosely coupled services to reduce...
Delve into the writing process of Elastic Search
I wrote about ElasticSearch for the first time, but it's been two years. Well, time gets old. Recently, I used ES again. I tried to find out the summary document of the past, but there was only one. After half a year of ES, I encountered so many problems and only produced so little. Had to pick up the ES again, found that the ES slot is still a lot of points, incompatible updates too much, each...
Database and cache consistency scheme sharing
For c-side related services, it is difficult for the mainstream relational database to achieve high concurrency with low latency under the high concurrency query request scenario, and it may even be suspended. Therefore, introducing cache middleware is a common solution, but how to ensure the consistency between cache and database becomes a thorny problem
Simply understand Vuex and teach it hand by hand
Last week, a friend asked me about VUex. It happened that I also needed vuex for an independent project last time, but I found that I didn't know how to use it, so I went to the official website API. See a confused, baidu is a variety of information. Ps :(this article is only for Vuex beginners), if you have a thorough understanding of it, or god, it is not suitable for you. Vuex is a...
How to build the traffic condition of online application architecture | opening project
Abstract: This is the first in a three-part series, How to Build Traffic Lossless Online Application Architectures. The purpose of this series is to use the simplest language to categorize the technical problems that affect traffic stability in online applications
Get started with MongoDB, a non-relational database that has been hot for a while and is now dead
Recently, the department had a new big data product planning. When considering technical implementation, there was a requirement for dynamic table field expansion.
Mysql > use MongoDB to perform CRUD operations
Overview MongoDB is a persistent document-oriented database for storing and processing data in the form of documents. Like other database management systems, MongoDB manages and interacts with data through four basic types of data operations: C: create operations
Java Data Persistence Series HikariCP
In the last article in the Java Data Persistence Series on Pooling techniques, we learned about pooling techniques and implemented a simple connection pool using Apache-common-pool2, comparing its performance against database connection pools such as HikariCP and Druid. In terms of performance, HikariCP is way ahead, and it's the Spring B...
Damn it, you deleted the data, but you didn't reduce the space!
1. Export the file. -mysqldump mysqldump is a logical backup tool for Mysql. The backup principle is to connect to the Mysql database through the protocol and query the data to be backed up into the corresponding INSERT statement. when
Take over the pain of old projects -- MongoDB learning and cluster building
Recently there were some changes, and an old project was entrusted to our group for maintenance. My heart was broken when I encountered such things, but I still had to force a smile and pat my chest and say there was no problem. What's more sad is that mongo is also used in this project, which was built by myself instead of being managed by DBA. I have no choice but to learn Mongo by myself. There are three main ways to build a mongodb cluster...