ring
Quarkus
ring | Quarkus | |
---|---|---|
15 | 127 | |
3,708 | 13,107 | |
0.3% | 1.0% | |
8.4 | 10.0 | |
about 1 month ago | 4 days ago | |
Clojure | 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.
ring
-
A History of Clojure (2020) [pdf]
* HTTP: Ring is the de facto way to manage HTTP request (see https://github.com/ring-clojure/ring/wiki/Concepts). Jetty and Aleph are common web servers (and https://github.com/clj-commons/aleph) that implement Ring interface.
- Como desenvolvi um backend web em Clojure
-
what componies uses Clojure, and what componies deceased the use of other languages after additions of Clojure, for example Dropbox decrease the use of python after addition of Go programming language, are there any similar story with Clojure?
https://youtu.be/LcpbBth7FaQ (really cool live coding session with REPL-driven development for a ring web app)
-
I Don’t Like Go’s Default HTTP Handlers
> In the HTTP handlers it makes sense that you don't have return values, because: What would you do with that value exactly?
I think that approach used by clojure's ring shows an elegant way to represent http responses https://github.com/ring-clojure/ring/wiki/Concepts#responses. They are essentially structs with the following fields:
status := number
headers := map of string->string
body := stream | string | seq | inputstream
Request handlers are handed a request struct that is similar. The handler is a function that maps a request to a response (it doesn't actually write to streams itself).
I like this style for an http library for a couple of reasons:
1. HTTP resources can be viewed as functions whose domain is the request, and range is the response. Having the abstraction match that makes for really nice code.
-
what web framework do you use?
While you won't find your Spring here, you will find that many of those web libraries will tend to use or produce Hiccup, return Ring maps or maybe have pipelines built using interceptors. Composing libraries together is usually not that hard, but it does require you to leave the comfort zone of the framework's abstractions to try to understand what is actually happening e.g. when someone makes an HTTP request and something is returned and displayed in the browser.
-
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.
On that note, are you able to support everything required by the ring spec?
-
is bulding rest apis with clojure a good idea ?
You can check out my example project in Clojure with using Ring.
- Clojure Ring เบื้องต้น
-
Diving into clojure
It uses already mentioned ring api (https://github.com/ring-clojure/ring/wiki).
-
Can someone help me understand ring's async handlers (specifically, with Jetty)
I've tried to pair down to the simplest example which shows the issue, and raised it here as I couldn't see one you'd already created or similar: https://github.com/ring-clojure/ring/issues/436 This is so that I have something to link to/follow from our side, hope you don't mind, and many thanks for the diagnosis!
Quarkus
-
How Netflix Uses Java
Meanwhile, if you're building something smaller than Netflix, I'm writing a book just for that (https://opinionatedlaunch.com/).
It's about mobile apps, but I talk about backend at great length, especially since my background is Java. The book is called "opinionated" because I cover Quarkus (https://quarkus.io/), monolith, Fly.io, and no K8s.
-
Analyze and debug Quarkus based AWS Lambda functions with X-Ray
Quarkus is a Java based framework tailored for GraalVM and HotSpot, which results in an amazingly fast boot time while having an incredibly low memory footprint. It offers near instant scale up and high density memory utilization which can be very useful for container orchestration platforms like Kubernetes or Serverless runtimes like AWS Lambda.
-
Quarkus : Greener, Better, Faster, Stronger
Other useful articles related to Quarkus extension development can be found under the Writing Extensions guide category on the Quarkus.io website.
-
Quarkus 3.4 - Container-first Java Stack: Install with OpenJDK 21 and Create REST API
Quarkus is one of Java frameworks for microservices development and cloud-native deployment. It is developed as container-first stack and working with GraalVM and HotSpot virtual machines (VM).
- Java 21 Released
-
Java 21 makes me like Java again
If you GraalVM Native Image or one of the frameworks based on it then bootstrap cost disappears:
https://quarkus.io
-
Mentorship Group
We are open to practice using any open-source project, however, we want to set a sharp focus on projects maintained by the Red Hat, and our own projects in the Caravana Cloud organization on github. If there is no reason to do differently, we'll build using technologies such as OpenShift, Quarkus, Ansible and related projects.
- Como desenvolvi um backend web em Clojure
-
Is anyone using Quarkus for monoithic, full-stack web apps?
The Quarkus you are talking about is this one? https://quarkus.io/
- Quarkus 3.1.0.Final released - Programmatic creation of Reactive REST Clients, Kotlin 1.8.21 and more
What are some alternatives?
Jetty - Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
usermanager-reitit-integrant-example - A little demo web app in Clojure, using Integrant, Ring, Reitit, Selmer (and a database)
Micronaut - Micronaut Application Framework
ring-netty-adapter - Netty Support for Ring
helidon - Java libraries for writing microservices
ketu - A clojure kafka client with core.async integration.
Spring Boot - Spring Boot
clojure-polylith-realworld-example-app - Clojure, Polylith and Ring codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
clojure - The Clojure programming language
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]