In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
What this article shares with you is about how Spring cloud implements the advertising system. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
So far, our entire primary advertising retrieval system has been preliminarily developed. Let's review our advertising system as a whole. The coding structure of the whole advertising system is as follows:
Mscx-ad parent module > is mainly to facilitate the unified management of our project.
Mscx-ad-db > this module has two main functions, itself should only be used as a database script management package, but we generate the index file in the process, for convenience, I directly export the full index of the json file generation is also written in the project. The main purpose is to manage database scripts through flyway.
Mscx-ad-common > this is mainly the storage of some general tool classes.
Mscx-ad-feign-sdk > this jar package is mainly for inter-service calls, for the unified management of various pojo and CustomFeignClient, to facilitate a modification, global application. Of course, if the project team is small, you can create the same vo object in different project, which is mostly designed in RPC today.
Mscx-ad-dashboard > this is a visual management tool provided by hystrix. Of course, I will also replace it with our Ali big sentinel later, please look forward to it.
Mscx-ad-discovery > I didn't use ad-eureka when I named it, and I also try to use SpringCloud Common abstract public comments in the project, such as @ EnableDiscoveryClient. In fact, interested students can see that I also want to replace it later. We can use ZK, but I will also use our big NACOS later to replace it.
Mscx-ad-zuul > Gateway routing component, nothing special. Replace it with gateway later.
Mscx-ad-sponsor > Advertising main modules for advertisers
Mscx-ad-search > the core of the whole advertising system, exposing query service to the public.
In order to make our system highly available, all of the above systems theoretically require multi-instance deployment.
We use Binlog to monitor Mysql database to implement incremental indexing in advertising retrieval service. If our system request is very high, our binlog needs to be monitored by more than N service instances. What is the problem? Why is there such a problem? How is the modification reasonable?
The above is how Spring cloud implements the advertising system, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please 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.