problem description
for example, in the voting of 1W people, suppose there are 1000 people online at the same time, how to design the
database and what configuration should be chosen for redis?
configuration of redis + mysql database
for example, in the voting of 1W people, suppose there are 1000 people online at the same time, how to design the
database and what configuration should be chosen for redis?
configuration of redis + mysql database
Previous: Transition-group tag
Next: [JAVA rookie] ask questions about input that can't be turned off.
currently working on a saas platform what kind of architecture can meet the following requirements: Separation of front and rear ends flexible selection of front-end technology, less historical burden, convenient maintenance, and organizational n...
each person starts the game with a different Rank (a total of 14 Rank) and selects two people to answer the question pk,. How to design this algorithm? suppose that after I click to start the game, I send my request to enter a game to the server, and ...
there is a class that has a lot of properties. Now I have a lot of other roles. Different roles use different fields. What design pattern do you use? ...
2 projects the option that the first project has a drop-down box is some of the functions provided by the second project. Is there any ready-made component that can be shared? Of course it s OK to use zk, but is there a ready-made framework? ...
the PC page of my project has been completed, and the vue-cli I use now needs to be a mobile page. I also plan to use vue-cli, so I want to put the mobile page in the existing PC project. I don t want to create another project. so I need to know how...
there is such a requirement: user login module, does not support the choice of login method, only a text input box, while supporting: QQ number, mobile number, e-mail, nickname, ID card, etc. (if the user filled in the values of these five fields) any f...
item is a digital currency quotation query APP. the previous architecture is: front-end-- php-- (mysql)-- nodejs-- exchange API. What the exchange provides here is the webscoket interface, which is stored in the database after receiving the data throu...
set up a site on a computer in the company s local area network, and there is no problem for local area network access. Now you want the public network to access this site, how to configure it? ps: has a domain name ...
there are several problems in the process of learning architecture: some Service layers will call other Dao layers, for example, UserService will call UserPositionDao UserBookDao some Service layers will call other Service layers, for example, Use...
first describe the background of the problem: we have made a video-like personal network. The solution is to upload the video to the backend of the project (on Ali s ECS CVM) in the browser and upload it to oss at the backend. When playing the video, th...
A large project is split into several independently developed small projects, and there is bound to be a common third-party library between small projects. According to the normal independent development process, it is certain that each small project dep...
for example, my backend provides a series of APIs for use by different clients (such as IOS, Wechat official account, Android). In order to keep the interface secure, I imagine this design: assign a key to each client. Each time the API is requested, ...
with tens of thousands of participants and about 1000 concurrent voting systems, which configuration should be selected for the CVM for storage with mysql,? What about the bandwidth? More than big data should be used for mysql or mariadb (because there i...
< H2 > question < H2 > there are two independent systems. System An is the class information management system and system B is the book management system. the current design idea is that system An and system B are divided into two independent busines...
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 ...
background: suppose we have an APP, server and database in mainland China, an independent domain name aaa.com Hong Kong has a web app, server and database in Hong Kong, and an independent domain name bbb.com the current situation is that if a domest...
scenario: write an order (order master record and order detail record) json backend service layer has added api order_master func: add order_detail func: add ask whether the detail record in json is inserted by controller ca...
< H2 > 8259A Programmable interrupt Controller Port problem < H2 > ICW4 and OCW3 A total of 56 bytes need to be written, and its port is only 0x20,0x21 0xa0,0xa1 four ports, these ports are also one byte, how to write these 56 bytes into th...
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 ...
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...