So what role can cloud technology play in the process of software development? The following is a detailed introduction of Beida Jade Bird in Hebei Province.
First, cloud native data is stored in many ways. In the past, how to store data? Generally speaking, it is mainly through local or networked file systems, and relational databases can also be used, so that cloud native data can be generated in different ways and reside in many places.
Cloud native data may be located in event log, relational database, document or key value storage, object storage, network storage, cache or cold storage.
In the process of use, the methods used mainly depend on the specific situation.
How to store media files that need high persistence? You can use the object storage method at this time.
Second, there is no fixed pattern for cloud native data. In most cases, you can see that cloud native applications and services process data in JSON format.
In other words, you can also use protocol buffers or traditional XML to build data.
But in any case, cloud native applications need to give priority to adaptability.
Because it means it's easy to adapt to different changes.
Various storage can be considered during use.
If you require that all data conform to a fixed pattern and can be inserted into the SQL database flexibly, you don't need to limit yourself.
Consider reducing the extensive use of ORM and classes because it is difficult to change them.
Third, cloud native data has replication redundancy. What can we learn in the process of learning software engineering? In this process, the most important thing is not to repeat.
This is a valuable guideline, but data from cloud native applications may not only exist in one place.
When introducing cache, you will find that you need to read and write cache at the same time.
The data in the discovery cache of Beida Jade Bird in Hebei Province is finally written into the recording system.
Cache itself is a form of data replication, which can provide you with better performance and flexibility.
Fourth, cloud raw data is often used and discarded. When clearing data, you need to overcome psychological barriers. Many people store data just in case. Although the cloud raw data is easy to expand in this process, most of these data can only be used for temporary purposes.
Don't think you want to store all the data.
After computer training, you will find that the life cycle of the processed data is shorter than before. Before planning its storage medium, you need to calculate the life cycle of the data accurately.