Safiullah Rattar

Software Engineer

Software engineering student at Carleton University, graduating April 2026. I build things across the stack: distributed systems in C++ and Rust, backend services and infrastructure tooling in Go, data pipelines in Python, and production web applications with real users.

projects

Parhako Next.js, Express.js, PostgreSQL, Python

EdTech platform for university entrance exam prep. 1,600+ users, 50+ paying customers. Full stack: Next.js frontend, Express.js API, PostgreSQL with Prisma ORM. Includes a mock test engine, analytics dashboard, JWT auth with subscription management, and a Python ETL pipeline that processes 10,000+ exam questions from scanned textbooks using OCR and the Gemini LLM API.

Distributed Key-Value Store C++17, gRPC, Protobuf, CMake

Distributed KV store with consistent hashing for node partitioning, gRPC for inter-node communication, a write-ahead log for crash recovery, and leader-follower replication. Thread-safe concurrent access, CLI client, 29 unit tests, throughput benchmarks.

LSM-Tree Storage Engine Rust

Log-structured merge-tree storage engine. BTreeMap memtable, write-ahead log with CRC32 checksums, SSTables with a custom binary block format, bloom filters implemented from scratch, and size-tiered compaction. 61 tests, zero unsafe code.

API Gateway Go

Reverse proxy with path-based routing, three load balancing strategies, token-bucket rate limiting, circuit breaker, JWT auth middleware, Prometheus metrics, health checking, and YAML config with hot-reload. 29 passing tests.

Real-Time Streaming Pipeline Python, Kafka, PostgreSQL, Docker

E-commerce clickstream pipeline: Kafka producer/consumer with Avro serialization, windowed aggregations, PostgreSQL sink with batch inserts, dead letter queue, and a live FastAPI dashboard. Full Docker Compose stack.

Infrastructure Deployer Terraform, AWS, Docker, GitHub Actions

Deployment orchestrator with Terraform modules for AWS (VPC, ECS Fargate, RDS, S3), GitHub Actions CI/CD pipelines, Docker setup, and Prometheus + Grafana monitoring with alert rules.

Network Security Monitor Go

Security tool with TCP port scanning, service detection, TLS/SSL certificate and cipher analysis, CVE lookup via the NVD API, and HTTP security header checks. Generates JSON and HTML reports with severity ratings.

Carleton Course Scheduler (Capstone) React, TypeScript, Python, PostgreSQL

Scheduling tool that generates conflict-free timetables from student preferences using constraint-satisfaction algorithms.

what I work with

Languages: C++, Rust, Go, Python, JavaScript, TypeScript, SQL

Systems: gRPC, Protobuf, multi-threading, TCP/IP, storage engines, write-ahead logs

Backend: REST APIs, microservices, Kafka, FastAPI, Express.js, Node.js

Infrastructure: Docker, Terraform, AWS, GitHub Actions, Prometheus, Grafana

Databases: PostgreSQL, MongoDB, Redis, schema design, query optimization

Frontend: React, Next.js, Chart.js

Tools: Git, Linux, Neovim, GDB, Valgrind, CMake, Cargo

other things

I daily drive Arch Linux and Neovim. Configuring my setup has become a hobby in itself. Also 2,500 hours in Dota 2. Invoker main, not sorry.