Sahib Yar

Verified mentorTechnical mentor

Senior Backend / Payments & Trading Systems | Performance Engineering | Go, Java, C++ • Distributed Systems • Ledgers & Money Movement

GermanyEnglish0 mentees guided

About

Senior Software Engineer with 10+ years building trading, payments, and data-privacy backends, the last seven spent making high-throughput distributed services faster in production. Finds bottlenecks with profiling (pprof, async-profiler, perf), tracing, benchmarking, and load testing across application code, memory and garbage-collection behaviour, concurrency, and databases, and proves each fix with numbers: 40%+ higher throughput on a multi-asset execution platform serving 350K+ daily users, up to 70% lower critical-path latency, 10× higher write throughput, and reports cut from 10 minutes to 5 seconds. Ships production services in Go, C++, and Java on AWS, Kubernetes, and on-premise Linux, including HSM-secured payment systems. Has led teams of up to five engineers and built the automated test suites that keep performance gains from regressing.

Skills20

GoModern C++JavaCSQLPythonBashCPU and memory profilingbenchmarkingload testingGC-pressure reductionlock-contention reduction

Experience

Senior Software Engineer

Centroid Solutions

Remote, Pakistan • Go, pprof, go tool trace, FIX, Kafka, NATS, Redis Streams, PostgreSQL, gRPC, WebSockets, Protobuf, Prometheus, OpenTelemetry, Jaeger, Docker, Kubernetes, AWS • Increased service throughput by 40%+ and reduced garbage-collection pressure by profiling CPU and memory allocation (pprof, tracing, benchmarks) and removing hot-path bottlenecks in a multi-asset (FX, CFD) execution platform serving 400+ broker clients and 350K+ daily active users. • Led the performance redesign of the trade, price-event, and execution-reporting service (10M events/hour, ~120 GB/day at peak): decoupled ingestion from storage and cut critical-path response times by up to 70% through PostgreSQL batch-write tuning, leaner indexing, and connection-pool (pgx) optimisation; mentored three engineers on the project. • Owned the order-lifecycle service, handling up to 500,000 orders/hour with lock-free data structures on the hot path, peaks of 500 order and execution operations per second, and 99.95% uptime on Kubernetes. • Designed Redis Streams, Pub/Sub, and WebSocket distribution of prices and execution events to 350K+ client terminals, achieving sub-20 ms p99 internal delivery latency. • Built fault-tolerant concurrency with goroutines, worker pools, and NATS; developed and maintained the FIX connectivity the platform used for order routing and execution reporting with 100+ liquidity providers and brokers.

Lead Software Engineer

Securiti.ai

Remote, Pakistan • Java 17/21, async-profiler, JMeter, JUnit, Testcontainers, Go, Python, PostgreSQL, Redis, AWS, Kubernetes, HashiCorp Vault, Prometheus, Grafana, OpenTelemetry • Built Java document-processing microservices (PDFBox, POI, Tika) sustaining ingestion workloads of 5 TB/day, and simplified the codebase by removing 5,000+ lines of legacy code. • Load-tested APIs, databases, and web applications with JMeter, and profiled HotSpot JVM services with async-profiler to diagnose CPU hotspots, allocation pressure, lock contention, and native or kernel-level slowdowns. • Cut real-time pipeline latency by 50% for 1,000+ dashboard users by replacing HTTP polling with WebSockets and Redis Streams consumer groups. • Migrated two services to AWS SDK v2 across S3, SQS, and EMR, adding retry and timeout handling for resilience and tightening IAM permissions. • Built cardinality-estimation pipelines on Redis HyperLogLog, cutting memory use by 99% compared with exact counting at ~0.81% standard error. • Established automated testing for Java and Go services (5,000+ unit and integration tests with JUnit, Testcontainers, and GoMock; 85%+ coverage) to catch regressions before release. • Led five engineers through design reviews, coding standards, and GitOps workflows across successive milestone releases. • Designed a secrets-management abstraction spanning AWS Secrets Manager, HashiCorp Vault, KMS, and Kubernetes Secrets, adopted by three services across three cloud environments and eliminating 100+ hard-coded credentials.

Senior Software Engineer

Afiniti

Hybrid, Pakistan • Modern C++ (11/14/17), perf, Valgrind, GDB, Google Benchmark, CMake, Linux/CentOS (on-premise), POSIX IPC, TCP/IP, OpenSSL/TLS, PostgreSQL, MySQL • Raised asynchronous database-write throughput 10× by replacing Kafka with a file-backed append-only queue using mmap, sequential appends, and batched fsync. • Reduced report generation time from 10 minutes to 5 seconds across 10 on-premise servers through query optimisation (prepared statements, execution-plan caching), POSIX shared-memory IPC, and multi-server job scheduling. • Built a non-blocking epoll-based TCP server supporting 10,000+ concurrent connections, with an OpenSSL TLS layer and custom binary serialization that kept encrypted transport backward-compatible across Avaya CMS versions 6.x–9.x. • Delivered C++ contact-center reporting services integrating Avaya CMS and Afiniti systems, processing 1M+ events/hour.

Implementation Engineer

Avanza Solutions

Pakistan, Oman, Somalia, UAE • C/C++, .NET, ISO 8583, Thales HSM, EMV, DUKPT, 3DES/AES, TCP/IP, SOAP • Integrated HSM-secured payment middleware (Rendezvous, Novus) with ATMs, core banking systems, ISO 8583 switches, and third-party payment rails at banks processing millions of transactions. • Delivered core money-movement flows in the middleware: FX pricing with FIFO tranche management, double-entry wallet ledgers, and card settlement, reversal, and recovery processing. • Implemented secure key-management workflows on Thales HSMs (DUKPT, PIN block translation, EMV cryptograms, 3DES/AES) and encrypted TCP/IP and SOAP channels, supporting the payment application’s PA-DSS compliance. • Built ISO 8583 test harnesses in C++ and .NET: socket-level issuer and acquirer simulators, bitmap parsers, message validators, and automated stress and latency tests. • Delivered international payment deployments and certifications, including PayPak EMV for 1LINK, Mastercard issuing certification for Premier Bank Somalia, and Omantel prepaid-card integration for Bank Dhofar. Open Source & Recognition • Fastly Go SDK and CLI: fixed HTTP response-body leaks by ensuring bodies are always closed (go-fastly #592); replaced reflection with a type switch to cut runtime cost (#583); plus refactors and build fixes across go-fastly and fastly/cli. • Alpaca Go trading SDK: replaced regex error matching with strings.Contains, 3.8× faster in benchmarks (#330); moved the HTTP transport to context-aware DialContext (#332). • Java: fixed case-insensitive date-time parsing in Tablesaw (#1203); code-quality cleanup in XWiki (#2141). • Recognized by Afiniti with an Ivy-Alumni Award for contributions to backend data-layer architecture and APIs for AI-powered contact-center optimization.

Education

Air University, Multan, Pakistan

B.S. Computer Science

Comments0

Loading comments…

Work with Sahib

Weekly code review, architecture and hands-on project work.

0
Mentees guided
0
Sessions held
—
Average rating
3
Places open

Why this profile is trusted

Email address verified by Refonte

On Refonte since December 2026