Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if Android APP collapses?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the knowledge of "what to do if Android APP collapses". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Architecture design

The first step is to achieve architectural visualization. Using the architecture awareness of AHAS, we can fully understand the system architecture on the cloud and visually present the hierarchical dependencies among cloud resources, containers and applications in a visual way. Servers, storage, and networks are the infrastructure of modern cloud platforms. With the development of Shangyun strategy, more and more enterprises build their business, services and systems on the cloud platform.

The diversity of open source software and cloud services, the heterogeneity of development languages, and differences in the organization and capabilities of enterprise IT teams all increase the complexity of standardization. The architecture awareness function arises at the historic moment, captures the call relationship at the process level by collecting and analyzing the operating system and the third-party standard interface, and uses the feature library algorithm to identify the technical components used by the process. finally, the application architecture is displayed visually in the three dimensions of server, container and process, giving users a comprehensive and clear cloud architecture map. Around this basic view, it will continue to generate multi-dimensional architecture views of cloud resources, containers and application architecture, as well as scene-based views such as site relocation, reconstruction and asset management, to truly achieve CMDB visualization, drive problem discovery to boost business growth, and release more dimensional dividends on the cloud.

On the other hand, the strong and weak depend on governance, because strong dependence itself means both prosperity and loss. Combined with the introduction and pre-embedding of AHAS SDK, once the maximum throughput capacity of the platform reaches the bottleneck, not only the peak traffic limit of ingress or web applications can play the role of the first layer of protection, but also the services pre-marked as weakly dependent can be smoothly offline, thus saving more resources to ensure core computing power, and at the same time removing the impact of non-core on core services. Finally, we can maximize the balance between business and cost through reasonable and efficient service degradation. When coding with AHAS SDK, you only need to care about how to define the resource, that is, which methods / blocks of code need to be protected, not how to protect the resource. Then protect the resource by adding rules, which take effect immediately.

Capacity planning

Public network simulation stress test: first of all, business traffic of the same model and magnitude can be built efficiently and quickly through PTS. For open source mainstream JMeter scripts, it can be directly 100% compatible. If there is no ready-made script, you can use the visual interaction developed by PTS to perform 0-coding choreography. After the orchestration is completed, it can be initiated from various regional operators of the public network to truly simulate the public network traffic under specific business scenarios. Thus comprehensively validate and detect the bottlenecks and problems of the overall architecture above or under the cloud, from network access to application services to the storage layer and infrastructure.

Full-link stress testing: further, if you want to measure business capacity directly and accurately in the production environment, you can use PTS-related solutions to enable the production environment to identify and route to designated shadow storage areas, combined with the preparation of relevant shadow storage areas, and then achieve the same production environment for business traffic pressure testing on basic data of the same scale. Finally achieve the ability to accurately measure the online production environment, of course, for the pressure testing pipeline data has been isolated, so it can be convenient and safe cleaning and maintenance.

Service monitoring

In the face of complex application environment and fast-growing business, ARMS can help users quickly build a complete monitoring system in various environments, and achieve end-to-end monitoring from page to database, from application performance to infrastructure resources, and from IT to business. Reduce troubleshooting time, reduce inter-departmental communication costs, and ultimately reduce the loss of enterprises due to failures and poor experience.

Online management and control

In the running state or existing applications, the AHAS probe form (a lighter scheme except AHAS SDK) can be used to strongly control the flow of the service flood peak and cut the peak and fill the valley of the message scenario without modifying the code, while for those with complex structure, the unstable factors inside or outside the system can be quickly degraded to keep the business stable, and there is also the ability of stand-alone overload protection (dynamically adjusting the inlet flow according to RT). Even when the system is too late for pressure testing or do not know what rules to configure, stand-alone intelligent overload protection is a good function and method. All of the above can be introduced and controlled in the operation mode and operation and maintenance side. The online configuration items and business attribute values are securely and uniformly controlled through the lightweight solution of the AHAS switch module. This part of the capability will soon be available, please look forward to it.

Daily inspection

Risk exposure in advance, comprehensive inspection and risk identification of major cloud resources on the cloud through Advisor intelligent consultants, the rules all come from the accumulation of customer-oriented technology system of Aliyun's front-line TAM students and the integration of SRE best practices in Ali Ecology. Based on the above-mentioned architecture map and user input, deeper inspection and recommendations can be carried out at the application / business architecture level.

Normalized exercise

The fault drill module of AHAS follows the principle of chaos engineering experiment and integrates the experience of Alibaba's internal practice. Based on this, users can build a fault drill system with complete flow and high visualization, which can easily orchestrate and customize the four layers of basic resources, application services, container services and cloud platform. At the same time, the product also provides a rich library of mature fault experience. So as to help users achieve comprehensive high availability promotion, including architecture, business, and personnel. Fault walkthroughs play a huge role in scenarios such as dependency governance, business continuity improvement, and fault repair verification.

Tool list

1. Apply highly available service AHAS

Cloud tool products that focus on improving application high availability capabilities, provide automatic application architecture detection, fault injection high availability capability evaluation and one-click flow control degradation and other functions, can improve application availability quickly and at low cost.

2. Performance test PTS

A cloud testing tool for all technical background personnel. Different from the complexity of traditional tools, PTS provides a variety of capabilities such as performance testing, API debugging and monitoring with Internet-based interaction. Self-development and adaptation to open source features can easily simulate any number of users to access the business scenario, tasks are initiated at any time, eliminating tedious construction and maintenance costs. It is closely combined with monitoring, flow control and other brother products to provide one-stop high availability, efficient inspection and management of business performance.

3. Advisor, an intelligent consultant

According to the situation of users, combined with Aliyun's long-standing client-side best practices, and based on the core basic capabilities of TAM (Technical Account Management) service system, intelligent consultant Advisor provides users with all-round diagnosis and optimization suggestions on cloud resources, application architecture, business performance and security. Now, more and more original customers of Ali Yunyun can easily enjoy professional TAM-based services through Advisor and make better use of the cloud. At the same time, we will also provide special and in-depth TAM services for customers with related needs around Advisor.

4. Enterprise-level highly available architecture solutions

The high-availability technology system, which was born out of Alibaba's e-commerce business, has gone through all the double 11 flood peak tests and daily stability tests, and has served the whole ecology of Ali and began to serve external enterprise customers. The solutions provide enterprises with marketing activity support, overall cost control (full-link pressure testing, capacity planning, flow control, scheduling), emergency response capabilities (switches and plans), disaster recovery and escape capabilities (architecture awareness, fault drills, remote multi-activity, unitalization).

5. Chaos testing tool ChaosBlade

ChaosBlade is a chaos engineering tool that follows the experimental principle of chaos engineering, is based on Alibaba's fault testing and exercise practice in the past ten years, and combines the best ideas and practices of various businesses of the group to provide rich fault scenarios and help distributed systems improve fault tolerance and recoverability.

6. Lightweight flow control framework sentinel

Take the flow as the starting point to help you protect the stability of the service from many dimensions, such as flow control, circuit breaker degradation, system load protection and so on.

This is the end of "what to do if Android APP collapses". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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.

Share To

Development

  • How to observe the change of slot by vue

    This article mainly introduces vue how to observe the changes of slot, the article is very detailed, has a certain reference value, interested friends must read it! How to observe the changes in slot sometimes we need to know when the content in the slot has changed:

    © 2024 shulou.com SLNews company. All rights reserved.

    12
    Report