Josh Journal
  • HOME
  • Blog
  • Projects
  • Tags
  • CONTACT
  • LAB





Golang

Redis Lists vs Pub/Sub: When to Use Each

Dec 30, 2025 8 mins read Redis Golang Messaging Architecture

Overview Redis offers multiple data structures for message passing between services. Two common patterns are Lists (with LPUSH/RPOP operations) and Pub/Sub channels. While both can transport messages, they serve different use cases and have distinct characteristics. This guide explores when to use each pattern, with practical Go examples. Redis Lists: Queue-Based Messaging Redis Lists implement a queue data structure. Messages are pushed onto one end of the list and popped from the other, providing FIFO (first-in-first-out) semantics with persistence.

Read more

Mailer-Go: SMS Gateway

Dec 30, 2025 4 mins read Golang Sms Iot Infrastructure Lxc Redis

Source Code: github.com/josnelihurt/mailer-go Overview An SMS-to-Email gateway system that enables receiving text messages from anywhere in the world without roaming charges. The system uses GSM modems connected to LXC containers, processes incoming SMS, and forwards them via email while publishing to Redis Pub/Sub for workflow automation. Motivation Traveling internationally or working remotely often requires receiving SMS messages for two-factor authentication, service notifications, or important communications. Traditional solutions involve expensive roaming fees, managing multiple SIM cards, or dealing with the complexity of VPN tunneling for remote device access.

Read more

Copyright © 2020 Josnelihurt Rodriguez Barajas