Skip to content
Vishesh Gubrani
All consulting services

Turn ambiguous requirements into reliable backend and distributed systems

Small engineering teams often hit a wall where rough business requirements, background jobs that retry unsafely, slow analytics queries, and fragile deployments start causing production fires. I step in to clarify the problem, design the data and concurrency boundaries, and ship the code with your team.

When teams bring me in

  • Vague product or client requirements that need to become a clean data model and API.
  • Background jobs, webhooks, or third-party integrations duplicating work or losing state on timeouts.
  • Reporting and customer-facing analytics slowing down your primary PostgreSQL database.
  • No reliable CI/CD, infrastructure-as-code, or clear boundaries around automated actions.

How I solve it

  • Clarify invariants before writing services

    Translate messy business constraints into explicit state machines, database constraints, and approval boundaries so critical invariants live in Postgres rather than fragile UI flags.

  • Build idempotent, fault-tolerant async pipelines

    Decouple long-running work with Redis Streams, QStash, or pg-boss, transactional outboxes, conditional leases, and idempotency keys so retries are boring instead of destructive.

  • Right-size analytics and deployment automation

    Offload heavy watch-time, event, and engagement queries into ClickHouse while keeping transactional writes in Postgres, and ship repeatable deploys with GitHub Actions, GitLab CI, Docker, and Terraform.

What you get

  • Architecture review or zero-to-one backend specification with data models, failure modes, and rollout plan.
  • Production backend services in TypeScript (Node.js/Hono) or Python (FastAPI) with Postgres, Redis, and ClickHouse.
  • Automated test coverage, CI/CD pipelines, and Terraform infrastructure configuration owned in your repository.

Proof and engineering notes

Case studies

Technical write-up

Frequently asked questions

We only have rough business goals, not a technical spec. Can we still work together?
Yes, that is where most engagements begin. I've owned backend architecture for hospital and school management systems from ambiguous early requirements through deployment on a 4-person team.
How do you work with an existing engineering team?
All code lives in your repository from day one as small, reviewable pull requests with clear tests and architectural notes. No black-box handoffs.
What timezone do you work in?
I am based in India (IST, UTC+5:30), which gives full overlap with European mornings/afternoons and solid overlap with US East Coast mornings.
Why PostgreSQL + Redis + ClickHouse instead of one database for everything?
Transactional systems need strict ACID guarantees, unique constraints, and row locking (PostgreSQL). Worker coordination and real-time streams fit Redis. High-volume event/engagement rollups stay fast in ClickHouse without locking OLTP tables.

Other ways I help

  • Cloud & video cost optimization

    Cut runaway AWS egress, MediaConvert, or metered video bills. Previously reduced a production video platform's spend 80% ($5K to $1K/month).

  • AI workflow integration

    Bolt schema-checked LLM workflows into your existing Postgres, Node, or Python stack with deterministic gates, real evals, and daily spend caps.