Recent Posts

Java Concurrency Best Practices for MongoDB

Author: Vivekanandan Sakthivelu Original post on Foojay: Read More Table of Contents Lost updatesDirty readsNon-repeatable readsPhantom readsHow to avoid these issues Isolation Read concern Write concern In a multi-threaded, distributed environment like MongoDB, when clients execute queries concurrently, operations interleave with one another if they are not isolated, whether those operations involve single-document or multi-document operations. For instance, Client C1’s …

Read More »

Performance Best Practise No. 1: Optimize Database Operations

Author: Ondro Mihalyi Original post on Foojay: Read More Table of Contents How GlassFish helps with improving database performance Connection pool configuration JDBC batching Jakarta Persistence (JPA) batching Next Steps Database operations are a very critical part of most applications in regards of performance. There are multiple reasons why database operations can significantly contribute to lower performance: The database often …

Read More »

Intro to RAG: Foundations of Retrieval Augmented Generation, part 2

Author: Jennifer Reif Original post on Foojay: Read More Table of Contents GenAI systems as layersVector RAGGraph RAGAI AgentsModel Context Protocol (MCP)What should you choose?Wrapping up!Resources In the last post, we discussed the basics of Retrieval Augmented Generation (RAG) and how it enhances the capabilities of Large Language Models (LLMs) by integrating them with external knowledge sources. We also introduced …

Read More »