directory

  • What is a server? What is a rack? What is a computer room?
  • What is an intra-city Dr Equipment room?
  • What is a bi-centric architecture?
  • What is the Multi-room, multi-live architecture?

Today, I would like to share a topic, that is, multi-machine room multi-living architecture. This topic may be a topic many brothers have never heard of, or even heard of, but because they have been working in small companies, they have not engaged in, have not experienced. But it doesn’t matter, today we will explain to you about this big factory will play multi-machine room multi-live architecture is what, we can understand the understanding of all when expand a knowledge surface.

What is a server? What is a rack? What is a computer room?

If you open Intellij Idea locally, open the project code in it, and then use a framework like Spring Boot to write a bunch of code, Is the picture of Controller + Service + DAO familiar to everyone?

Then you have to package the code and upload it to an online server, where you can restart the system using a JAR package. You can do this yourself or automate pipelined deployment with a Jenkins or other tool, but the general flow is shown below.

Now let me ask you a question. Where is your so-called online server? Confused? Don’t you know? That means you still have a problem, this online server is actually a real physical form of a thing, like your wardrobe at home, he is visible and touch.

If your company wants to provide a server for you, it must buy or rent a server in a computer room. There is a concept of a computer room. What is this computer room? Basically, it looks like a factory building on the outskirts of your city. It’s just a house!

In this machine room, there are some rooms, in the room, there are rows of racks, or cabinets, the rack is a shelf, the cabinet is the cabinet, on the rack there are a server, the server is a big black box, so the picture is as follows.

The server on this rack is just a black box. It’s connected to the Internet. We can connect to it through the Internet. It has an IP address, and we can connect to this server through SSH or something like that, or through the network in code, and that’s how you connect to the server.

What is an intra-city Dr Equipment room?

By understanding these concepts, we understand that the system we are developing is deployed in a single server on a rack in a visible machine room. So if the whole machine room suddenly goes out of power will it cause the online system to go down directly? Yes, that’s right, so we can deploy a system in another room in a city, and you have two rooms, as shown below.

So now the question is, how do these two computer rooms work together? Here’s how it works:

The system deployed in a machine room is connected to its own database, which is also deployed on another server in that machine room, and then we usually access the system deployed in this machine room.

But, in another room also is to have two servers, a deployment system, a deployment database, the database in the computer room at this time we can make production of data real-time synchronous to the database of city emergency room, once if production equipment room power outages, direct access to the system of city emergency room is good, The data is available in mysql in that room, as shown below.

What is a bi-centric architecture?

But what if there is some natural disaster in this city, such as flood, earthquake and so on, and both computer rooms are destroyed? At this time there will be a dual three center architecture, is a two rooms in the city, another city to get a different disaster room, let the city disaster of data real-time synchronous emergency room to other cities, even a city natural disasters happened at this time, it will not be afraid, other cities there’s a computer room, the following figure.

What is the Multi-room, multi-live architecture?

But there is a problem, usually use the resources of one room, the other two rooms are synchronous data to do disaster recovery, power failure, natural disasters, will use the disaster recovery room, how to do this? Therefore, the multi-live architecture was designed, which means that all three rooms can be accessed, and if any room writes data, it will synchronize data to the other two rooms, as shown below.

So far here, I will tell you clearly our multi-room multi-live architecture, usually large factories will do so, small and medium-sized companies generally will not play so. But we can understand as a knowledge, others said to the room more live do not know what meaning.

In addition, if you are currently writing your resume or preparing for an interview, but have no confidence in your resume or project, welcome to join our free resume guidance community. In this community, we will often share resume optimization cases, and there are technical masters who can guide your resume to make your resume better!

END

==== Surprise benefits ====