In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how the Serverless application parses the management log and persisted data. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Real-time logs first, SAE supports viewing the real-time logs of each Pod under the grouping of application instances. When an exception occurs in the application, you can locate the problem by looking at the real-time log of Pod. When the application is running, you can easily see the real-time log of the application instance in [console-Log Management menu-Real-time log submenu]. File log
SAE collects and inputs business file logs (excluding stdout and stderr logs) into SLS to view logs with an unlimited number of lines, aggregate and analyze logs by itself, facilitate the docking of business logs, and be billed by log usage.
You can configure the log collection service when deploying the application, enter the log sources to be collected, and enter wildcards to solve the scrolling log scenarios.
When the configuration is completed, you can easily see the collected file logs in [console-Log Management menu-File Log submenu].
NAS persistent storage
Because the data stored in the container is not persistent, SAE supports the NAS storage function, which solves the problem of persistence of application instance data and multi-reading and sharing data between instances.
You can configure persistent storage by deploying the application, select the created NAS, and enter the corresponding mount path in the container.
When the configuration is complete, you can use the cat / proc/mount | grep nfs command to check whether the mount is successful, or you can prepare two application instances, An and B, and mount NAS respectively. Execute the write command echo "hello" > tmp.txt on An and the read command cat tmp.txt on B. If the hello written in A can be read in B, it means that the NAS is mounted successfully.
This is the end of how to parse management logs and persist data in Serverless applications. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.