Posts for: #Andrevops

Improving Page Speed by Turning Vue.js Production Mode ON

Improving Page Speed by Turning Vue.js Production Mode ON

After the migration of our main app was completed and Datadog was set up on our frontend, we started receiving a lot of errors, warnings, and debug messages on our DD dashboard. At some point, our CTO asked why we were using Dev mode in our production environment.

Dev mode enabled on production

When we were asked why Dev mode was enabled on production, to be honest, I was not aware of this behavior. What I heard from the team was that they needed it that way to allow debugging their local environments, which didn’t make too much sense when talking about production. After our conversation, I was put in charge of fixing the issue, and what I found was that, by default, it was set to development mode and all the builds were using the same configuration.

Read more →

Varnish as an Easy Way to Boost Pagespeed with Incredible Results

Varnish as an Easy Way to Boost Pagespeed with Incredible Results

The other day, during a daily stand-up, we were discussing how to improve our main website speed. Most of the solutions proposed were related to caching at the software level. My proposal was a bit different, as in the past, when working on Magento infrastructure, I discovered Varnish.

Varnish is a cache software that can be implemented as a reverse proxy. All requests are received first by Varnish, and then, based on its configuration file, the response can be cached or allowed to hit the server behind. The first time Varnish starts, when receiving a request, it validates that there is no cached copy of it. If there is no cached content, it will consider it a miss and will pass the request to the server behind. If the file or content is allowed to be cached, it will save the content in memory, and the next time the same request hits your server, it will return the content immediately.

Read more →

Early Fraud Detection with Slack Notifications

Early Fraud Detection with Slack Notifications

Because of the schedule established by the business, payouts run automatically twice a week. This has been the pattern for quite a while, and although we have proposed extending the time for payouts to prevent fraud, it is not yet a priority.

Sometimes we receive reports about suspicious activities regarding our customers, and usually after investigation, I was able to uncover fraudulent activities. It is really cool to uncover a scam operation. What they usually do is use stolen cards and execute payments involving their account. The problem comes when the card owner raises a dispute; the order in these cases is clear: refund the money.

Read more →

Speed up the main website by implementing Image Transformations

Speed up the main website by implementing Image Transformations

In the past, we implemented a CDN to reduce bandwidth costs by 80%, and our page speed increased as the CDN cached images closer to the user. As an additional improvement, I proposed transforming the images to make them smaller and using a next-gen format to reduce the size even further. At that point, the business didn’t see the value in this, but a few months later, guess what? I was requested to check how we could improve the listing page speed.

Read more →

Empowering non technical users by allowing feature branch deployments from Slack.

Empowering non technical users by allowing feature branch deployments from Slack.

After several iterations on our pipelines, we got to a point where everything is working smoothly, and most of the new improvements are related to optimization, like reducing 1 minute per step by reducing Docker image sizes, or something else that can be considered a real improvement for our flow.

As we are a Super International Team, some of the team members start work earlier than others. This is not an issue for us, as we are more focused on the value we add to the business than counting how much time we spend sitting in front of the computer. The other day during our daily meeting, I overheard a conversation about who was responsible for deploying the feature environments. These envs are removed every day to avoid unexpected costs, and it looked like they were having a hard time deciding who needed to deploy the environment every morning. To make the story short, they came to an agreement and made it work.

Read more →