Home > Backend Development > PHP Tutorial > Problems with database separation in microservice architecture

Problems with database separation in microservice architecture

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-10 09:07:18
Original
1610 people have browsed it

Microservice architecture is often a service with a separate database
So basic public data such as user account information used to be queried by SQL association, but now it can only be called through API. Will this reduce performance and increase unreliability? Sex???
What’s a good solution???

Reply content:

Microservice architecture is often a service with a separate database
So basic public data such as user account information used to be queried by SQL association, but now it can only be called through API. Will this reduce performance and increase unreliability? Sex???
What’s a good solution???

Performance is solved by caching
The reliability of the account application server itself is solved by clustering, because the status is in the database, so clustering is easy
Account storage is solved by clustering of the database itself

These three are also the same things to consider for other microservices

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Install JAVA
From 1970-01-01 08:00:00
0
0
0
Unable to install java
From 1970-01-01 08:00:00
0
0
0
Can java be used as the backend of the web?
From 1970-01-01 08:00:00
0
0
0
Is this in Java language?
From 1970-01-01 08:00:00
0
0
0
Help: JAVA encrypted data PHP decryption
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template