Table of Contents Here’s the flow:Virtual Threads for Massive ParallelismSpring AI Prompt CallProcessing in BatchesHandling Errors GracefullyProcess Results in BulkFull ImplementationStay curious! TL;DR: You’re building an AI-powered app that needs to send lots of prompts to OpenAI. Instead of sending …
-
GenAI blood, sweat, and tears: Loading data to Pinecone
Table of Contents Getting startedIssue #1: APIs, SDKs, and rapid changeIssue #2: ConfigIssue #3: JSON formatIssue #4: Loading data to Pinecone1. Metadata keysAlternative embeddings – Book descriptionsWrapping up!Resources As someone who is pretty familiar with relational and graph databases, I …
-
Local AI with Spring: Building Privacy-First Agents Using Ollama
Table of Contents IntroductionConfiguring OllamaSpring AI + Ollama: a perfect match!Setting up the projectEnough talk, show me the codeA quick detour on FastMCPConclusion Introduction Building local AI agents with Spring AI and Ollama has emerged as a game-changer for developers …
-
Semantic Search with Spring Boot & Redis
Table of Contents Redis as a Vector DatabaseRedis OM SpringDatasetBuilding the Application0. GitHub Repository1. Add the required dependencies2. Define the Movie entity3. Repository Interface4. Search Service5. Movie Service for Data Loading5. Search Controller6. Application Bootstrap7. Sample RequestsWrapping upMore AI ResourcesStay …
-
Foojay Podcast #71: Celebrating 30 Years of Java with James Gosling
Table of Contents VideoPodcast (Audio only)Content We are celebrating Java’s 30th anniversary this May! This is a very special anniversary episode of the Foojay Podcast! As we approach May 23rd, marking exactly 30 years since Java’s first beta release in …
-
Async file IO with Java and io_uring
Table of Contents What is PanamaManaging memoryMaking calls up and downWhat is io_uringSingle read with Java and UringPerformance improvementsTurning pinning into yieldingBringing It All Together When I first started exploring Virtual Threads in Java, I wanted to understand everything about …
-
Optimizing the Garbage Collector when Migrating Cloud Workloads
Table of Contents Why GC Tuning Matters on ArmOpenJDK VersionChoosing the Right Garbage CollectorHeap Size and GC Pause TimeAdaptive Heap SizingClosing the feedback loopDeveloper Education for the Java CommunityNeed Assistance from Experts? Introduction to Java on Arm You might associate …
-
Breaktime Tech Talks (Ep39): Why embedding models should match + Advice for starting a blog
Table of Contents Why embedding models should matchDifferences in similarity searchAdvice for starting a blogWrapping up! This is episode 39 of the Breaktime Tech Talks podcast. I’m at a conference this week presenting on a variety of different topics, but …
-
Six JDK 24 Features You Should Know About
Table of Contents Six new features you want to know aboutJEP 483: Ahead-of-time class loading and linkingJEP 485: Stream gatherersJEP 486: Permanently disable the security managerJEP 491: Synchronize virtual threads without pinningJEP 498: Warn Upon Use of memory-access methods in …
-
Introduction to intermediate operations modeler: Stream Gatherers
Table of Contents What are Gatherers?Creating a GathererBuilt-in GaterersCreate your own GathererConclusionReferences Java is a programming language with many language features, specifications, and APIs. Even among experienced Java developers, being aware of all of these is quite rare. If a …
-
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, …