Aggregation Optimization in MongoDB: Optimizing Many-to-Many Relationships (Part 3)
Table of Contents Optimization Step 2: refactoring the many-to-many relationshipAnd why MongoDB might be a better relational database than you ever realized. Design reviews are one-on-one meetings where MongoDB experts deliver advice on data modeling best practices and application design ...
-
Aggregation Optimization in MongoDB: Unnecessary Unwinds (Part 2)
Table of Contents And why MongoDB might be a better relational database than you ever realized.The video streaming service use case: profiles, devices, and device types (a recap)Optimization, Step 1: removing the $unwind stagesAnd why MongoDB might be a better …
-
Aggregation Optimization in MongoDB: A Case Study From the Field (Part 1)
Table of Contents And why MongoDB might be a better relational database than you ever realized.The video streaming service use case: profiles, devices, and device typesUnderstanding the query aggregation pipelineThe pipeline performance problemAnd why MongoDB might be a better relational …
-
MongoDB as a Vector Database for AI Agents-MongoDB
Table of Contents Why should you use MongoDB for building AI agents?Understanding AI agentsBuilding a multi-agent application with MongoDBStep 1: Creating a vector search indexStep 2: Creating the TripStep 3: Induce a disruptionStep 4: Replanning Step 5: The Memory agents make …
-
What is Sharding in MongoDB and When Should You Use It?
Table of Contents A Practical Introduction to Horizontal Scaling1. Shards2. Config Servers3. Mongos RouterLarge datasetsHigh write throughputRapid data growthA Practical Introduction to Horizontal Scaling When building applications, most developers start with a single database server. At the beginning, everything works …
-
Implementing Soft Deletes in Java
Table of Contents What are soft deletes?How can soft deletes be approached?Field FlaggingArchive collectionsImplementation of soft deletesJava driverCode examplesCascading to related collections Cleanup with TTL indexingPros and cons of soft deletesProsConsWrap UpWhat are soft deletes? Usually, when deleting documents from a …
-
UCanAccess: The Modern Pure-Java Bridge to Microsoft Access
Table of Contents A Brief HistoryWhat Problems Does It Solve?The Disappeared BridgeCross-Platform CompatibilitySeamless Integration for ToolingTech Stack & RequirementsGetting StartedAdd the DependencyConnect and QueryWrite Data BackAccess-Specific FunctionsUber JAR for Non-Maven ProjectsQuality & MaintenanceGet InvolvedMicrosoft Access databases are everywhere. Decades of …
-
Performance Best Practise No. 1: Optimize Database Operations
Table of Contents How GlassFish helps with improving database performanceConnection pool configurationJDBC batchingJakarta Persistence (JPA) batchingNext StepsDatabase operations are a very critical part of most applications in regards of performance. There are multiple reasons why database operations can significantly contribute …
-
10 Best Practises For Jakarta EE Performance Optimization
Table of Contents Quick ComparisonSecrets of Performance Tuning Java on Kubernetes by Bruno BorgesNext Steps With this article, we start a series where we compiled 10 best practices for performance optimizations and suggestions how to implement them using Jakarta EE & Eclipse GlassFish. Enjoy …
-
Breaktime Tech Talks (Ep37): Vector Database Frustration + Microsoft LazyGraphRAG
Table of Contents Devnexus conference shout-outVector database explorationIssues getting up and runningOverall experienceMicrosoft LazyGraphRAGWrapping up! This is episode 37 of the Breaktime Tech Talks. You are listening to the Breaktime Tech Talks podcast, a bite-sized tech podcast for busy developers, …