RSSAmplifier

Blog

Leandro Moreira

Software development

leandromoreira.comRSS feed ↗10 posts

Latest posts

Computer Networking resources for DevOps and Software Engineers

Learning deeply about computer networking can lead you to be a better software engineer. I argue in favor of that because all the software we produce/use/maintain uses the network to communicate. Very often we trust stuff we think we know, and computer networking is one of them. The cloud or even full application platform (such Continue reading Computer Networking resources for DevOps and Software…

The Brazilian challenges for media streaming

Here at Globo, we have as our mission to build resilient systems to provide an optimal experience for our domestic and international customers, allowing them to watch their favorite international or local tv show, a soap opera, or any of our live streaming channels on globoplay. The architecture supporting globoplay s media platform heavily relies on Continue reading The Brazilian challenges for…

Fake Tweet Screenshot Proliferation

I was following some interesting discussions about how no one should trust a print screen of a tweet, and it got me thinking regarding how to overcome such a challenge. What if somehow we could attach a verifiable piece of text (or image QR code) to a tweet that could quickly disprove a fake print screen or Continue reading Fake Tweet Screenshot Proliferation

Building an edge computing platform

Attention: I released resty-dynacode an openresty library enabling users to add Lua code dynamically to Nginx. This is the last post in the series, now we re going to design an edge computing platform using Lua, Nginx, and Redis cluster. Previously, we explained how to add code, not dynamically, in nginx. Platformize the computations The platform Continue reading Building an edge computing…

Empowering Nginx with Lua code

Attention: I released resty-dynacode an openresty library enabling users to add Lua code dynamically to Nginx. This is the second post in the series where we develop an edge computing platform. In this post, we ll add some code/behavior to the front end servers. Here s a link to the previous entry. Add code inside the front end Continue reading Empowering Nginx with Lua code

Building an open-source OTT platform

Attention: I released resty-dynacode an openresty library enabling users to add Lua code dynamically to Nginx. Create software from scratch might not be a good idea at first but it s often a great way to study a specific technology or even to deepen your knowledge in a particular field of computer science. In this three-post Continue reading Building an open-source OTT platform

Good Code Design From Linux/Kernel

Learn how Linux/FFmpeg C partial codebase is organized to be extensible and act as if it were meant to have polymorphism . Specifically, we re going to briefly explore how Linux concept of everything is a file works at the source code level as well as how FFmpeg can add support fast and easy for new formats Continue reading Good Code Design From Linux/Kernel

How to build a distributed throttling system with Nginx + Lua + Redis

At the last Globo.com s hackathon, Lucas Costa and I built a simple Lua library to provide a distributed rate measurement system that depends on Redis and run embedded in Nginx but before we explain what we did let s start by understanding the problem that a throttling system tries to solve and some possible solutions. Suppose Continue reading How to build a distributed throttling system with…

Use URL.createObjectURL to make your videos start faster

During our last hackathon, we wanted to make our playback to start faster. Before our playback starts to show something to the final users, we issue around 5 to 6 requests (counting some manifests) and the goal was to cut as much as we can. The first step was very easy, we just inverted the Continue reading Use URL.createObjectURL to make your videos start faster

How old consoles work!