In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
SpringBoot is a popular web application development framework in recent years, and it is a development framework for micro-services. Its Web server kernel is Tomcat or Jetty, which parses client http/https requests as Servlet capacity. Recently, spring.io has launched a new server kernel framework, which is WebFlux, which parses and processes client requests in the way of stream.
Vertx is another micro-service development framework, which is provided by Eclipse, and its server kernel is Netty. This is actually the same as WebFlux. Recently, many friends in China have posted that the performance of SpringBoot's WebFlux is not as good as expected, and they pointed out that although Non-Blocking technology has been used. But there are also performance problems. Although I did not verify their test results, I was inspired by their article to build a project with SpringBoot+Vertx 3 + JDBC.
On the whole, this Demo project is the bottom management of the whole project by SpringBoot, the RestFul layer is realized by Vertx, the Service layer of Spring is used for business processing, the database connection pool is managed by HIKARI, and the database operation is operated by JdbcTemplate. The overall performance is indeed greatly improved, but the complex programs developed are also improved. In particular, EventBus is used when passing customer request data to Spring's Service, which increases the complexity of the code implementation as concurrency increases.
From this Demo experience, in the current application server users are small, there is no need to use Vertx for development, the use of SpringBoot is sufficient.
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.