Author: Sergio Lema
-

How to connect to a PostgreSQL database through a SSH tunnel
When working with a remote database, it’s infrequent to have it accessible through the Internet. When accessing a database of a project, I use to go through another machine, through a bastion host.
-

The Biggest Lesson I Learned From My Biggest Failure as a Web Developer
I put down a production database because I trusted my script. And here is how I’ve learned a big lesson
-

Check Those 2 Methods to Quickly Deploy Your Python API to AWS Lambda
2 methods to deploy a Python API to AWS Lambda. How to deploy a small Python API quickly, and how to deploy a big Python API with external dependencies or with a Docker image
-

For complex topics, I stop using Spring Services
When we need to write complex Services, using a Object Oriented solution will ease the implementation and facilitate the unit tests.
-

The Outdated Syndrome
I was attached to an old script. But I’m still proud of it. It was MY script. But as the project evolves, the script gets outdated.
-

Which Authentication System to Choose?
Choose the right authentication system without compromising the security. This may be a hard topic to handle on every project.
-

Problems I’ve Learned After Using Microservices Architecture for 10 Years
Don’t use a microservices architecture to create a new project. Don’t add complexity. I’ve worked on 3 projects with microservices architecture which shouldn’t have use it.
-

How to Use the Fluent Style to Easily Create a Dataset for My Unit Tests
When writing unit tests or integration tests, I have to create objects. Sometimes with a lot of mandatory fields. Instead of repeating this, instead of using utils methods, I use the Fluent style.
-

The Major Problem I’ve Faced When Using AWS Ecs to Deploy Microservices
I’ve been using ECS to deploy my microservices for many years. But this service is not ready for real-world projects.
-

The Fastest Way to Read Dict in Python
Have you ever wonder which is the fastest way to access a value in a dictionary in Python? In the current article, I’ve tried to answer those questions. I made a small benchmark where I try to figure out which is the fastest way to read a dictionary in Python.
