The innovative concept of fog computing aims to significantly enhance traditional edge computing by introducing moderately powerful "fog nodes" positioned between robust cloud computers and weaker edge nodes. In this particular project, our core task was to engineer a prototype of a distributed queue system. This queue was designed to auto-connect seamlessly with all other nodes within the network and, crucially, to synchronize its data in real-time across the entire distributed environment. We developed this robust prototype using Go, and its functionality was rigorously tested within isolated Docker containers. For the cloud layer, we leveraged Google Cloud, while Multipass was utilized on a powerful 64GB machine to effectively simulate the fog machines. Raspberry Pis served as the representative edge devices. The efficient distribution of all these diverse elements was meticulously managed using Ansible, and WireGuard was implemented to ensure a unified and secure network across all participating nodes.