Case Studies

Selected Work

Problem → Solution → Impact.
Every system is engineered to a defensible standard.

01/Open Source ContributionsOpen Source · PR #1394

PyThaiNLP

CythonC ExtensionsPython

Core Achievement

Optimized performance-critical NLP routines by implementing Cython C-extensions (PR #1394).

Technical Edge

Achieved a 3–5x throughput increase by migrating Python loops to C. Engineered the extension with strict behavioral parity and type-safe boundaries, ensuring seamless integration with pure-Python fallbacks for legacy compatibility.

Metric

3.5x average speedup in character processing routines.

speed
02/Systems & Internals

Mini-Redis

C · POSIXTCP/IPRESP Protocol

Core Achievement

Engineered a high-performance, in-memory key-value store from scratch in C, modeled after the Redis internal architecture.

Technical Edge

Implemented an event-driven concurrency model using poll() for I/O multiplexing, eliminating thread context-switching overhead. Designed a custom hash map with dynamic resizing and guaranteed data durability through an Append-Only File (AOF) persistence engine utilizing atomic fsync syscalls.

Metric

O(1) average lookup complexity with zero-busy-wait CPU overhead.

memory
03/Mission-Critical Backend

TPSystem

Spring BootPostgreSQLRedis

Core Achievement

A transaction processing engine designed to solve complex concurrency failures and ensure absolute data integrity.

Technical Edge

Eliminated race conditions using ACID transactions and pessimistic locking with strict resource ordering to prevent deadlocks. Built a tamper-evident audit trail using cryptographic hash-chaining and implemented idempotency patterns to ensure consistency across network retries.

Metric

100% Transaction Accuracy under high-concurrency load testing.

account_balance
04/Infrastructure & Product

AgriscanPro

DjangoReact · TSAWS

Core Achievement

An end-to-end research management platform for agricultural data, built for real-world laboratory workflows.

Technical Edge

Architected a secure Hierarchical RBAC system across 6 distinct roles. Optimized high-volume data exports via server-side stream processing, reducing browser memory pressure by 70%. Orchestrated a cloud-native deployment using AWS (S3/CloudFront) with automated CI/CD pipelines.

Metric

Deployed for real-world research use at Thammasat University.

biotech
05/AI & RAG Systems
Node.js · TSNext.jsMongoDB Atlas

Core Achievement

Built a full-stack RAG pipeline that scrapes Specphone.com, stores specs with vector embeddings in MongoDB Atlas, and answers Thai-language queries via a Next.js chat UI.

Technical Edge

Implemented multi-query expansion with Typhoon LLM and a neural Cross-Encoder reranker (ms-marco-MiniLM-L-6-v2) for high-precision retrieval. Engineered backend-first chat persistence with fire-and-forget DB writes, keeping response latency unaffected. Deployed on Azure App Service (backend) and Vercel (frontend) with automated monthly re-scraping via GitHub Actions.

Metric

Full RAG pipeline with neural reranking deployed to production.

smart_toy