Let's talk about Health Checks

According to the azure documentation in this excellent article, they state that. “It’s a good practice, and often a business requirement, to monitor web applications and back-end services, to ensure they’re available and performing correctly. However, it’s more difficult to monitor services running in the cloud than it is to monitor on-premises services.” “There are many factors that affect cloud-hosted applications such as network latency, the performance, and availability of the underlying compute and storage systems and the network bandwidth between them....

January 12, 2019 · 4 min · Me

Tracking Service with Go and Redis V2

Do you remember my last article where I wrote a service to look for a driver like uber? If not, you can check here So now, we going to write the V2 of our service. The current state of our service, when a user consumes the resource ‘search’, the user receives a response with the closer driver to him. But what would happen if there are no drivers close to the user?...

October 5, 2018 · 10 min · Me

Tracking Service with Go and Redis

Part 2: Tracking Service with Go and Redis V2 Imagine that we work at a startup like Uber and we need to create a new service that saves drivers locations every given time and processes it. This way, when someone requests a driver we can find out which drivers are closer to our picking point. This is the core of our service. Save the locations and search nearby drivers. For this service we are using Go and Redis....

August 9, 2018 · 7 min · Me

Oauth2 with Google in Go

Authentication is the most common part in any application. You can implement your own authentication system or use one of the many alternatives that exist, but in this case we are going to use OAuth2. OAuth is a specification that allows users to delegate access to their data without sharing their username and password with that service, if you want to read more about Oauth2 go here. Config Google Project First things first, we need to create our Google Project and create OAuth2 credentials....

July 10, 2018 · 6 min · Me

How important is math in computer programming?

I’m writing this article because I recently did this exercise in HackerRank: I don’t have a degree in computer science or similar (but i’m working as a software engineer the last 3 years) so I really don’t have a solid math knowledge and at first sight this exercise seems easy, right? Most of you will think that it is, but to me it wasn’t. My first approach was to think in a logical solution (at least I’d like to think that it was), then I thinked that if i wanted to know if the kangaroos will ever land on the same location at the same time I would have to move the kangaroos until they were both on the same location...

January 8, 2018 · 3 min · Me