Open in app

Sign In

Write

Sign In

Willian Antunes
Willian Antunes

62 Followers

Home

About

May 23, 2022

Query compressed logs that are stored in S3 using AWS Athena

Let’s see how we can explore the data in a bucket using SQL with AWS Athena. — Recently someone asked me to create an easy way to consult all the logs stored in S3. Unfortunately, the person who was trying to check all the log files couldn’t consult them suitably because of the following: 20.3 GB of data compressed with GZIP. Each file has more than 40…

AWS

5 min read

Query compressed logs that are stored in S3 using AWS Athena
Query compressed logs that are stored in S3 using AWS Athena
AWS

5 min read


May 16, 2022

Discover issues with performance testing

Try this approach to discover issues before they even come into play in production. Would you like to know how? Check this out! — It’s incredible when your back-end project is well implemented in terms of unit and integration tests, covering most of the business rules that your application should respect to deliver what is expected for those who will use it. Now the moment has come! …

Jmeter

6 min read

Discover issues with performance testing
Discover issues with performance testing
Jmeter

6 min read


May 2, 2022

RegEx, Data Classes and Type Hints with Python: Learning from tweet text

Let’s use the RE module and Data Classes to check if a given tweet text is valid to our fictional business rule. Type hints can help with gradual typing. Come! — Before we jump into the code, let’s first define our fictional business rule ✍: After the mention, the word “concedes” must be present. It is identified as the trigger keyword. After the keyword, at least one hashtag must be present. …

Regex

6 min read

RegEx, Data Classes and Type Hints with Python: Learning from tweet text
RegEx, Data Classes and Type Hints with Python: Learning from tweet text
Regex

6 min read


Jul 13, 2021

C# Web API: How to call your endpoint through integration tests

You have tests everywhere, but you still get an error when you try to run your application because of some wrong infrastructure setup. Know one way to fix that. — It’s fantastic when you have all of your unit tests returning green signs everywhere. Still, when you execute your project, it raises an error because an infrastructure setup is wrong, making it impossible to run your Web API properly 😑. It can be how you set up your logs, database…

Csharp

4 min read

C# Web API: How to call your endpoint through integration tests
C# Web API: How to call your endpoint through integration tests
Csharp

4 min read


Jun 1, 2021

GKE Ingress: How to configure IPv4 and IPv6 addresses

It’s crucial to configure your domain to answer IPv4 and IPv6 addresses. How can we do that with GKE Ingress? Come closer, and let’s discover how to do it and some of its limitations. — In the past, when you were about to release a website to be accessed worldwide, you usually would have the following: A domain where your users would use to access your website. Reserved IPv4 public address. A configuration that consists of a DNS entry of type A mapping your IPv4…

Kubernetes

5 min read

GKE Ingress: How to configure IPv4 and IPv6 addresses
GKE Ingress: How to configure IPv4 and IPv6 addresses
Kubernetes

5 min read


May 28, 2021

GKE Ingress: How to fix a 502 bad gateway error

When you configure your application and receive an error 502 (Bad Gateway), mostly this happens because of a wrong setup. To illustrate, let’s see one circumstance and how to fix it. — Past few days, I was configuring a GKE cluster for my personal projects. Some of them had to be accessed through the internet; hence I created an ingress to do this job. Here’s an example of ingress using Terraform:

Kubernetes

4 min read

GKE Ingress: How to fix a 502 bad gateway error
GKE Ingress: How to fix a 502 bad gateway error
Kubernetes

4 min read


May 27, 2021

Production-ready shell startup scripts: The Set Builtin

Know another way to avoid unexpected incidents in production. It will allow you to write production-ready startup shell scripts. Learn about The Set Builtin. — When you build an application and make it available through container technology, either you have an ENTRYPOINT or CMD instructions at the end of its Dockerfile. Depending on which framework you’re using and some requirements you have, sometimes it’s better to have a bash script responsible for running your project…

Linux

6 min read

Production-ready shell startup scripts: The Set Builtin
Production-ready shell startup scripts: The Set Builtin
Linux

6 min read


May 25, 2021

The easiest way to run a container on GCE with Terraform

Nothing like a quick setup with Terraform to make your application available. There are many ways to deploy it, but how about using Google Compute Engine with the cheapest machine and using a container image? Let’s see how! — Recently I developed a worker that would listen to published tasks through a database. For this sole purpose, I used Django Q. When I finished its development, I started wondering how I would enable it in production. As my whole stack is on GCP for personal projects, I found an…

Terraform

5 min read

The easiest way to run a container on GCE with Terraform
The easiest way to run a container on GCE with Terraform
Terraform

5 min read


May 23, 2021

You should configure env variables in one place

Increased cognitive load can have a considerable impact on the ongoing of a project. Know how to minimize it a bit through one simple approach with environment variables. — Recently I had to create a new JavaScript project. I chose a framework and some libraries that I haven’t used before. First, I tried to find lessons learned and projects on GitHub targeting the tools I decided on and then use them as a way to create my own project…

Defensive Programming

3 min read

You should configure env variables in one place
You should configure env variables in one place
Defensive Programming

3 min read


May 22, 2021

Why did I create a blog from scratch?

Reinventing the wheel, depending on the context, can be brilliant! Curiosity can lead us into new enchanting things. — If I had to recommend someone to start a blog, taking into consideration things like time to market, huge ecosystems, tutorials, and no expected advanced knowledge in programming at all, I would tell them to start right away with Blogger, or if more options are needed, then Wordpress would be…

Advice

3 min read

Why did I create a blog from scratch?
Why did I create a blog from scratch?
Advice

3 min read

Willian Antunes

Willian Antunes

62 Followers

I am an eternal seeker of curiosity.

Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • Ricardo Baltazar

    Ricardo Baltazar

  • Trey Huffine

    Trey Huffine

  • Dan

    Dan

  • Felipe Fialho

    Felipe Fialho

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech