Table of Contents IndexHow It Works1. Define a Window Interval2. Track Requests3. Reset Counter:4. Rate Limit Check:How to Implement It with Redis and Java1. Use the INCR command to increment the counter in Redis each time a request is allowed2. …
-
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 …
-
Gear Up for NODES 2024: What to Know
Table of Contents NODES is a free, virtual conference run by Neo4j for developers, data scientists, and other technical roles who want to learn more about graph databases and how they can be used to solve complex problems. Join us …
-
SQL Best Practices Every Java Engineer Must Know
Table of Contents 2. Avoid Using SELECT *3. Use Proper Joins4. Use WHERE Clauses to Filter Data5. Limit the Number of Rows Returned6. Use EXISTS Instead of IN7. Avoid Functions in WHERE Clauses8. Use JOINs Instead of Subqueries9. Optimize Group …
-
Press the Easy Button: Organize a Virtual Conference Schedule with a Graph Database
Putting together a conference schedule for NODES 2024 (one of my favorite events of the year) is a massive undertaking, but my colleague and I used technologies and tools at our disposal to make this process a little more efficient and greatly reduce opportunities for mistakes.
-
Foojay Podcast #56: Vectors in Java Code, Databases, and LLMs
In this Foojay podcast, we enter the world of mathematics by discussing Vectors and how they are crucial for AI and machine learning.
-
How to Run Neo4j on Kubernetes
For an upcoming event, I was asked to give a demo of how to run Neo4j on Kubernetes. I had very little experience with Kubernetes, so I decided to document my journey for later reference.
-
Exploring Cost-Effective Solutions for Stateful Rest Services
A cost-effective approach to implementing stateful REST services using IBM Cloud Code Engine, EclipseStore, and IBM Cloud Object Storage, highlighting their integration and scalability benefits for enterprise applications.
-
NODES 2024: How to Submit a Technical Presentation
Technical events are a great way to learn new things, connect with people, and share knowledge with others.
-
Spring AI: How to Write GenAI Applications with Java
We’ll look at how to write GenAI applications with Java using the Spring AI framework and utilize RAG for improving answers.
-
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.