Tim Kelly5 articles

Latest post 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-5 of 5

Subscribe to foojay updates:

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