pan3793 commented on issue #32:
URL: https://github.com/apache/incubator-kyuubi/issues/32#issuecomment-890310288


   Netty is a nice network library, it would be the first candidate for 
low-level or custom-defined protocol, e.g. MySQL or PostgreSQL protocol. But as 
you said, it's too low level for HTTP or Web Socket.
   
   Quote from  "flink-runtime-web" 
   
   > The server side of the dashboard is implemented using Netty with Netty 
Router for REST paths.
   
   From the project commit history, the Netty Router is not maintained since 
2017, it's risky for Kyuubi to adopt it.
   
   Have you considered Jetty or Spring Boot?
   
   Jetty is light and Spring Boot is heavy. To my knowledge, those two are the 
most widely used HTTP server frameworks in Java ecosystem ( correct me if I'm 
wrong ).
   
   For this case, the light one Jetty would be better. 
   
   Jetty is adopted by Apache Spark, Apache Hive, Apache Druid, etc. to build 
HTTP services. Trino/Presto builds on top of airlift which depends on Jetty. 
Seems Javalin also depends on Jetty?
   
   Besides, there is a naive usage of Jetty in Kyuubi 
`PrometheusReporterService`, maybe we can build a unified HTTP server which 
also covers this case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to