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 …
-
Intro to RAG: Foundations of Retrieval Augmented Generation, part 2
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 …
-
Sliding Window Log Rate Limiter (Redis & Java)
Table of Contents How It Works1. Define a Time Window2. Track Requests3. Remove Expired Entries4. Rate Limit CheckHow to Implement It with Redis and Java1. Log Each Request (If Allowed)2. Remove Expired Entries3. Count Requests in the Time WindowImplementing it …
-
Rate limiting with Redis: An essential guide
Table of Contents Why Redis for Rate Limiting?Popular Rate-Limiting PatternsLeaky BucketToken BucketFixed Window CounterSliding Window LogSliding Window CounterChoosing the Right Tool for the JobUnderstand Your Traffic PatternsAssess the Level of Precision NeededConsider Resource ConstraintsAccount User ExperienceStay curious! This article is …
-
Build Flexible Jakarta EE Applications With Apache CouchDB NoSQL Database
Are you a Jakarta EE developer interested in leveraging the power of NoSQL databases for your applications?
-
Minimize Costs by Utilizing Cloud Storage with Spring-Data-Eclipse-Store
How to save money storing data in Cloud blob-stores instead of expensive databases through the use of the open-source Spring-Data-Eclipse-Store library.
-
Patterns For The Design Of Microservices – Part 2
Design patterns plays a pivotal role in designing and solving the commonly occurring problems in software application.
-
Book review: “Persistence Best Practices for Java Applications”
I can heartily recommend this book, it offers a lot of valuable insights into persistence in Cloud computing, the involved technologies, and technical and architectural considerations by two developers with years of experience.
-
Journeys in Java, Level 8: Add MongoDB to Spring Cloud Config
Convert an existing MongoDB-connected service to use Spring Cloud Config for accessing database credentials, as with a Neo4j microservice.
-
Creating a GraphQL API for Neo4j with Quarkus and SmallRye GraphQL
Learn how to write a GraphQL API that uses Neo4j AuraDB as a backend with Quarkus and deploy it as a native image on Heroku.
-
NoSQL Use Cases: When to Use a Non-Relational Database
There are many things to consider before making the move to NoSQL. In this article, we’ll explore when NoSQL use cases make sense.