Author: Rajesh Nair Original post on Foojay: Read More Table of Contents Network Configuration IssuesServer LoadResource Exhaustion App-Side Chaos: Java Threads or Memory Maxed Out, Leaving No Room for New MongoDB Connections Server-Side Crunch: MongoDB Running Out of File Descriptors or Ram on a Shared Host Connection Pool MisconfigurationIncorrect MongoDB URIConclusion Java developers and MongoDB are like Aladdin and the Genie from …
Read More »foojay
Build a Sentiment Analysis API in Java with Quarkus and Local LLMs
Author: Markus Eisele Original post on Foojay: Read More Table of Contents What You’ll Build Prerequisites Bootstrap Your Quarkus Project Configure Ollama and Dev Services Define the Sentiment Enum Create the AI Classification Service Expose the Sentiment API Run It! Test It! Final Thoughts What’s Next? In a world full of opinions, tweets, reviews, chats, emails, understanding the tone behind …
Read More »Benchmarking and profiling Java with JMH
Author: David Vlijmincx Original post on Foojay: Read More Table of Contents Introduction: Why JMH?DependenciesCreating your first benchmarkBenchmark modesState management Keeping the state correct Using state to create variants. Understanding JMH outputPrevent dead code optimizationsConstant foldingUsing async profiler with JMHBonus: Linux toolsConclusion Introduction: Why JMH? Performance matters in Java applications, but measuring it accurately is harder than you might think. …
Read More »Clean and Modular Java: A Hexagonal Architecture Approach
Author: Ricardo Mello Original post on Foojay: Read More One of the discussions that always leaves me with both doubts and excitement is the one about system architecture. Ever since I started diving deeper into programming, I’ve encountered questions like how to separate packages and modules: is it really worth creating so many divisions? I must admit, it’s often complicated …
Read More »Save Time and Money by Reducing False Positives
Author: Gerrit Grunwald Original post on Foojay: Read More Recently Azul announced that AVD (Azul Vullnerability Detection), which is our solution to scan for security vulnerabilities in production, now comes with a new feature that only makes it possible to identify vulnerable components on a jar file level but also on class file level. So what does that mean? Usually …
Read More »How to Train ReadyNow to Achieve Optimal Java Performance
Author: Frank Delporte Original post on Foojay: Read More Table of Contents Understanding ReadyNow generationsTIPWhen using the ReadyNow Orchestrator feature of Optimizer Hub, the creation of a promoted profile is handled automatically. This will be explained in the next blog post in this series.Possible approachesTIPTo reach an optimal profile, each run needs a minimum of 10,000 executions of all critical …
Read More »Multi-cloud Strategies With MongoDB Atlas
Author: Luce Carter Original post on Foojay: Read More Table of Contents Why use a multi-cloud strategy?Setting up a multi-cloud deployment in MongoDB AtlasSummary In the technological world, the cloud has become more prevalent. It brings many benefits, including flexibility, scalability, faster innovation, and collaboration. Plus, when it comes to data storage and access with databases, it allows data to …
Read More »Spring Boot + Kafka Streams: Event Routing & Testing
Author: Vincent Vauban Original post on Foojay: Read More Table of Contents 1⃣ The Use Case: Lille City Tour Imagine you’re planning a visit through Lille, France. 2⃣ The Goal What I want to do! 3⃣ Tech Stack What I used for this demo 4⃣ Data Modeling What is the model of the visit data 5⃣ Kafka Streams Topology Concept …
Read More »Java, What’s Old? Part I: Collections
Author: Anthony Goubard Original post on Foojay: Read More Table of Contents OptionalStatisticsLinkedHashMapWeakHashMapBitSet A few weeks ago, I had the honor to present at the Arnhem JUG in the Netherlands about “Java, What’s old?” In this series, I’m focusing on what’s old in the JDK, not that known, and can be useful. A few hidden gems in the JDK. Everything …
Read More »Book Review: Writing for Developers
Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents FactsChaptersPros and consSummary Disclaimer: This post includes affiliate links; I may receive compensation if you purchase the book from the different links provided in this post. This review is about Writing for Developers by Piotr Sarna and Cynthia Dunlop from Manning. I started my blog as a hobby …
Read More »