HDC.Cloud2021 | How to deal with the daily trifles easily by looking at the database?

With the accelerated evolution of the intelligent age, this generation of developers is very fortunate to use various innovative technologies to bring greater changes to the world.
The database that developers are familiar with may not be perceived by ordinary people, but its usefulness is everywhere. What problems can it solve in our lives? Also, why is database development so popular? Don't worry, you will have the answer soon!

In a broad sense, a database is a medium for storing data, similar to books, brains, and libraries; in a narrow sense, a database is a structured table stored in a computer, such as a user account information table, an online shopping order table, a geographic location table... Don’t think that a database is related
to It doesn't matter to you, you rush to buy Mate40 in Huawei mall, you use the online banking app to transfer money, the database is silently guarding the safety and speed of every transaction of yours.
With the acceleration of digital transformation in the new era, the amount of data is increasing, and there are bottlenecks in traditional databases. Therefore, Huawei cloud databases have made their debut.

Let's take Huawei Cloud GaussDB (for Redis) as an example to talk about common problems that database developers can solve in life.
1. Error-free communication of social software
In our daily instant messaging scenarios, real-time error-free communication is a necessary requirement. As we all know, Redis Stream is a new data type, which provides the function of storing messages on the ground. As a middleware for communication, Redis Stream can realize speech and information viewing in chat rooms, and users can view historical messages multiple times regardless of whether they are offline or online. HUAWEI CLOUD GaussDB (for Redis) makes the chat more orderly and the communication more complete.

2. Solve the isolated island of medical information
In medical scenarios, the isolated island of personal health information needs to be resolved urgently. Redis Stream can help smart medical systems to achieve information synchronization. It can not only record personal physical examination reports, diagnosis reports, and medication information, but also help different hospitals query the medical information of the same patient. GaussDB (for Redis) solves information islands and better protects health.

3. Prevent the system from crashing due to traffic floods
In common Double 11 flash sales or group buying scenarios, there is usually a large amount of traffic in a short period of time, causing the system to crash. All requests have a sequence. Developers also use Redis Stream as middleware to transfer messages to message queues and provide them indirectly to applications, which can prevent system crashes caused by heavy traffic. HUAWEI CLOUD GaussDB (for Redis) allows shopping more smoothly.

4. Query the delivery distance of the delivery boy in real time
How do you get the delivery distance of the delivery boy when ordering takeaway? After the user places the delivery order, the database developer uses the geoadd command to add the rider's location, and the geodist command to obtain the rider's distance. HUAWEI CLOUD GaussDB (for Redis) makes food delivery no longer far away.
5. Inquiry about the location of the housing stock
From basic necessities of life to buying a house, HUAWEI CLOUD GaussDB (for Redis) can help you. In many listing apps, to add a new listing to the listing platform, the database developer uses the geoadd command to add the location of the new listing, and uses the geodist command to obtain the distance to the listing. HUAWEI CLOUD GaussDB (for Redis) brings you one step closer to your warm home.

As a database developer, it can be as small as helping us to buy train tickets and order takeaway food, as big as buying a house, filing personal medical information, etc. There are developers wherever there is a need. Through a line of cold code, they solved every problem in life, and also achieved every developer's heroic dream.
As an annual event of Huawei's ICT infrastructure business for global developers, Huawei Developer Conference 2021 (Cloud) will be held in Shenzhen. With the theme of #Every Developer is Great#, this conference will bring together big names in the industry, Huawei scientists, top technical experts, talented teenagers, and many developers to discuss and share the latest ICT technologies such as cloud, computing, and artificial intelligence. In-depth innovation and application in the industry. In the era of intelligence, every developer is creating an era of indomitable leap forward. The world has you, amazing!

Guess you like

Origin blog.csdn.net/qq_41361570/article/details/116457609