In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you an example analysis of Aqara building an Internet of things micro-service platform with the help of KubeSphere. The article is rich in content and analyzed and described from a professional point of view. I hope you can get something after reading this article.
1. About Green Rice Co., Ltd.
Shenzhen Lvmi Lianchuang Technology Co., Ltd. (hereinafter referred to as: Lvmi Lianchuang) was established in 2009. In 2016, Lvmi United launched its own brand, Aqara, with the concept of "whole-house intelligence", which aims to build a more intelligent life for users through a series of smart home product technologies and service provider models.
Its products include temperature, humidity, doors and windows, human body, flooding, smoke, gas, lighting and sleep sensors, as well as smart switches, sockets, curtain motors, air conditioning controllers, dimmers, door locks and other intelligent controllers, currently support industry applications of automatic control and big data analysis platform.
Aqara adheres to the vision of "leading IoT technology and serving thousands of families" and adheres to the mission of "persevering in the pursuit of user experience and unremitting creation of user experience". It continues to innovate in the smart home industry and eventually become a leading brand in the industry.
2. Challenge
Lvmi Lianchuang originally adopted the traditional application deployment method. More than 80% of the micro-service architecture is memory-based services, and the resource utilization is very low, especially CPU, disk storage, and the iterative speed is not satisfactory.
In order to change this situation, Lvmi Lianchuang tried to start from continuous integration, Jenkins, Harbor building, to test environment Docker Swarm orchestration.
However, with the rapid growth of business, the cross-platform support effect of Docker Swarm choreography is poor, and the internal Service communication will time out during the peak period of traffic access.
As a result, Lvmi Lianchuang has shifted its business architecture from Docker Swarm to Kubernetes. In terms of native installation and operation and maintenance Kubernetes, they want to rely on third-party open source solutions.
In addition, Lvmi Lianchuang also needs a set of container services with complete audit, monitoring alarm, permission distribution, custom optimized resource expansion strategy, plug-in personalized customization, and platform with regular problem self-examination strategy and a clear log platform.
3. Solution
After comparison and research, Lvmi Lianchuang chose the KubeSphere container platform.
With its refreshing user interface and wizard-like resource creation mode, KubeSphere is completely application-centric, is more inclined to the management of Kubernetes cluster resources, provides elegant API interfaces, and integrates and packages the commonly used functional components of operation and maintenance development on Kubernetes, such as Jenkins, Harbor, Promethues, Apache SkyWalking, and supports deployment in any infrastructure environment.
At present, all of Lvmi Lianchuang's stateless services run on KubeSphere, stateful data storage services, using cloud cluster services such as Redis, HBase, Flink, Elasticsearch, MySQL, etc.
At present, Lvmi Lianchuang overseas services are basically running on KubeSphere, including Gateway micro-service routing and scheduling, Push, Send push, iftt timing and so on.
Because the business of Lvmi Lianchuang is mainly Java, its Internet of things micro-service platform is based on SpringCloud framework for micro-service, using Apollo distributed configuration center to manage configuration, Eureka registry service registration and discovery. Microservice load balancing and service invocation are realized by combining Ribbon and Feign.
At the same time, we use Hystrix thread pool to achieve isolation, circuit breaker and degradation, sentinel current restriction, while SpringCloud-gateway gateway routing is used to achieve route scheduling, log uses the classic ELK combination, and APM uses SkyWalking as the application performance monitoring tool of Java micro-service distributed system.
So far, this set of Internet of things micro-service platform has been running smoothly in the production environment of Lvmi Lianchuang for more than half a year. Lvmi Lianchuang plans to migrate all stateful and stateless services in the company's development, testing and production environment to KubeSphere in the near future.
4. Income
KubeSphere's compatibility across multi-cloud platforms and the choice of supporting multiple plug-ins have deepened Lvmi Lianchuang's understanding of Kubernetes modules and promoted the pace of Kubernetes container choreography in the production environment.
Moreover, KubeSphere frees the daily repetitive work faced by operation and maintenance, and reduces the overall maintenance cost of the application.
KubeSphere also makes it easier for Lvmi to get started with Kubernetes, accelerates the launch of Kubernetes in the production environment, significantly improves the efficiency of business iterations, and allows R & D to switch, deploy and verify the functional modules of each application at will.
The above is an example of Aqara building an Internet of things micro-service platform with KubeSphere shared by Xiaobian. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
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.