laitimes

Have you ever seen data acquisition, speed 5 centimeters per second?

author:celiazhu1

The times are progressing, society is developing rapidly, our lives have become changing with each passing day, people are struggling at the same time, they are also pursuing rapid development, fast-paced life, fast-paced work, of course, it is inseparable from the rapid access to various data related to our lives.

Double 11 is approaching, when you are ready to shop for a single second, open the Taobao APP, browse the page, the page will open after 4 or 5 seconds of loading, what will you do?

When you open WeChat, the chat history loads slowly and cannot be displayed for a long time, what will happen to you?

These storage and loading related to network data will be used in cache as technology advances. What is caching? Caching is a technology that speeds up data access, is a high-speed memory that is faster than general random access memory (RAM), and is one of the important factors for modern computers to exert high performance.

Therefore, data caching is now a must-have technology used by most technology companies, and the corresponding caching technology methods used are also diverse.

As a data query and display system, the data cache plays an important role in the interactive platform of data visualization and data visualization, providing us with fast and accurate data.

So what can the Diesel Wisdom Number be used for? The simplest example, we can make the required data report into a better data screen to show the leader, customer, such as sales data report, financial data report, production data report, etc., can replace the traditional ppt or excel. And so on, based on data, can be flexible and changeable.

Below, I will introduce these cached scenes to you at a time, so that you can personally feel the invigorating pleasure brought by high-speed querying.

First, the browser data cache

Have you ever seen data acquisition, speed 5 centimeters per second?

We open the official website of Diesel Wisdom Digital PC, and then open the login page.

Have you ever seen data acquisition, speed 5 centimeters per second?

You can see a lot of pictures, text and other information on the browser, including the carousel of the picture, and the loading speed is very fast.

So how to do it, which uses caching technology, which is how browsers cache. We will be more time-consuming static resources, such as login pictures, etc., it is stored in the browser cache, the first time to request the server, these data will be quickly sent to the computer's browser, the browser will cache these data, we will open this URL at the same time, will directly from the browser cache to obtain data, without the need to request the server to obtain these data, reduce the network propagation of data, the corresponding time is also less consumed. (ps: Browser cache data, there is a time limit, beyond the time limit, the cache data will be emptied.) )

Second, Diesel Wisdom WeChat Mini Program data cache

Have you ever seen data acquisition, speed 5 centimeters per second?

Open the home page of the Diesel Wisdom Number WeChat Mini Program, we can see many functions, including products, homepage, large screen, comments and my, we click on the product - urban medical data visualization platform, load as above (right), there is a need for page functions are not introduced one by one.

In the "My" page will display login information, including membership information, WeChat binding data, personal settings, etc., these data will also take the cache, WeChat Mini Program cache, after the first request server, the wisdom of the large screen system will return all the personal login information, when we close the Mini Program, open the Mini Program again, we see the last login information will all be quickly displayed, this is the use of cache data, do not directly request the server to get, etc., the use of caching technology, Our experience of using mini programs will be greatly improved, and it will also speed up access and display data.

Third, the large-screen page cache data

Have you ever seen data acquisition, speed 5 centimeters per second?
Have you ever seen data acquisition, speed 5 centimeters per second?

We log on to the PC side of the Diesel Wisdom Number, select one of the pages to display, we can see that when we open the browsing, the data and pictures on the page and other components will be quickly loaded, and the use experience is excellent.

Here we use the data cache, which is divided into three types:

Caching of page components, such as pie charts on the page, bar charts, trend charts, etc., caches the data in the browser and loads faster

Page pictures, layers, such as the First People's Hospital icon, dark background image, etc., these data are also cached in the browser, making the loading more enjoyable

The data displayed on the page, such as outpatient settlement times, appointment times, disease diagnosis TOP10 and other data, the system uses data cache cache, the first time the data is read from the database or API interface, or after the file is read, the cache will cache these data, when the data is refreshed, priority read cache, if the cache cache these data, will be directly displayed, do not need to request the database or API, files, etc., reduce the request time- If there is no data in the cache, it is similar to the first request. Data refresh the fastest 3 seconds change, within 3 seconds, data cache cacha, no need to read the database or API interface request or file, the least time consuming, data refresh, 3 seconds cache empty, will read the latest data of the channel, a round cache, reduce the server request time consuming.

Fourth, the system data cache library

Diesel intelligent digital system background using the latest data storage technology ignite, ignite is a distributed storage database, but also an in-memory database, using the most advanced technology to solve the data rapid query corresponding.

Ignite distributed data storage: the data is stored on different servers, a large number of users in the request server to obtain data at the same time, respectively read the data of different servers, reduce the system concurrent reading data, and bring about resource competition, higher efficiency, faster query speed.

ignite in-memory database: Cache data on the same server in computer memory. We know the reaction, fluency is good or not, the size of the memory is indispensable, the same type of computer, the larger the memory, the better the reaction speed, because the memory stores more available data, the load will be faster. Ignite stores some of the valid data in the server's memory, speeding up system access.

As mentioned above, Diesel Wisdom uses more advanced technology in terms of caching technology, which improves the fluency of our use and reduces waiting. How to use it specifically, you can go to the use of it to find out.