Ehcache
Vert.x
Our great sponsors
Ehcache | Vert.x | |
---|---|---|
3 | 46 | |
1,963 | 14,065 | |
0.8% | 0.6% | |
5.2 | 9.5 | |
8 days ago | about 14 hours ago | |
Java | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
Ehcache
-
GC, hands off my data!
I decided to start with an overview of what open-source options are currently available. When it comes to the implementation of the on-heap cache mechanism, the options are numerous – there is well known: guava, ehcache, caffeine and many other solutions. However, when I began researching cache mechanisms offering the possibility of storing data outside GC control, I found out that there are very few solutions left. Out of the popular ones, only Terracotta is supported. It seems that this is a very niche solution and we do not have many options to choose from. In terms of less-known projects, I came across Chronicle-Map, MapDB and OHC. I chose the last one because it was created as part of the Cassandra project, which I had some experience with and was curious about how this component worked:
-
Counting faster with Postgres
If the application is a simple two-tier app with only UI and some form of backend, then we can use a caching layer such as EH Cache or Cache tools to maintain the count of rows as and when we insert it. These caches can be backed by persistence so that the data is not lost. Caches are lightweight and pretty fast. Alternatively, one can store the count in the database itself. The key feature of this approach is that the trigger to update the count is the application's responsibility.
-
Resume Advice Thread - June 19, 2021
"EHCache" is formally "Ehcache".
Vert.x
-
Spark – A web micro framework for Java and Kotlin
https://vertx.io/
It's actively maintained with full time developers, performant, supports Kotlin out of the box, and has more features?
-
Reactive database access on the JVM
Hibernate Reactive integrates with Vert.x, but an extension allows to bridge to Project Reactor if wanted
-
Looking for a coroutine-based message broker implementation for inter-app communication.
Have you looked at Vert.x?
-
What's the state of server-side frameworks with Kotlin support today for small teams?
Explicitly so:
-
Anything close beam/otp for other languages?
I really like Eclipse Vert.x... As both an Erlang dev and Java dev, it's a great synergy and soon to have support for Virtual Threads similar to BEAM.
-
Go doesn’t do any magical stuff and I love that
There are many lean, popular, non-magical libraries in Java land. (https://quarkus.io/, https://vertx.io/, etc). Spring is a monster 😱. Its like comparing Kubernetes (written in Go) with some lean framework in another lang.
- PFA vs SRL
-
Favorite hidden gem library?
Eclipse Vert.x - Add amazing Async to any Java stack
-
Codeberg a GitHub Alternative from Europe
Vert.X example: https://github.com/eclipse-vertx/vert.x/blob/master/src/main/java/examples/EventBusExamples.java#L106 (couldn't even find docs)
-
Quarkus fundamentals
In fact, it builds on top of proven standards such as Eclipse MicroProfile or frameworks such as Vert.x or JAX‑RS.
What are some alternatives?
Caffeine - A high performance caching library for Java
Akka - Build highly concurrent, distributed, and resilient message-driven applications on the JVM
Hazelcast - Hazelcast is a unified real-time data platform combining stream processing with a fast data store, allowing customers to act instantly on data-in-motion for real-time insights.
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
Redisson - Redisson - Easy Redis Java client and Real-Time Data Platform. Sync/Async/RxJava/Reactive API. Over 50 Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Bloom filter, Spring Cache, Tomcat, Scheduler, JCache API, Hibernate, RPC, local cache ...
Quarkus - Quarkus: Supersonic Subatomic Java.
Apache ZooKeeper - Apache ZooKeeper
Micronaut - Micronaut Application Framework
Apache Geode - Apache Geode
RxJava - RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
Hystrix - Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
helidon - Java libraries for writing microservices