Modeling relations in Mongo, Java performance tips, new features in Java, warming caches at Netflix’s scale and reimagining software architecures!
Search Results for: Concurrency
Java Weekly, Issue 412
Large objects and GC in Java 18, new API in project loom, native images for Spring Boot, AWS MemoryDB, and building an startup!
Java Weekly, Issue 410
Finalizer deprecation, string improvements in Java 17, Kotlin support in protocol buffers, cache libraries on JVM, and software engineering principles.
Remove an Entry from a Java HashMap
Learn different ways to remove an entry from a Java HashMap.
Java Weekly, Issue 407
Faster Maven builds (always good), how SREs scale in an org, and a cool Datadog feature. A solid week overall.
Java Weekly, Issue 398
Java 16 new features, reflection meets method handles, active record panache, gateway pattern, and swapping in K8S.
How to Implement LRU Cache in Java
A guide to implementing an LRU cache in Java.
Guava’s Futures and ListenableFuture
Learn about Guava’s support in async programming: Futures and ListenableFuture
Start Two Threads at the Exact Same Time in Java
Learn two approaches to start two threads simultaneously: using CountDownLatch and CyclicBarrier
How to Get the Number of Threads in a Java Process
Learn how to check the number of threads created by a Java process.
Java Weekly, Issue 390
New Boot and Java goodness – things are certainly moving fast. And our last COVID launch started yesterday.
Java Weekly, Issue 388
Safe natives in Java, secure microservices with Spring Security, continuous testing in Quarkus, AWS timeseries, and different test levels!
Java Weekly, Issue 387
Spring Boot 2.5 is released, large pages on JVM, hacking JVM, mapMulti for streams, project loom, and a service-oriented language!
A Guide to Events in OkHTTP
Learn how to capture events using OkHttp.
How to Handle InterruptedException in Java
Learn about Java’s InterruptedException, what causes it, and how to handle it.
Introduction to Alibaba Sentinel
In this tutorial, we’ll have a look at some of Sentinel’s main features. Further, we’ll see an example of how to use it, its annotation support, and its monitoring dashboard.
Java Weekly, Issue 378
Primitive objects, more performant ZGC, trying Spring native, more secure Java 16, concurrency control approaches, and 15 years of S3.
Paging and Async Calls with the Kubernetes API
Explore how to use paging and asynchronous calls with the Kubernetes Java API.
Bad Practices With Synchronization
Learn about a few bad practices associated with synchronization and the better approaches for each use case
Binary Semaphore vs Reentrant Lock
Learn the differences between binary semaphores and reentrant locks and see which one is best suited in common situations