one database of user balance, one database of order table, one database of fund details users use balance to place orders, how to ensure that no more orders will be placed and the data are consistent in the case of large concurrency ...
Hello everyone, we now have many micro-services, and now we want to develop a unified platform. After logging in through this platform, we can click on the service you want to enter and use it directly after logging in through this platform. but now th...
application.properties: spring.application.name=zookeeperserver server.port=8090 spring.cloud.zookeeper.connect-string=zookeeperIp:2181 spring.cloud.zookeeper.discovery.instance-host=localIp spring.cloud.zookeeper.discovery.instance-port=8090 Service ...
are there any useful open source micro-service stress testing tools or platforms? Jmeter needs to write its own code to package and upload pressure testing, but it is still a bit tedious and inconvenient, and some expansion capabilities such as timing pr...
suppose there are four classes class Product { private Long productId; } class ProductImage { private Long productId; private Long productImageId; } class ProductAttachment { private Long productId; private Long productAttachmentId; } class Pro...
is currently working on the microservice architecture. Gateway registers and discovers with node-proxy. service service may have node and spring boot. database mysql, cache redis. at present, it is mainly stuck in the communication between service...
feels that the function of the api gateway is similar to that of springmvc s controller. the cluster of nginx+controller services can be load balanced controller can implement login and permission control controller can implement service routing ...
problem description for example: merchandise module is a separate service that exposes some rest api interfaces, providing product picture links, basic product information, etc. shopping cart is a separate module (for example, the module contains a ...
Today, I heard others say that when designing a micro-service architecture, all the kubernetes that can be implemented by, spring cloud can be realized. I don t know how to understand spring cloud, as I understand it, should be an one-stop way to bui...
dubbo degrades the service, and the mock, timed out or the number of retries reached the upper limit will go to mock . How to recover? There are some articles on the Internet about asynchronous thread detection, how to do it? ...
swoft microservice registration service found that the service name needs to be configured in the global file. There will be multiple services in a project, and if my service name is userservice, all the other services in this project will be userservice...
problem description in the actual development of golang, whether the Dial, of grpc needs to be closed or not, it can be done in init () if it does not need to be closed. It is better to keep the connection pool long when the connection is closed frequ...
as shown in the figure, this is the docker-compose configuration file dockerredis-climysqlredis mysql webmysql: webhostdocker-composeservice but it doesn t help. I still reported the mistake in the picture. I ve been entangled for a day, as...
Hello, gods. Recently, the company wants to upgrade its business. The company has several e-commerce websites, each of which has its own set of shopping carts, but each site has its own set of user data, and only the shopping cart is blocked. Now I want ...
the company has built a Spring Cloud micro-service framework and now wants to provide a micro-service interface for executing sql statements. the question now is how to design better: 1. The interface parameters should contain the sql statement to be e...
recently, I have been learning about the deployment of nodejs microservices. I would like to ask what technologies need to be learned which one should I choose about the nodejs framework? ...
after testing, I found that when using dubbo, if the A service a method calls the b method of the B service and retries N times, the return of the b method obtained by the a method is the Nth time or some time in the middle . now if method a calls me...
background vm, in Iaas is currently used in the project. All operations are connected through ssh. Pm indicates whether you want to write an agent to use in it. Now it s disgusting to ssh every operation. talk about the benefits of using ssh in my ...
the druid configuration I know is configured on a service if mysql is installed on a machine when we connect with a connection pool according to https: blog.csdn.net w059805. the size formula of the connection pool is: number of connections = ((...
should [configuration Center] start first, and then [Service Discovery and Registration] read the configuration of [configuration Center]? or should [Service Discovery and Registration] start first, and then [configuration Center] register itself? or [...