Software Developer's Memos

HomeBadges
Blog Author Picture

Martin Janeček

1 follower

Software developer. Front-end, back-end, sysops & mobile apps are my daily bread.

AWS ALB + Gunicorn - Error 502 Bad Gateway fix

Mar 2, 2020

Today I was running a Load Testing of the application we're running in AWS Fargate. The application started to fail at higher number of VUs, returning this response: time="2020-03-02T09:41:06Z" level=info msg="\"<html>\\r\\n<head><title>502 Bad Gate...

Django, Celery & Scaling - Prevent Multiple Cron Jobs to Run at the Same Time

Nov 5, 2019

Use-case: You have an application running in AWS Fargate. The task consists of: app container worker container scheduler container You also have a managed Redis instance (AWS ElastiCache). This way, you can run the task multiple times, scale it bas...

OS X: Automatic multi-version PHP + Nginx dev stack

Mar 4, 2017

Hey there! After a long time I have managed myself to provide you my current local php development setup. Why you should be interested? Well, it has the following features: Based on a domain, it runs the code under php 5.6 or php 7.0. Running projec...

© 2021 Software Developer's Memos

PrivacyTerms
Proudly part of