Teaching Assistant of Wheat: Accelerate the implementation of microservice architecture through Alibaba Cloud's native middleware product portfolio

Introduction: Through the in-depth use of Alibaba Cloud's rich cloud-native middleware products, the rapid implementation of the wheat microservice architecture is facilitated. With the help of observable, messaging and other products, the efficiency of development and operation and maintenance is greatly improved, so that wheat is reducing costs and increasing efficiency. A new breakthrough has been made in this field, and it has truly focused on the business itself.

Author: God fish, Ali cloud solutions architect


Wheat Teaching Assistant is a professional omni-channel service provider of education informatization, using data and technology as the engine to provide one-stop digital operation management solutions for educational institutions.  The current product system includes wheat teaching assistant management system, wheat show, cloud classroom, wheat and wheat punch card, wheat school paper communication, wheat college, wheat cash register, etc., helping educational institutions to solve the whole process operation management problems such as enrollment marketing, educational administration management, home school service, etc. , Took the lead in realizing the landing application in SaaS informatization services, content marketing, financial services and other diversified fields, starting from the operation and management scenarios of education and training institutions, and helping K12 education and training institutions to achieve informatization upgrades through the "SaaS+ value-added services" model.


Based on innovative technologies in the Internet field and insights into user behavior, wheat teaching assistants have opened up all kinds of real scenes of educational institutions online and offline, realized the information office of educational institutions, and greatly improved the overall operating efficiency of the education industry.


New demand


With the rapid growth of the business volume of wheat teaching assistants, the original self-built messaging and monitoring system is facing new challenges:


1. Self-built operation and maintenance costs are high


  • Self-built Kafka needs to be concerned about complex operation and maintenance operations such as disk water level, expansion, increase in the number of partitions, and cluster configuration upgrades.
  • Application link diagnosis is self-built based on Skywalking, which puts a lot of pressure on data storage, and the cost of using Elasticsearch on the cloud is high.


Two, stability challenges


  • There is great uncertainty in online business flow, and it is necessary to limit the flow of online business to ensure the stability of the overall business.
  • It is very difficult to maintain a set of MQTT technical architecture that can support the rapid development of the business, requiring custom protocols and handling various exceptions.


After communicating with Alibaba Cloud technical experts, cloud-native middleware related products have become the first choice for wheat assistants to break the game.


Cloud-native middleware helps wheat teaching assistants quickly implement microservice architecture



Wheat teaching assistant cloud native solution

Alibaba Cloud messaging products help wheat teaching assistants achieve business stability


Message queuing Kafka, MQTT and RocketMQ are message queuing products hosted by Alibaba Cloud. They feature high concurrency, high availability, and no message loss, ensuring the stability of the core system and supporting the rapid development of business.


  1. Message queue Kafka is the preferred data channel in the big data field


The message queue Kafka version is a fully managed messaging service built and optimized based on Apache Kafka. The product core is fully optimized to solve the long-term pain points of open source products. It is free of operation and maintenance, low cost, more stable, and the preferred data channel in the big data field.



The development of Kafka has invested heavily in operation and maintenance, and stability cannot be guaranteed in large-scale scenarios, open source bugs have not been resolved, expansion is often up to the day when super large-scale, the upper limit of partitions is up to 1,000, and the SLA cannot be guaranteed. The Alibaba Cloud message queue Kafka can achieve:


  • Full hosting: users only need to focus on business development, no need to deploy operation and maintenance;
  • Simple and easy to use: business code does not require any modification, and can be quickly uploaded to the cloud; provides comprehensive diagnosis and operation and maintenance capabilities to help users easily locate problems;
  • Highly flexible and scalable: Provides flow, storage, Topic/Partition multi-dimensional, multi-specification expansion capabilities, second-level load balancing, and almost no impact on the business during the expansion period;
  • Ecological support: end-to-end support for the ecological access of Alibaba Cloud's big data products;
  • High SLA: 99.9% service availability , 99.999999% data reliability .



  1. Micro message queue MQTT easily supports millions of concurrent connections and millions of connections


The micro message queue MQTT is a lightweight message middleware for message transmission and two-way communication between end-to-end and end-to-cloud. It easily supports business scenarios with millions of concurrent and tens of millions of connections, and realizes the interconnection of everything.



Compared with open source self-built, Alibaba Cloud micro message queue MQTT provides 7*24 hours service, fully managed cloud service, high SLA guarantee, and higher reliability and stability. For enterprises, the value of micro message queue MQTT lies in:


  • Full hosting: Full hosting cloud service support, reducing operation and maintenance costs, and improving development efficiency;
  • Standard protocol: support MQTT3.1.1 standard protocol and WebSocket protocol;
  • Multi-language: the most comprehensive coverage, supporting 8 mainstream languages ​​in the industry;
  • Lightweight and flexible: Flexible rule configuration reduces the impact of massive concurrency on the business;
  • High performance: unlimited expansion capabilities to support the growth of user business scale;
  • High SLA: Availability is 99.95%, which guarantees the business stability of enterprise customers.


  1. The message queue RocketMQ version is the first choice for building asynchronous applications


The message queue RocketMQ version is Apache's top open source project, Alibaba trading link and the official designated message product of Double Eleven. More than ten years of technology has accumulated simple and easy-to-use, comprehensive functions, high concurrency, high reliability, and financial-level availability. Build the preferred messaging product for application asynchronousization.


RocketMQ can still guarantee millisecond-level end-to-end latency under the massive message scenario, and guarantee the user experience of the enterprise platform; RocketMQ provides hotspot-free, scalable and highly available sequential messages to help users quickly build businesses.



The commercial version of RocketMQ can ensure cluster stability in any scenario and at any scale. It has a generation difference of nearly 1 to 2 years compared with the open source version on the same characteristics, and is richer in functions, such as second-level accurate timing messages and high availability. With advanced functions such as sequential message, message routing, link tracking, and healthy market, users do not need secondary development.


Comprehensive APM monitoring and alarm capabilities under the micro-service architecture improve operation and maintenance efficiency


Link tracking provides comprehensive APM monitoring and alarm capabilities under the micro-service architecture. Prometheus provides more flexible monitoring access customization capabilities, which saves operation and maintenance resources, improves the efficiency of self-service troubleshooting, and liberates the productivity of IT personnel. Make it more focused on business value.





Quickly build system runtime high-availability capabilities


Application high-availability service AHAS provides application architecture detection perception, fault-injected high-availability capability evaluation, and flow control degradation high-availability protection capabilities, including traffic protection, fault drills, architecture awareness, switching, plans, multi-active disaster recovery, etc., to help customers quickly , Simply build the high availability capability of the system during runtime.


After several years of large-scale actual combat and daily stability tests on Double 11, AHAS has served Alibaba's entire ecosystem and started to serve external companies. At the same time, there is the open source Sentinel endorsement, which is currently the first domestic protection software and a required component of the international mainstream framework; and there is the open source ChaosBlade endorsement, the first chaos engineering open source product in China.


Customer testimony


Through the in-depth use of Alibaba Cloud’s rich cloud-native middleware products, the rapid implementation of the wheat microservice architecture is facilitated. With the help of observable, messaging and other products, the efficiency of development and operation and maintenance has been greatly improved, so that wheat can reduce costs and increase efficiency. In order to achieve new breakthroughs, we can truly focus on the business itself. At present, the level of R&D management of wheat is at the leading level in the same industry.

——Wheat Assistant CTO



Recommended Products:


Micro message queue MQTT : Lightweight message middleware that realizes message transmission and two-way communication between end-to-end and end-to-cloud, easily supports millions of concurrent connections and tens of millions of connections, and realizes the interconnection of everything.


Message queue RocketMQ version: Apache's top open source project, Alibaba trading link and the official designated news product of Double Eleven, more than ten years of technology precipitation, a comprehensive, high-concurrency, stable and reliable financial-level message service, and the first choice for building asynchronous applications product.


Message queue Kafka version: A fully managed message service built and optimized based on Apache Kafka , which is cheaper, more stable, more comprehensive, free of operation and maintenance, and the preferred message product in the big data field.


Prometheus monitoring service: A data monitoring service based on the open source Prometheus, fully managed data disk, storage and alarm capabilities, out of the box.


Application high-availability service AHAS: Provides application architecture detection and perception, fault-injected high-availability evaluation, and high-availability protection against flow control degradation.



Original link: https://developer.aliyun.com/article/781924?

Copyright statement: The content of this article is voluntarily contributed by Alibaba Cloud real-name registered users. The copyright belongs to the original author. The Alibaba Cloud Developer Community does not own its copyright and does not assume corresponding legal responsibilities. For specific rules, please refer to the "Alibaba Cloud Developer Community User Service Agreement" and the "Alibaba Cloud Developer Community Intellectual Property Protection Guidelines". If you find suspected plagiarism in this community, fill in the infringement complaint form to report it. Once verified, the community will immediately delete the suspected infringing content.

Guess you like

Origin blog.csdn.net/alitech2017/article/details/114673643