33 articles by Xavier Redó

After months of regional blocking in Spain, we rebuilt our stack to remove Cloudflare dependencies. Using Render and ImageKit.io, we replaced its performance layer without affecting users. So when Cloudflare went down globally on November 18, our site stayed online.
Leer el artículo: How MarsBased website survived Cloudflare's global outage
As part of our ongoing work prototyping and developing MCP servers and LLM applications, we closely follow the different SDKs available, or emerging, for implementing MCP servers and clients in various programming languages. Some of these we’ve tested firsthand, such as TypeScript, Python, and Ruby,
Leer el artículo: Current state of MCP Protocol implementations across programming languages
At MarsBased, we value privacy, simplicity, and open‑source tools. We replaced Google Analytics with Plausible, a lightweight, privacy‑first solution. This shift keeps us GDPR‑compliant while still providing the insights we need.
Leer el artículo: Switching to Plausible: A privacy-friendly analytics tool for MarsBased
With the help of AI, we finally solved one of our biggest management challenges at MarsBased, keeping one-on-ones consistent, meaningful, and well-documented across the team.
Leer el artículo: How AI helped us bring back one-on-ones at MarsBased
Candidates' priorities are shifting from methodology and how we work to how we economically manage our company and how we are financed.
Leer el artículo: Candidates priorities are changing
In IoT architectures, choosing the right broker and strategy for consuming data is crucial. I recommend using message broker rules for scalability. If that doesn't fit your needs, consider messaging protocol strategies such as MQTT Shared Subscriptions.
Leer el artículo: Scale IoT backends horizontally with MQTT Shared Subscriptions
In our recent IoT project for Ecler, we designed their cloud platform and supporting systems for connected amplifiers and sound systems. During the development, we tested three message broker solutions: Mosquitto, NanoMQ, and EMQX. Here are the pros and cons we found for each one of them.
Leer el artículo: Comparison of MQTT Brokers for IoT
Learn how to optimize web images: compress files, serve the right resolution, use WebP/AVIF, leverage CDNs, and eliminate cumulative layout shift (CLS).
Leer el artículo: Image optimization, delivery and CLS
In this blog post, our CTO, Xavi, will show us how to query data from PostgreSQL to represent it in a time series graph.
Leer el artículo: Query data from PostgreSQL to represent it in a time series graph
MySQL and PostgreSQL are very similar but not exact. Take a look at this scenario that works with PostgreSQL but not with MySQL.
Leer el artículo: MySQL deferred constraints and unique checks
There's a way to declutter PostgreSQL databases that will impact the performance of your projects. Learn about vacuum.
Leer el artículo: Remember to vacuum your databases!
At MarsBased, we've been following the "Less is more" approach in many areas. We prefer to develop fewer features and, then, evolve them. We prefer to have a limited set of tools over too many of them doing small things.
Leer el artículo: Be more available to the rest of the team