Hacker

SWASTIK SHARMA

@sswastik60

Joined Aug 2026Student at Manipal Institute Of TechnologyIndia

Projects

  • FirstRun

    Flagsmith Experimentation HackathonNov 2026

    The Growth Bottleneck Every Product Team Hates: Suppose you create a product. You create three versions of it, and you don't know which version performs well and which doesn't. So you can't have the same thing deployed three places and then check which one is working or which one is not. So what our product does is it takes your URL. It gives all the different variants, and you can directly share the different variants link to your colleagues, to your team, and check which one they like, get their opinion, which one performs better. Everything powered by Flagsmith, and we get the graphs and all the telemetry data, which will help us to get the variant which is the most successful. So this is built for, like, product management teams, solo startup founders, and in the age of AI everyone is building something, so it is to help them. Companies spend fortunes driving traffic to their websites, yet testing one new headline, button, or simplified layout still gets trapped behind engineering sprints, pull requests, and production redeploy so most winning UX ideas die in the backlog. FirstRun Studio lets teams validate real UI experiments before writing a single line of production code.

    ZeroSugar@roshworldwide

  • ShadowLab - Clone. Experiment. Compare. Promote.

    The Zerops ChallengeAug 2026

    1. Project Overview Problem Modifying cloud infrastructure configurations—such as attaching a Valkey/Redis cache layer, altering worker scaling, or tuning database connection pools—in a live production environment risks downtime, elevated latency, or data instability for active users. Staging environments frequently fail to replicate real-world load accurately, making infrastructure changes high-risk. Solution ShadowLab is a Site Reliability Engineering (SRE) and infrastructure experimentation platform engineered for the Zerops cloud platform. It creates isolated shadow clones of Zerops project environments to allow safe benchmarking against synthetic traffic bursts, zero-blast-radius chaos fault injection, real-time Server-Sent Events (SSE) telemetry visualization, and automated AI audit reports before promoting changes to production. 2. System Architecture-- (THE DETAILED SYSTEM ARCHITECTURE FLOWCHART CAN BE VIEWED IN THE ATTACHED GITHUB REPOSITORY) Core Services: Frontend Service (frontend): Single-page application built with React 19, Vite, and TailwindCSS. Renders real-time telemetry charts, Chaos Lab controls, live SSE streams, and SRE audit exporters. Backend Service (app): Node.js 20 and Express REST server. Handles API routes (/api/projects, /api/experiments, /api/chaos, /api/ai), orchestrates synthetic load generation, runs chaos scenarios, and broadcasts live SSE telemetry. Database Service (db): Managed PostgreSQL 16 container hosted on Zerops. Persists project records, experiment snapshots, telemetry series using JSONB columns, chaos execution logs, and AI analysis reports via connection pooling (pg). 3. Zerops Integration Details Zerops is integrated directly into the build, deployment, and operational pipeline: Multi-Service Declarative Configuration (zerops.yaml): Defines containerized build and execution pipelines for Node.js services and static asset compilation, including HTTP health check probes (/health). Database Provisioning (zerops-import.yaml): Provisions a managed PostgreSQL 16 instance (postgresql@16) in non-HA mode for low-latency internal network binding. Automated Service Connection: Resolves connection credentials dynamically via Zerops environment variables (ZEROPS_DB_HOST, ZEROPS_DB_PORT, ZEROPS_DB_USER, ZEROPS_DB_PASSWORD, ZEROPS_DB_NAME). Platform Capability: Allows Zerops developers to import zerops.yaml files, clone infrastructure topology, and safely test attachable components (such as Valkey caches or worker scaling) prior to production deployment. 4. Key Features Shadow Infrastructure Cloning: Replicates Zerops service topologies in isolated benchmark environments. AI SRE Analysis: Uses Groq Llama-3.3-70B to generate resilience scorecards, risk analyses, and optimization recommendations. Zero-Blast-Radius Chaos Testing: Simulates CPU saturation, database connection dropouts, and artificial network latency without impacting live services. Real-Time Telemetry Streaming: Streams p50/p99 latency, throughput (req/sec), and database load metrics over Server-Sent Events (SSE). GitHub Repository Inspector: Scans public GitHub repositories to extract package.json, Dockerfile, and zerops.yaml configurations for instant infrastructure audits. PostgreSQL Telemetry Store: Uses relational tables and JSONB columns for time-series snapshot storage and historical comparisons. Audit Exporter: Generates downloadable Markdown and JSON SRE audit reports. 5. Technology Stack Cloud Infrastructure: Zerops (zerops.yaml, zerops-import.yaml) Database: PostgreSQL 16 (pg connection pool, JSONB, schema migrations) Backend: Node.js 20, Express.js, Server-Sent Events (SSE) Frontend: React 19, Vite, TailwindCSS, Recharts, Framer Motion AI Engine: Groq Llama-3.3-70B Versatile API 6. Submission Compliance and Disclosures Solo Participation: Built and submitted independently by one participant. Zerops Deployment: Deployed on Zerops with active public routing and health monitoring. Architecture Complexity: Exceeds basic applications by implementing three distinct services (React SPA, Node.js Backend Engine, PostgreSQL Database). Code Access: Available in a public GitHub repository for judge review. AI Tooling Disclosure: AI assistants (Antigravity AI / Gemini 3.6) were used for pair programming and code refactoring. All architecture design, database modeling, business logic, and deployment configurations are original work by the author. Technical Understanding: Full ownership and technical understanding of application architecture, connection management, chaos simulation logic, and Zerops service management. 7. AI Tools Disclosed Tools Used: Antigravity AI (powered by Gemini 3.6). Scope of Use: Code completion assistance, syntax refactoring, unit test boilerplates, and documentation formatting. 8. Meaningful Original Work & Contributions Conceptualization & Architecture: Designed the Shadow Cloning concept, zero-blast-radius chaos engine, and multi-service topology for Zerops. Database Schema & Data Pipeline: Authored relational schemas for projects, experiments, and chaos_runs, leveraging PostgreSQL JSONB fields for dynamic telemetry payloads. Real-Time Data Engine: Built custom Express Server-Sent Events (SSE) streaming logic for live client metrics. Chaos Engineering Logic: Programmed fault injection algorithms for CPU pressure simulation, DB connection drop scenarios, and latency throttling. Zerops Deployment Orchestration: Configured zerops.yaml multi-stage build instructions, runtime container scripts, and zerops-import.yaml PostgreSQL configuration. Frontend UI & Components: Built the React 19 single-page interface, custom dashboard controls, modal dialogs, and Recharts telemetry graphs. Key Architectural QnA Why a 3-Service Architecture? Separating the React SPA frontend, Node.js API engine, and PostgreSQL database container ensures independent scaling, isolated failure domains, and strict adherence to microservice best practices on Zerops. Why Server-Sent Events (SSE) instead of WebSockets? Telemetry streams in ShadowLab are strictly unidirectional (server to client). SSE operates over standard HTTP, eliminating WebSocket handshake overhead, working seamlessly with Zerops HTTP proxies, and offering built-in client reconnect logic out of the box. Why PostgreSQL with JSONB instead of NoSQL? Relational integrity is required for linking projects, experiments, and chaos executions via primary/foreign keys, while JSONB provides schemaless flexibility to store arbitrary telemetry snapshots and AI analysis payloads in the same record. How is Zerops Natively Utilized? ShadowLab parses Zerops configuration manifests (zerops.yaml), uses Zerops internal network environment variables for zero-config database binding, and provides Zerops users with a safe sandbox to test attaching Zerops services (e.g., Valkey caching or worker scaling) before live production deployment. 9. Submission References Source Code Repository: https://github.com/Sswastik60/ShadowLab Live Project URL: https://app-2b52-3000.prg1.zerops.app/