HomeWorkLaboratoryCertificationsBlogLet's Talk

© 2026 Juan Villegas. All rights reserved.

Solutions Architect

    Back

    Synapse — Infrastructure

    Shared memory infrastructure

    Synapse backend: two-layer independent permission architecture, automatic and secure git synchronization from a container, and real production hardening.

    Infrastructure & Backend

    The Challenge

    A team of 4 people worked with AI assistants with fragmented local context, rehashing decisions already made, and there was no visibility into what each person had done. Also, not all project information had to be visible to everyone, and the system had to be exposed through multiple channels at once without duplicating permission logic.

    The Solution

    Shared memory persisted in a git repo, served by an API with permissions verified in two independent layers and revalidated at each endpoint. Each write automatically syncs with git, with concurrency control to prevent corruption between simultaneous writes.

    Related project

    Synapse

    Role in the project

    Sole Solutions Architect and Backend Developer.

    Tech Stack

    Backend

    PythonFastAPIpython-telegram-bot

    Infrastructure

    DockerTraefikGit

    What it protects in production

    • Authentication by individual key, one per team member, never a shared key.
    • Authorization verified on the server, at each endpoint.
    • The Telegram channel validates its own signature before accepting any incoming message.

    Infrastructure in production

    • Full production infrastructure handled by the developer, from domain to VPS, with periodic server maintenance approximately every two months.
    ShareLinkedIn

    Need something similar?

    Let's talk about your project.

    Let's talk