Skip to content
Spring Boot customizers that allow light-4j middleware handlers to be injected in Undertow core
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
spring-reactive
spring-servlet
.gitignore
CHANGELOG.md
LICENSE
README.md
pom.xml

README.md

light-spring-boot

Spring Boot customizers that allow light-4j middleware handlers to be injected in Undertow core

Stack Overflow | Google Group | Gitter Chat | Subreddit | Youtube Channel | Documentation | Contribution Guide |

Recently, one of the big customers asked if we can integrate light-4j middleware handlers to address cross-cutting concerns to Spring Boot applications. They want to leverage the light-4j middleware handlers as they are faster, smaller and easier to implement and customize. Most importantly, these handlers working with light platform infrastructure to form an ecosystem to support microservices architecture. In this way, they can migrate their existing Spring Boot applications to the light platform without changing the controllers and business logic. The different development teams welcome the idea as they can still use Spring Boot to develop or maintain their applications without knowing the light-4j middleware injections as the DevOps team handles it in the pipeline.

Performance

There is a significant performance boost in using light-4j handlers to address cross-cutting concerns. We have done a performance test on the same Spring Boot application with two different paths implemented with Spring Boot controller and Light-4j handler. The Light-4j handler is about 20 times more throughput and 20 times less latency.

Getting Started

It is very easy to follow this tutorial to convert your existing Spring Boot applications to inject Light-4j middleware handlers. For a new application, they should be built on light-rest-4j directly to maximize the performance gain.

Document

To learn about how the injection works, please visit the reference document for the spring-servlet component for details.

You can’t perform that action at this time.