Tim Kelly7 articles

Latest post Best Practices for Deploying MongoDB in Kubernetes

Table of Contents 1. Use the MongoDB Kubernetes Operator2. StatefulSets and persistent volumes: Running MongoDB the right wayExample: Recommended multiple volume configuration3. Set CPU and memory resources for MongoDB and the OperatorMongoDB Kubernetes Operator: Plan for initial spikesMongoDB replica set …

Avatar photo
  • Tim Kelly
September 16, 2025
  • Building REST APIs in Java with Spring Boot

    Table of Contents How can Spring help?PrerequisitesCreating our appConnecting our databaseOur Book modelBook repositoryOur REST controllerCreateReadUpdateDeleteAdding DTOs and validationBookRequestBookResponseUpdating the controllerTesting the APIRun the APICreateReadUpdateDeleteConclusion REST has become the default choice for building web services, and for good reason. It’s …

    Avatar photo
    • Tim Kelly
    September 09, 2025
  • MongoDB ACID Transactions With Java

    Table of Contents What are MongoDB ACID transactions and when should you use them?But do you really need a transaction?Transaction APIs: Callback vs coreWhen to use the callback APIWhen to use the core APISetting up: A simple banking examplePrerequisitesConnecting and …

    Avatar photo
    • Tim Kelly
    July 23, 2025
  • How to Make a RAG Application With LangChain4j

    Table of Contents Why use RAG?Use cases for RAGLangChain4J for RAGMongoDB for RAGPrerequisitesOur dependenciesSetting up MongoDB and our embedding storeMongoDB setupConfiguring the embedding storeCreating our embedding modelConfiguring our chat modelHow to load our dataParametersCreating our content retrieverAsking questionsConclusion Retrieval-augmented generation, …

    Avatar photo
    • Tim Kelly
    July 17, 2025
  • Your Complete Guide to Diagnose Slow Queries in MongoDB

    Table of Contents 1. MongoDB’s Query ProfilerWhat we’ll needWhat is MongoDB’s Profiler?MongoDB Atlas Query Profiler in the Atlas UIA few important considerationsMongoDB Database ProfilerLet’s make something slow on purpose2. Understanding execution plans with explain()What we’ll needWhat is explain()?Verbosity modesLet’s use …

    Avatar photo
    • Tim Kelly
    June 17, 2025
  • Understanding BSON: A Beginner’s Guide to MongoDB’s Data Format

    Table of Contents What is BSON?Why not just JSON?BSON vs. JSONCommon BSON data types (and their Java equivalents)BSON and MongoDB internalsSetup and project structureBSON data types and document creationNested fields and arraysWhy use nested structures?Raw BSON manipulationQuerying with BSONAggregation with …

    Avatar photo
    • Tim Kelly
    May 22, 2025
  • Building a Real-Time AI Fraud Detection System with Spring Kafka and MongoDB

    Table of Contents What we are buildingPrerequisitesCreate our MongoDB databaseCreate a Vector Search indexCreate a Spring applicationSetting up configurationMongoDB configurationSpring AI configurationKafka configurationGenerate our synthetic customer profilesThe customer modelCustomer seedingHow the sample customers are structuredThe transaction modelGenerating random transactionsHow do …

    Avatar photo
    • Tim Kelly
    May 14, 2025
1-7 of 7

Subscribe to foojay updates:

https://foojay.io/today/author/tim-kelly/feed/
Copied to the clipboard