Quantcast
Channel: Gonzalo Ayuso – Web Architect
Browsing latest articles
Browse All 145 View Live

Handling M1 problems in Python local development using Docker

I’ve got a new laptop. One MacbookPro with M1 processor. The battery performance is impressive and the performance is very good but not all are good things. M1 processor has a different architecture....

View Article



Playing with gRPC and Python

When we work with microservices normally we need to have, in one way or another, something to communicate between them. Basically we have two choices: Synchronous (APIs) and asynchronous...

View Article

Listen to PostgreSQL events with pg_notify and Python

With PostgreSQL we can easily publish and listen events from one connection to another. It’s cool because those notifications belong on a transaction. In this example I’m going to create a wrapper to...

View Article

Using a nginx reverse proxy to serve docker swarm replicas

Sometimes we need to serve backend servers behind a nginx reverse proxy. For example when we want to serve a Djnago or a Flask application. In this example I want to show how easy is doing that with...

View Article

Flask api skeleton to handle PostgreSQL operations

That’s a boilerplate for an api server using Flask. The idea is one api server to work as backend server to handle all database operations. The api server will handle only POST requests and the input...

View Article


Deploying Python Applications in a Docker Swarm Cluster with Traefik Reverse...

In this article, we will explore the process of deploying Python applications in a Docker Swarm cluster, utilizing a Traefik reverse proxy and ensuring secure communication through HTTPS. By following...

View Article

AWS SQS 2 HTTP server with Python

Simple service that listens to a sqs queue and bypass the payload to a http server, sending a POST request with the SQS’s payload and a Bearer Token. The main script read a .env file with the aws...

View Article

Real-time Object Detection and Streaming with Python, OpenCV, AWS Kinesis,...

I’ve got the following idea in my mind. I want to detect objects with YoloV8 and OpenCV. Here a simple example: import cv2 as cv from ultralytics import YOLO import logging...

View Article


Sending logs to AWS CloudWatch with a sidecar pattern and Python

In a Docker Swarm environment, the sidecar pattern is a common architectural approach used to extend the functionality of a primary container without directly modifying it. First there’s a primary...

View Article


Image may be NSFW.
Clik here to view.

Connecting Grafana to PostgreSQL with Python for Time Series Analysis

In the world of data analysis and graphs, we have three important tools: Grafana, PostgreSQL, and Python. They work together to help us look at data and track how it changes over time. In this...

View Article
Browsing latest articles
Browse All 145 View Live




Latest Images