Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spec-Driven Coding Interviews — Official Companion Repository

GitHub Repository Java 21+ Python 3.12+ .NET 8 / C# 12 Docker Compose

This repository is the official companion codebase for the book Spec-Driven Coding Interviews: The Advanced Reference Manual for Software Professionals by Harinath Mallepally.


Repository Architecture & Chapter Code Map

Book Chapter & Topic Java Implementation Python Implementation C# (.NET 8) Implementation Distributed Lab
Ch 01–03: Invariants & Ledgers java/craftsmanship/ledger python/craftsmanship/ledger csharp/Craftsmanship/Ledger PostgreSQL Double-Entry DB
Ch 04–05: Rich Domain & SOLID java/craftsmanship/domain python/craftsmanship/domain csharp/Craftsmanship/Domain Clean Architecture Suite
Ch 06: Functional Streams & Monads java/craftsmanship/streams python/craftsmanship/streams csharp/Craftsmanship/Streams Parallel Stream Benchmarks
Ch 07–08: Concurrency & Lock-Free java/concurrency/lockfree python/concurrency/asyncio csharp/Concurrency/Channels Virtual Threads & CAS Ring Buffer
Ch 09–13: 25 Canonical Patterns java/algorithms/patterns python/algorithms/patterns csharp/Algorithms/Patterns 80 Automated Unit Test Suites
Ch 14–15: Mock Assessment Sets java/algorithms/mocksets python/algorithms/mocksets csharp/Algorithms/MockSets 20 Timed Assessment Runners
Ch 16–17: 14 System Design Blueprints java/systemdesign/solutions python/systemdesign/solutions csharp/SystemDesign/Solutions Docker Compose Topologies
Ch 18: Outbox, Sagas & Jitter java/resiliency/outbox python/resiliency/outbox csharp/Resiliency/Outbox Debezium CDC + PostgreSQL
Ch 19: DB Isolation & Tokenization java/database/isolation python/database/isolation csharp/Database/Isolation Postgres MVCC & AES-256 Vault
Ch 21: Testcontainers & CI/CD java/testing/testcontainers python/testing/testcontainers csharp/Testing/Testcontainers Pact Contract Testing Suite
Ch 22: Kafka (KRaft) & RabbitMQ java/messaging/kafka python/messaging/kafka csharp/Messaging/Kafka Kafka KRaft Multi-Broker Cluster
Ch 23: AI/ML, RAG & Semantic Cache java/aiml/rag python/aiml/rag csharp/AIML/RAG Qdrant / Milvus Vector Search Lab

Quickstart Guide

1. Launch the Local Distributed Infrastructure Playground

Spin up a complete distributed test environment containing Kafka (KRaft mode), PostgreSQL with pgvector, Redis Cluster, RabbitMQ, and Qdrant:

�ash docker compose up -d

2. Run Multi-Language Algorithmic Test Suites

Java 21+ (Maven/Gradle)

�ash cd java mvn clean test

Python 3.12+ (pytest / uv)

�ash cd python pip install -r requirements.txt pytest -v

C# 12 / .NET 8

�ash cd csharp dotnet test


License & Citation

Copyright (C) 2026 Harinath Mallepally. All rights reserved.
Open-source reference code licensed under the Apache 2.0 License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages