How to Use Redis for Geospatial Data | by Aleksandr Ulanov | Jul, 2022

Learn how to use Redis and it’s geospatial indexes and commands for complex geo calculations Working with geospatial data is notoriously difficult because latitude and longitude are floating point numbers and should be very precise. In addition, it would seem that latitude and longitude can be represented as a grid, but in fact they can’t, … Read more

docker – Unable to connect to redis installed on my development host machine from development container

I have a redis cluster running on my MacBook (localhost), I am easing my way into docker as part of my developer environment. I also have things like MongoDB running on my host and am able to successfully connect to via host.docker.internalat this time i’m not looking to containerize redis, or my other services Im … Read more

Working With Geospatial Data in Redis

Working with geospatial data is notoriously difficult because latitude and longitude are floating point numbers and should be very precise. In addition, it would seem that latitude and longitude can be represented as a grid, but in fact, they can’t, simply because Earth is not flat, and mathematics is a complex science. For example, to … Read more

How to Cache API Requests With Redis and Node.js | by L Javier Tovar | Jul, 2022

A beginner’s guide to reducing response time when querying data Photo by Hitesh Choudhary on Unsplash We live in the age of immediacy, where time is already worth more than money. And that era, combined with the dynamism of the internet, makes our audience more demanding every day. The content of your website may be … Read more

python – Celery failing to connect to redis in Flask

I have a flask app with celery configured inside. This is the configuration flow: app.common.globals.py: from flask import current_app as app from celery import Celery celery = Celery() __init__.py from app.common.globals import celery celery = Celery(app.name, broker=app.config[‘CELERY_BROKER_URL’], backend=app.config[‘CELERY_BACKEND_URL’]) celery.conf.update(app.config) def create_app(config_class=Config): app: Flask = Flask(__name__) app.config.from_object(config_class) logging.basicConfig(level=logging.INFO) debug = app.config[‘DEBUG’] if debug: app.logger.setLevel(logging.INFO) with app.app_context(): … Read more

Build a Twitter Leaderboard App: Redis, AWS Lambda

This is the second blog post of a two-part series that uses a practical application to demonstrate how to integrate Redis with AWS Lambda. The first post was about the solution overview and deployment. Hopefully, you were able to try it out end to end. As promised, part two will cover the infrastructure aspects (IaC … Read more

Implement a Scalable WebSocket Server With Spring Boot, Redis Pub/Sub, and Redis Streams | by KBryan | Jun, 2022

Scaling WebSocket server horizontally using Spring Boot, Redis Pub/Sub, and Redis Streams Photo by Andreas Wagner on Unsplash This is a follow-up to my previous article on the design considerations for scaling the WebSocket server horizontally. In this article, I will go into detail on how we can implement that using Redis Pub/Sub and Redis … Read more

Build Cloud-Native Apps with AWS App Runner, Redis, and AWS CDK

AWS App Runner allows you to deploy and run cloud-native applications in a fast, simple, and cost-effective manner. You can choose the programming language of your choice since App Runner can deploy directly from source code (in GitHub for example) or a Docker container image (from private or public repo in ECR) – all this … Read more

Build a Twitter Leaderboard App with Redis and AWS Lambda (Part 1)

Hello and welcome to this two-part blog series that uses a practical application to demonstrate how to integrate Redis with AWS Lambda. The first part (this one) covers the application – by the end of this blog, you should have the solution, played around with it, and in the process, have a good overview of … Read more

Migrating from Heroku to Render

From time to time, there are words or phrases that I hear repeated enough to the point where I eventually think, “Hmm, I should check this out.” Render was one of those words. On Twitter, I have seen various conversations where people want to migrate from Heroku to another service. Some of the issues people … Read more