microhttp
Jooby
microhttp | Jooby | |
---|---|---|
7 | 13 | |
515 | 1,660 | |
- | 0.5% | |
6.1 | 9.6 | |
5 months ago | 10 days ago | |
Java | Java | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
microhttp
- FLaNK Stack Weekly 11 Dec 2023
- Any suggestions for good open source Java codebases to study(With below criteria)?
- Latest version of Microhttp, an event-driven, zero-dependency, pure-Java web server with 500 LOC, capable of 1,000,000+ requests per second on commodity EC2 hardware.
- Microhttp: Event-driven, zero-dependency web svr, 500 LOC, capable of 100k r/SEC
- Microhttp is an event-driven, single-threaded, zero-dependency web server with 500 LOC. Benchmarks on EC2 show 100,000+ requests per second and 50,000+ persistent connections.
Jooby
-
Javalin – a simple web framework for Java and Kotlin
One of the good things about it is that using asynchrony is optional. If you don't have to call out anywhere to build the response, processing can all stay in the handler's calling thread. If you do, you can return a future and have the library handle the async for you.
One downside is that it is based on Jetty which isn't considered the most performant backend. A lib with a similar API but based on Netty is Jooby [1] which scores well in the Techempower benchmarks.
[1] - https://jooby.io/
- Jooby Web Framework for JVM
-
Is the Spring framework too heavy and over-designed?
Jooby and Helidon SE are among the best.
-
RIFE2 web framework under development
The code snippet gave me a vibe like it was jooby Looks cool, I suggest maybe start incorporating Project Loom virtual threads in the future.
- Java modern frameworks choice
- Latest version of Microhttp, an event-driven, zero-dependency, pure-Java web server with 500 LOC, capable of 1,000,000+ requests per second on commodity EC2 hardware.
-
The Flask Mega-Tutorial
Speaking of backend development, recently I gave Jooby[1] a try after discovering it was one of the world's top performer in Tech Empower's web framework benchmark[2].
Surprisingly enough, it's terribly easy to put together a REST API with Jooby. I wonder why it's adoption rate is so low.
[1] https://jooby.io/
[2] https://www.techempower.com/benchmarks/
-
What is the current state of the art for efficiently handling blocking requests in Java/Spring?
Do you need to use Spring btw? If you want to broaden the tool selection I've had great success with i.e Jooby (https://jooby.io/) together with Kotlin coroutines. Another alternative is the KTOR framework.
-
Java Equivalent of Express.js for REST
Jooby I think is the best bet. https://jooby.io/ watch out for jooby dot org I think someone sniped the domain.
-
Fully Static Java Webserver - Is this a bad idea?
Spring Boot or JAXRS. I personally use Jooby a lot which is similar in style to spark but has annotation support and isn't a singleton.
What are some alternatives?
ring - Clojure HTTP server abstraction
Spring Boot - Spring Boot
just - the only javascript runtime to hit no.1 on techempower :fire:
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
Guava - Google core libraries for Java
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
jsoup - jsoup: the Java HTML parser, built for HTML editing, cleaning, scraping, and XSS safety.
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
deezpatch - A simple fast dispatch library.
Spring - Spring Framework
MFL - A Java library for reading and writing MATLAB's MAT File format
Quarkus - Quarkus: Supersonic Subatomic Java.