<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ayushbite on Medium]]></title>
        <description><![CDATA[Stories by Ayushbite on Medium]]></description>
        <link>https://medium.com/@ayushbite?source=rss-b40f40e71dfa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6cjYj_HtaFp-UpOX</url>
            <title>Stories by Ayushbite on Medium</title>
            <link>https://medium.com/@ayushbite?source=rss-b40f40e71dfa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 16:57:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ayushbite/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[For your technical manager, I'd recommend building a Windows C++ SSD File-System Benchmark using…]]></title>
            <link>https://medium.com/@ayushbite/for-your-technical-manager-id-recommend-building-a-windows-c-ssd-file-system-benchmark-using-240cc15d761f?source=rss-b40f40e71dfa------2</link>
            <guid isPermaLink="false">https://medium.com/p/240cc15d761f</guid>
            <dc:creator><![CDATA[Ayushbite]]></dc:creator>
            <pubDate>Sat, 31 Oct 2026 03:45:31 GMT</pubDate>
            <atom:updated>2026-10-31T03:45:31.095Z</atom:updated>
            <content:encoded><![CDATA[<p>For your technical manager, I&#39;d recommend building a Windows C++ SSD File-System Benchmark using the Windows File API (CreateFileW, WriteFile, ReadFile).<br>The goal is to measure how the file system performs with and without the Windows file cache, across multiple directories and different reading patterns.<br>1. What your benchmark should test<br>Example test configuration<br>5<br>Files per directory<br>5<br>Runs per test<br>64 MiB<br>Per file<br>Illustrative paths; replace them with your actual test directories.<br>For every directory, test these operations:<br>Operation: Sequential writeI/O mode: BufferedWhat it measures: Writes using Windows file cache<br>Operation: Sequential writeI/O mode: FILE_FLAG_NO_BUFFERINGWhat it measures: Writes bypassing Windows file cache<br>Operation: Sequential readI/O mode: BufferedWhat it measures: Normal consecutive file reads<br>Operation: Sequential readI/O mode: UnbufferedWhat it measures: Consecutive reads without Windows file cache<br>Operation: Random readI/O mode: BufferedWhat it measures: Reading nonconsecutive blocks<br>Operation: Random readI/O mode: UnbufferedWhat it measures: Random reads without Windows file cache<br>Important: FILE_FLAG_NO_BUFFERING disables Windows system caching of file data, not necessarily the SSD&#39;s internal hardware cache. It also requires properly aligned memory buffers, read/write sizes and offsets. Microsoft Learn +1<br>For each operation, calculate:</p><p>Average duration: mean of five measured runs, in milliseconds.</p><p>Throughput: data transferred per second, in MiB/s.</p><p>Random-read IOPS: number of read operations per second.</p><p>Flush-inclusive write time: how long it takes to write and flush the data, rather than only measuring how quickly Windows accepts the writes.</p><p>2. Download the C++ program<br>ssd_fs_benchmark.cpp<br>Complete Windows C++17 benchmark source code<br>Setup and testing guide<br>Compilation, test methodology, limitations and further experiments<br>The program uses a predefined array of directories, like this:</p><p>const std::vector&lt;std::filesystem::path&gt; directories = {<br> LR&quot;(D:\SSD_Test\Directory1)&quot;,<br> LR&quot;(D:\SSD_Test\Directory2)&quot;,<br> LR&quot;(E:\SSD_Test\Directory3)&quot;<br>};</p><p>Change the directory list near the beginning of the downloaded source file. It will generate five files per directory and per I/O mode. The files are processed sequentially, not simultaneously, in this first version.<br>To compile it using the Visual Studio x64 Native Tools Command Prompt:</p><p>cl /nologo /std:c++17 /EHsc /O2 /W4 ssd_fs_benchmark.cpp<br>ssd_fs_benchmark.exe</p><p>The results are saved to ssd_fs_results.csv, including each of the five run times, their average and standard deviation.<br>3. Reading approaches I would test next<br>Sequential reading<br>Read from the beginning to the end in 1 MiB blocks. This measures sustained throughput (MiB/s).<br>Random reading<br>Read small 4 KiB blocks from shuffled file offsets. This is particularly useful for measuring random IOPS, which matters for databases and workloads with many small reads.<br>Warm-cache versus cold-cache reading<br>Compare reading recently accessed files against reading data that is not already cached in RAM. The current program&#39;s buffered reads are likely warm-cache tests; they should not be interpreted as pure SSD performance. FlushFileBuffers does not clear the Windows read cache.<br>Parallel reading<br>Read five separate files at the same time using threads or asynchronous I/O. Compare this with reading five files one after another. This helps reveal how performance changes with concurrency.<br>4. What I&#39;d recommend for your technical manager<br>Start with the downloaded benchmark as the baseline. Then test different block sizes (4 KiB, 64 KiB and 1 MiB), different file sizes, and one versus five concurrent operations.<br>For more rigorous SSD benchmarking, also cross-check the results using Microsoft DiskSpd. It supports cache-control options, random/sequential workloads, threads and outstanding I/O requests. GitHub +1<br>Two important limitations: Five sequential file operations won&#39;t necessarily saturate a fast NVMe SSD, and the default 64 MiB files may fit entirely in Windows cache. Also, the sample checks successful byte counts but does not perform a full data-integrity comparison.<br>The program is created, but it hasn&#39;t been compiled or executed on a Windows SSD in this environment. Run it on your target computer to obtain actual measurements.<br>The most informative next comparison would be five simultaneous file writes versus five sequential file writes, with both buffered and unbuffered modes. That would help your manager distinguish file-system caching effects from the SSD&#39;s ability to handle concurrent requests.<br>Windows SSD file-system benchmark<br>This is a C++17 Windows 10/11 sample using the Win32 file API. It is intended for a learning/prototype benchmark; it is not a validated replacement for DiskSpd.<br>What it does</p><p>Uses a predefined std::vector&lt;std::filesystem::path&gt; of target directories.<br>Creates/overwrites five named files in each directory for each caching mode.<br>Writes 64 MiB per file using 1 MiB sequential WriteFile requests.<br>Tests normal Windows buffered I/O and FILE_FLAG_NO_BUFFERING separately.<br>Measures write submission time and write-plus-FlushFileBuffers time.<br>Measures full-file sequential reads and sampled random reads (usually 4 KiB) in the same mode.<br>Performs five repetitions of each case; reports mean timings, MiB/s and random IOPS.<br>Creates ssd_fs_results.csv with run-level times, mean and sample standard deviation.</p><p>Important: The five files are processed one at a time, not in parallel. This is a synchronous, low-queue-depth starting point. Five concurrent writers and overlapped I/O should be separate later scenarios.<br>Setup</p><p>Edit the kDirectories array near the top of ssd_fs_benchmark.cpp to point to dedicated, disposable folders on your SSD. Do not put live user data in those folders. The program overwrites files named fsbench_buffered_1.bin through fsbench_buffered_5.bin, and likewise fsbench_unbuffered_*.bin.</p><p>Open the x64 Native Tools Command Prompt for Visual Studio with the Desktop development with C++ workload installed.</p><p>In the folder containing ssd_fs_benchmark.cpp, run:<br>cl /nologo /std:c++17 /EHsc /O2 /W4 ssd_fs_benchmark.cpp<br>ssd_fs_benchmark.exe</p><p>Open ssd_fs_results.csv in Excel or another CSV viewer.</p><p>The program leaves the ten test files per directory for inspection; remove these disposable files once finished.<br>Understanding the test</p><p>The buffered read measurements are likely warm-cache results, because the same files were just written and read. They do not necessarily measure the SSD&#39;s physical read speed.<br>FILE_FLAG_NO_BUFFERING bypasses Windows file data caching, not necessarily on-device controller caching. The program queries volume sector sizes and allocates aligned buffers. It intentionally does not use FILE_FLAG_WRITE_THROUGH; a separate write-through scenario would be valuable.<br>Write (submit) measures how fast the write API completes (often into cache). Write (+ flush) includes one flush per file. They measure different things.<br>Random reads visit up to 4,096 shuffled blocks per file, generally 4 KiB each. They measure IOPS for single synchronous reads (roughly queue depth 1), not NVMe maximum IOPS.<br>Both directory paths in the starter config are on C:. Different folders on the same SSD exercise the same underlying hardware; compare against other volumes only if those volumes are on genuinely different physical devices.<br>Mean and sample standard deviation are reported across five trials; always inspect the variation. For more meaningful storage throughput, increase file sizes so that the working set is much larger than available RAM and run the test long enough to reach steady-state behavior.<br>Full data integrity is not validated: the sample checksum deliberately only consumes one byte per read request. Add an untimed full-file verification pass if this is an acceptance requirement.<br>OS/process interference, SSD thermal throttling, antivirus, free-space and drive-fill level, file fragmentation, and power plan can influence results.</p><p>Further scenarios worth adding</p><p>Warm-cache vs cold-cache reads: do not assume FlushFileBuffers empties the Windows file cache; it does not.<br>Parallel reads and writes: five worker threads (one per file), keeping per-file results and a total wall clock. Distinguish per-file average throughput from aggregate throughput.<br>Asynchronous/overlapped I/O with controlled queue depth (1, 4, 8, 32).<br>4 KiB, 64 KiB, 1 MiB request sizes and realistic random-access distributions.<br>Write-through mode (FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH) if durable per-write behavior matters.<br>Metadata operations: create/delete/open/close, and mixed file sizes (small-file performance can behave very differently from streaming throughput).<br>Cross-check with Microsoft&#39;s DiskSpd (https://github.com/microsoft/diskspd) to validate the workload methodology and expected performance envelope.</p><p>This sample has not been executed on Windows in the authoring environment. Compile and run on your own target Windows SSD to obtain real measured results.<br>// Windows 10/11, C++17. Run only in dedicated benchmark directories.<br>#define _WIN32_WINNT 0x0602<br>#define NOMINMAX<br>#include &lt;windows.h&gt;<br>#include &lt;malloc.h&gt;<br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>#include <br>namespace fs = std::filesystem;<br>using Clock = std::chrono::steady_clock;<br>constexpr int kRuns = 5;<br>constexpr int kFilesPerDirectory = 5;<br>constexpr std::size_t kMiB = 1024 * 1024;<br>constexpr std::size_t kFileBytes = 64 * kMiB; // 64 MiB each<br>constexpr DWORD kSequentialBlock = 1 * 1024 * 1024; // 1 MiB I/O<br>constexpr std::size_t kRandomReadsPerFile = 4096; // 4 KiB x 4096, typically<br>// CHANGE THESE to folders on the SSD(s) you want to benchmark.<br>const std::vectorfs::path kDirectories = {<br> LR&quot;(C:\SSD_Benchmark\Path1)&quot;,<br> LR&quot;(C:\SSD_Benchmark\Path2)&quot;<br>};<br>[[noreturn]] void win_error(const std::string&amp; operation) {<br> throw std::runtime_error(operation + &quot; (Windows error &quot; +<br> std::to_string(GetLastError()) + &quot;)&quot;);<br>}<br>class Handle {<br>public:<br> explicit Handle(HANDLE h = INVALID_HANDLE_VALUE) noexcept : h_(h) {}<br> ~Handle() { if (h_ != INVALID_HANDLE_VALUE) CloseHandle(h_); }<br> Handle(const Handle&amp;) = delete;<br> Handle&amp; operator=(const Handle&amp;) = delete;<br> Handle(Handle&amp;&amp; other) noexcept : h_(std::exchange(other.h_, INVALID_HANDLE_VALUE)) {}<br> Handle&amp; operator=(Handle&amp;&amp; other) noexcept {<br> if (this != &amp;other) {<br> if (h_ != INVALID_HANDLE_VALUE) CloseHandle(h_);<br> h_ = std::exchange(other.h_, INVALID_HANDLE_VALUE);<br> }<br> return *this;<br> }<br> HANDLE get() const noexcept { return h_; }<br> explicit operator bool() const noexcept { return h_ != INVALID_HANDLE_VALUE; }<br>private:<br> HANDLE h_;<br>};<br>struct AlignedFree {<br> void operator()(std::byte* p) const noexcept { _aligned_free(p); }<br>};<br>using AlignedBuffer = std::unique_ptr&lt;std::byte, AlignedFree&gt;;<br>AlignedBuffer make_buffer(std::size_t bytes, std::size_t alignment) {<br> AlignedBuffer result(static_caststd::byte*(_aligned_malloc(bytes, alignment)));<br> if (!result) throw std::runtime_error(&quot;_aligned_malloc failed&quot;);<br> return result;<br>}<br>Handle open_file(const fs::path&amp; p, DWORD access, DWORD creation, DWORD flags) {<br> HANDLE h = CreateFileW(p.c_str(), access, 0, nullptr, creation, flags, nullptr);<br> if (h == INVALID_HANDLE_VALUE) win_error(&quot;CreateFileW failed&quot;);<br> return Handle(h);<br>}<br>fs::path data_path(const fs::path&amp; dir, bool unbuffered, int index) {<br> const std::wstring mode = unbuffered ? L&quot;unbuffered&quot; : L&quot;buffered&quot;;<br> return dir / (L&quot;fsbench_&quot; + mode + L&quot;_&quot; + std::to_wstring(index + 1) + L&quot;.bin&quot;);<br>}<br>std::size_t alignment_for_directory(const fs::path&amp; dir) {<br> // FileStorageInfo exposes the logical and physical sector sizes of the volume.<br> Handle h(CreateFileW(dir.c_str(), FILE_READ_ATTRIBUTES,<br> FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,<br> nullptr, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, nullptr));<br> if (!h) win_error(&quot;Opening benchmark directory for sector information failed&quot;);<br> FILE_STORAGE_INFO info{};<br> if (!GetFileInformationByHandleEx(h.get(), FileStorageInfo, &amp;info, sizeof(info)))<br> win_error(&quot;Querying FileStorageInfo failed (Windows 8+ required)&quot;);<br>const std::size_t alignment = std::max({<br> std::size_t{4096},<br> std::size_t{info.LogicalBytesPerSector},<br> std::size_t{info.PhysicalBytesPerSectorForAtomicity},<br> std::size_t{info.PhysicalBytesPerSectorForPerformance},<br> std::size_t{info.FileSystemEffectivePhysicalBytesPerSectorForAtomicity}<br>});<br>if ((alignment &amp; (alignment - 1)) != 0 ||<br> kSequentialBlock % alignment != 0 || kFileBytes % alignment != 0)<br> throw std::runtime_error(&quot;Unsupported sector alignment; adjust block/file sizes&quot;);<br>return alignment;</p><p>}<br>double seconds_between(Clock::time_point start, Clock::time_point end) {<br> return std::chrono::duration(end - start).count();<br>}<br>struct WriteResult {<br> double submit_seconds{}; // time to CREATE + WriteFile all five files<br> double flush_seconds{}; // time to CREATE + WriteFile + FlushFileBuffers<br>};<br>WriteResult write_five(const fs::path&amp; dir, bool unbuffered,<br> const std::byte* source) {<br> std::array&lt;Handle, kFilesPerDirectory&gt; handles;<br> const DWORD flags = unbuffered ? FILE_FLAG_NO_BUFFERING : FILE_ATTRIBUTE_NORMAL;<br>auto begin = Clock::now();<br>for (int i = 0; i &lt; kFilesPerDirectory; ++i) {<br> handles[i] = open_file(data_path(dir, unbuffered, i), GENERIC_WRITE,<br> CREATE_ALWAYS, flags);<br> for (std::size_t offset = 0; offset &lt; kFileBytes; offset += kSequentialBlock) {<br> DWORD written = 0;<br> if (!WriteFile(handles[i].get(), source + offset,<br> kSequentialBlock, &amp;written, nullptr))<br> win_error(&quot;WriteFile failed&quot;);<br> if (written != kSequentialBlock)<br> throw std::runtime_error(&quot;Short file write&quot;);<br> }<br>}<br>auto submitted = Clock::now();<br>// Flush once per file, not once per block. The flush cost is tracked separately.<br>for (auto&amp; handle : handles) {<br> if (!FlushFileBuffers(handle.get())) win_error(&quot;FlushFileBuffers failed&quot;);<br>}<br>auto flushed = Clock::now();<br>return {seconds_between(begin, submitted), seconds_between(begin, flushed)};</p><p>}<br>struct ReadResult {<br> double seconds{};<br> std::uint64_t bytes{};<br> std::uint64_t operations{};<br> std::uint64_t checksum{}; // force samples to be consumed; not a full integrity check<br>};<br>ReadResult read_five(const fs::path&amp; dir, bool unbuffered, bool random_access,<br> std::size_t alignment, int run_index) {<br> const DWORD block = random_access ?<br> static_cast(std::maxstd::size_t(4096, alignment)) :<br> kSequentialBlock;<br> if (kFileBytes % block != 0)<br> throw std::runtime_error(&quot;File size is not divisible by read block size&quot;);<br> auto buffer = make_buffer(kSequentialBlock, alignment);<br>// Prepare the access pattern before starting the stopwatch.<br>std::vector&lt;std::uint32_t&gt; random_blocks;<br>if (random_access) {<br> random_blocks.resize(kFileBytes / block);<br> std::iota(random_blocks.begin(), random_blocks.end(), 0u);<br> std::mt19937 rng(12345u + static_cast&lt;unsigned&gt;(run_index));<br> std::shuffle(random_blocks.begin(), random_blocks.end(), rng);<br> random_blocks.resize(std::min(random_blocks.size(), kRandomReadsPerFile));<br>}<br> <br>std::uint64_t operations = 0;<br>std::uint64_t bytes = 0;<br>std::uint64_t checksum = 0;<br>const DWORD flags = unbuffered ? FILE_FLAG_NO_BUFFERING :<br> (random_access ? FILE_FLAG_RANDOM_ACCESS : FILE_FLAG_SEQUENTIAL_SCAN);<br> <br>auto begin = Clock::now();<br>for (int i = 0; i &lt; kFilesPerDirectory; ++i) {<br> Handle h = open_file(data_path(dir, unbuffered, i), GENERIC_READ,<br> OPEN_EXISTING, flags);<br> const std::size_t count = random_access ? random_blocks.size() :<br> kFileBytes / block;<br> for (std::size_t n = 0; n &lt; count; ++n) {<br> if (random_access) {<br> LARGE_INTEGER position{};<br> position.QuadPart = static_cast&lt;LONGLONG&gt;(random_blocks[n]) * block;<br> if (!SetFilePointerEx(h.get(), position, nullptr, FILE_BEGIN))<br> win_error(&quot;SetFilePointerEx failed&quot;);<br> }<br> DWORD received = 0;<br> if (!ReadFile(h.get(), buffer.get(), block, &amp;received, nullptr))<br> win_error(&quot;ReadFile failed&quot;);<br> if (received != block)<br> throw std::runtime_error(&quot;Short file read&quot;);<br> checksum += static_cast&lt;unsigned char&gt;(buffer.get()[0]);<br> ++operations;<br> bytes += received;<br> }<br>}<br>auto end = Clock::now();<br>return {seconds_between(begin, end), bytes, operations, checksum};</p><p>}<br>struct Average {<br> std::array&lt;double, kRuns&gt; samples{};<br> int count = 0;<br> void add(double seconds) {<br> if (count &gt;= kRuns) throw std::runtime_error(&quot;Too many timing samples&quot;);<br> samples[count++] = seconds;<br> }<br> double seconds() const {<br> if (count != kRuns) throw std::runtime_error(&quot;Incomplete timing samples&quot;);<br> return std::accumulate(samples.begin(), samples.end(), 0.0) / kRuns;<br> }<br> double stdev_seconds() const {<br> const double avg = seconds();<br> double squares = 0.0;<br> for (const double sample : samples)<br> squares += (sample - avg) * (sample - avg);<br> return std::sqrt(squares / (kRuns - 1));<br> }<br>};<br>void show_result(std::ofstream&amp; csv, const fs::path&amp; dir, const std::string&amp; mode,<br> const std::string&amp; operation, const Average&amp; timings,<br> std::uint64_t bytes, std::uint64_t ops, bool show_iops = false) {<br> const double mean = timings.seconds();<br> const double mibps = static_cast(bytes) / kMiB / mean;<br> const double iops = show_iops ? static_cast(ops) / mean : 0.0;<br> std::cout &lt;&lt; std::left &lt;&lt; std::setw(25) &lt;&lt; operation &lt;&lt; std::right<br> &lt;&lt; std::setw(13) &lt;&lt; mean * 1000.0 &lt;&lt; &quot; ms &quot;<br> &lt;&lt; std::setw(10) &lt;&lt; mibps &lt;&lt; &quot; MiB/s&quot;;<br> if (show_iops) std::cout &lt;&lt; &quot; &quot; &lt;&lt; std::setw(11) &lt;&lt; iops &lt;&lt; &quot; IOPS&quot;;<br> std::cout &lt;&lt; &quot;\n&quot;;<br> csv &lt;&lt; &#39;&quot;&#39; &lt;&lt; dir.string() &lt;&lt; &quot;&quot;,&quot;&quot; &lt;&lt; mode &lt;&lt; &quot;&quot;,&quot;&quot; &lt;&lt; operation<br> &lt;&lt; &quot;&quot;,&quot; &lt;&lt; mean * 1000.0 &lt;&lt; &#39;,&#39; &lt;&lt; timings.stdev_seconds() * 1000.0<br> &lt;&lt; &#39;,&#39; &lt;&lt; mibps &lt;&lt; &#39;,&#39; &lt;&lt; iops;<br> for (double sample : timings.samples) csv &lt;&lt; &#39;,&#39; &lt;&lt; sample * 1000.0;<br> csv &lt;&lt; &quot;\n&quot;;<br>}<br>int main() {<br> try {<br> std::cout &lt;&lt; std::fixed &lt;&lt; std::setprecision(2);<br> std::ofstream csv(&quot;ssd_fs_results.csv&quot;, std::ios::trunc);<br> if (!csv) throw std::runtime_error(&quot;Cannot open ssd_fs_results.csv&quot;);<br> csv &lt;&lt; &quot;directory,mode,operation,average_ms,stdev_ms,average_MiB_per_sec,average_IOPS&quot;<br> &quot;,run1_ms,run2_ms,run3_ms,run4_ms,run5_ms\n&quot;;<br> csv &lt;&lt; std::fixed &lt;&lt; std::setprecision(2);<br> std::cout &lt;&lt; &quot;WARNING: This overwrites fsbench_*.bin in the listed folders.\n&quot;<br> &lt;&lt; &quot;Five runs, five 64-MiB files per directory and mode.\n&quot;;<br> for (const auto&amp; dir : kDirectories) {<br> fs::create_directories(dir);<br> const auto alignment = alignment_for_directory(dir);<br> std::cout &lt;&lt; &quot;\nDirectory: &quot; &lt;&lt; dir.string()<br> &lt;&lt; &quot; | alignment: &quot; &lt;&lt; alignment &lt;&lt; &quot; bytes\n&quot;;<br> <br> // Generate incompressible-looking input outside all timed operations.<br> auto data = make_buffer(kFileBytes, alignment);<br> std::mt19937_64 generator(0xC0FFEE);<br> for (std::size_t i = 0; i &lt; kFileBytes; i += sizeof(std::uint64_t)) {<br> const std::uint64_t word = generator();<br> std::memcpy(data.get() + i, &amp;word, sizeof(word));<br> }<br> <br> for (int m = 0; m &lt; 2; ++m) {<br> const bool unbuffered = (m == 1);<br> const std::string mode = unbuffered ? &quot;NO_BUFFERING&quot; : &quot;BUFFERED&quot;;<br> Average write_submit, write_flush, sequential_read, random_read;<br> std::uint64_t sequential_bytes = 0, sequentia</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=240cc15d761f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You already know React Native basics, so we'll focus on something more important: understanding how…]]></title>
            <link>https://medium.com/@ayushbite/you-already-know-react-native-basics-so-well-focus-on-something-more-important-understanding-how-e6ef5468fdca?source=rss-b40f40e71dfa------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6ef5468fdca</guid>
            <dc:creator><![CDATA[Ayushbite]]></dc:creator>
            <pubDate>Sat, 31 Oct 2026 03:26:06 GMT</pubDate>
            <atom:updated>2026-10-31T03:26:06.067Z</atom:updated>
            <content:encoded><![CDATA[<p>You already know React Native basics, so we&#39;ll focus on something more important: understanding how and why each part of your screen works, how React Native handles it internally, and how engineers decide which components, props, and styles to use.</p><p>By the end, you should be able to explain your login screen to another developer, debug its layout problems, and design similar screens without blindly copying code.</p><p>We&#39;ll study these areas:</p><p>How your entire login screen is organized</p><p>React Native, Expo, and third-party components</p><p>Every UI component and the props you&#39;ve used</p><p>React hooks, state, event handling, and functions</p><p>Keyboard handling and scrolling</p><p>Flexbox, responsive layouts, and every style in your stylesheet</p><p>Phone validation, OTP requests, and asynchronous operations</p><p>Problems in your existing implementation and better engineering decisions</p><p>Chapter 1 — Understand the complete screen first<br>1.1 What exactly are you building?<br>You&#39;re building a mobile phone number authentication screen.</p><p>Authentication means verifying who a user is. In your application, you want to verify a user&#39;s phone number using a One-Time Password (OTP).</p><p>A typical user journey looks like this:</p><p>1. User opens the application</p><p>The onboarding and mobile login screen appears.</p><p>2. User enters a phone number</p><p>The keyboard opens, and the layout changes.</p><p>3. Application validates the input</p><p>Checks whether the number matches the expected format.</p><p>4. User presses Get OTP</p><p>The application attempts to request a verification code.</p><p>5. OTP verification happens</p><p>This part still needs to be built and connected to your backend.</p><p>Your current code implements much of the interface and local validation, but it does not send a real OTP by itself.</p><p>1.2 What is a component, really?<br>You know that React Native uses components, but understanding their responsibilities will help you create better applications.</p><p>Think about constructing a house.</p><p>A house contains different parts: rooms, doors, windows, and furniture.</p><p>Likewise, a mobile application contains different components: screens, headers, forms, buttons, and input fields.</p><p>A component is a reusable piece of the user interface, usually with its own appearance, behavior, or both.</p><p>Your application has four custom components.</p><p>Your component	Responsibility<br>MobileLogin	Organizes the entire screen<br>HeaderImage	Reserves space for a future logo or header<br>OnBoardScreen	Reserves space for onboarding content<br>OtpScreen	Handles country selection, phone input, and OTP requests<br>Important distinction: These four are components you created. They are not built into React Native or Expo.</p><p>Component hierarchy<br>Your screen is structured like a family tree.</p><p>MobileLogin</p><p>Parent screen component</p><p>SafeAreaView</p><p>Protects screen content from system UI</p><p>KeyboardAwareScrollView</p><p>Manages scrolling when the keyboard appears</p><p>HeaderImage</p><p>Header area</p><p>OnBoardScreen</p><p>Carousel area</p><p>OtpScreen</p><p>Login form</p><p>The upper components contain the lower components. This relationship is called the component tree.</p><p>The parent provides structure and may pass information to the child through props.</p><p>For example, MobileLogin finds out whether the keyboard is visible and passes that information to all three section components.</p><p>Those sections can then change their appearance depending on the keyboard state.</p><p>1.3 Understanding props and state<br>These two concepts appear throughout your implementation.</p><p>Props are values supplied to a component by whoever uses it.</p><p>Imagine ordering a pizza. The restaurant can make different pizzas depending on the information you provide: size, toppings, or crust.</p><p>The pizza-making process is the component. Your choices are its props.</p><p>In your code, keyboardVisible is a prop passed to HeaderImage, OnBoardScreen, and OtpScreen.</p><p>Each component can read that information and react accordingly.</p><p>State is information a component remembers that can change over time.</p><p>For example, OtpScreen remembers the phone number the user has entered.</p><p>Initially, the phone number is empty. When the user types, it changes. React updates the interface to show the latest value.</p><p>Here&#39;s the difference:</p><p>Props	State<br>Usually provided by a parent	Usually owned by a component<br>Read-only from the receiving component&#39;s perspective	Updated using a state setter<br>Help configure component behavior	Remember changing information<br>Example: keyboardVisible	Example: phoneNumber<br>A third important idea is derived state.</p><p>Your isValidPhone and canSubmit values are calculated from existing state. They don&#39;t need their own independent state variables.</p><p>That is good engineering: fewer independent state variables mean fewer opportunities for contradictory data.</p><p>Chapter 2 — React Native vs Expo vs third-party libraries<br>These are different layers of your application.</p><p>React</p><p>The framework concepts behind components, state, props, hooks, and rendering.</p><p>React Native</p><p>Supplies mobile UI components such as View, Text, TextInput, Pressable, and Modal.</p><p>Expo</p><p>Provides tools and libraries for building, running, testing, and distributing React Native applications.</p><p>Third-party libraries</p><p>Add specialized functionality, such as advanced keyboard handling or safe-area management.</p><p>2.1 Where do your imported components come from?<br>Component or API	Source<br>useState	React<br>View	React Native<br>Text	React Native<br>TextInput	React Native<br>Pressable	React Native<br>Modal	React Native<br>Keyboard	React Native<br>Alert	React Native<br>ActivityIndicator	React Native<br>StyleSheet	React Native<br>SafeAreaView	react-native-safe-area-context<br>KeyboardAwareScrollView	react-native-keyboard-controller<br>useKeyboardState	react-native-keyboard-controller<br>There are no components imported directly from the separate Expo UI library in this file.</p><p>Even when an Expo project uses View, that View still belongs to React Native.</p><p>Expo supports the application environment, but it doesn&#39;t automatically turn every React Native component into an Expo-specific component.</p><p>The SafeAreaView in your code comes from a separate library that Expo documents and commonly supports. Expo documentation +1</p><p>Chapter 3 — Every UI component in your code<br>This chapter covers the components provided by React Native and the additional libraries, not just your custom components.</p><p>For each one, we&#39;ll answer four questions: What is it? Why does it exist? What do its props mean? Why did you use it in this particular screen?</p><p>3.1 View — The foundation of your layout<br>Definition: View is a general-purpose container used to arrange, group, and style other React Native components.</p><p>Think of View as a box.</p><p>A box can contain text, another box, a button, or an input.</p><p>For example, your login form has one outer box containing the title, subtitle, phone input, and button.</p><p>That outer box is a View.</p><p>Why do we need View?<br>Without containers, organizing a complicated screen would be difficult.</p><p>Imagine a classroom. You need a room to contain desks, and perhaps a row to organize those desks.</p><p>React Native works similarly.</p><p>A parent View controls how its children are arranged.</p><p>By default, React Native uses a vertical Flexbox layout, so sibling components appear one below another.</p><p>If you change the layout direction to a row, they appear horizontally.</p><p>Where View appears in your screen<br>Your code uses View to create:</p><p>The main layout container</p><p>The header and onboarding sections</p><p>The OTP section and form</p><p>The horizontal phone input container</p><p>The divider between country code and phone number</p><p>The modal background and modal card</p><p>These are separate View instances with different responsibilities.</p><p>Important View properties<br>Property	Purpose<br>style	Controls appearance and layout<br>onLayout	Reports the measured layout after calculation<br>pointerEvents	Controls how the view and its children handle touches<br>accessible	Helps expose content as an accessibility element<br>testID	Allows automated tests to identify the view<br>Your View components mostly use style.</p><p>Engineering lesson: Use a View when you need a container. It doesn&#39;t automatically make something clickable. For buttons, use an interactive component such as Pressable.</p><p>3.2 Text — Displaying information<br>Definition: Text is the React Native component for displaying text.</p><p>Examples from your screen include:</p><p>&quot;Continue with mobile&quot;</p><p>&quot;Enter your mobile number to get started&quot;</p><p>&quot;Mobile number&quot;</p><p>&quot;Get OTP&quot;</p><p>Why not just put text inside View?<br>React Native has a separate text-rendering system.</p><p>On mobile devices, text has special requirements: font measurement, line breaking, accessibility, language support, and dynamic font scaling.</p><p>Text provides those capabilities.</p><p>Important Text properties<br>Property	Meaning<br>style	Text color, size, weight, alignment, etc.<br>numberOfLines	Limits visible lines<br>ellipsizeMode	Controls truncation when text doesn&#39;t fit<br>selectable	Allows the user to select and copy text<br>onPress	Responds to a tap on the text<br>allowFontScaling	Controls whether system text-size preferences affect it<br>accessibilityRole	Helps screen readers understand the text&#39;s meaning<br>Why multiple Text styles?<br>Because each piece of text has a different importance.</p><p>Your title uses a larger, bold font.</p><p>Your subtitle is smaller and muted.</p><p>Your field label is slightly stronger than your description.</p><p>Your helper text is smaller because it provides secondary information.</p><p>This arrangement is called visual hierarchy.</p><p>Visual hierarchy means making important information more noticeable than less important information.</p><p>It helps users understand a screen quickly.</p><p>3.3 TextInput — Accepting information from the user<br>This is one of the most important components in your entire screen.</p><p>Definition: TextInput is an editable text field that lets the user enter information with the device keyboard.</p><p>When someone taps the phone number field, React Native communicates with the native operating system so that the appropriate keyboard can appear.</p><p>The text field must also deal with cursor placement, selection, pasting, autofill, and accessibility.</p><p>Understanding every TextInput prop you used<br>Prop	Simple explanation	Why you used it<br>style	Defines the input&#39;s layout and appearance	To make it fit inside the phone row<br>value	The text currently displayed	Keeps the input synchronized with phoneNumber state<br>onChangeText	Runs whenever the input text changes	Allows validation and filtering<br>placeholder	Hint shown when the field is empty	Tells users what to enter<br>placeholderTextColor	Color of the hint	Makes the hint visually softer<br>keyboardType	Requests a particular keyboard layout	Uses the phone keypad<br>autoComplete	Tells the OS what information this field represents	Helps with telephone autofill<br>autoCorrect	Controls automatic text corrections	Disables unnecessary word correction<br>maxLength	Limits how many characters can be entered	Prevents more than 10 characters<br>accessibilityLabel	Describes the field to screen readers	Makes the field understandable without sight<br>selectionColor	Changes selection and cursor colors	Matches your blue design<br>Now let&#39;s study some of these more deeply.</p><p>value — What is a controlled input?<br>Your TextInput uses the phoneNumber state as its value.</p><p>That makes it a controlled input.</p><p>A controlled input is an input whose displayed value is controlled by React state.</p><p>Consider this process:</p><p>The phone field initially displays nothing.</p><p>The user types the digit 9.</p><p>The input notifies your application.</p><p>Your function processes the new text.</p><p>State is updated.</p><p>React renders the updated value.</p><p>The key idea is that the application&#39;s state is the source of truth.</p><p>You don&#39;t have to separately ask the input what its current value is when the user presses Get OTP.</p><p>The state already contains it.</p><p>onChangeText — What is a callback?<br>A callback is a function supplied to another component so that it can notify you when something happens.</p><p>onChangeText is called whenever the user changes the input.</p><p>Your callback is handlePhoneChange.</p><p>It receives the new text, removes non-digits, limits the length, and updates your state.</p><p>Why is that useful?</p><p>A keyboard layout is only a typing convenience. It is not a security or validation guarantee.</p><p>Users might paste invalid characters, and phone keypads may offer symbols such as +, *, or #.</p><p>So your application still needs validation.</p><p>keyboardType=&quot;phone-pad&quot;<br>This requests a telephone-oriented keyboard.</p><p>The system chooses the actual keyboard appearance based on Android or iOS and the keyboard installed on the device.</p><p>Important: phone-pad does not guarantee that only digits can be entered.</p><p>It also doesn&#39;t guarantee identical appearance across devices.</p><p>autoComplete=&quot;tel&quot;<br>This gives the operating system a hint that the input expects a telephone number.</p><p>That may help the system offer relevant autofill suggestions.</p><p>It doesn&#39;t fetch a user&#39;s phone number by itself and doesn&#39;t guarantee that autofill will appear.</p><p>maxLength={10}<br>This limits the input to ten characters.</p><p>But there&#39;s an important distinction:</p><p>maxLength controls the amount of text. It doesn&#39;t establish that the text is a valid phone number.</p><p>Your separate validation logic checks the format.</p><p>Also, a ten-digit rule is not universal for every country. We&#39;ll return to that in the engineering review.</p><p>Useful TextInput methods you haven&#39;t used<br>A method is a function associated with an object or API.</p><p>TextInput exposes methods such as:</p><p>Method	What it does<br>focus()	Moves input focus to the field, typically showing the keyboard<br>blur()	Removes focus from the input<br>clear()	Clears the native input text<br>isFocused()	Reports whether the field currently has focus<br>It also provides callbacks such as onFocus, onBlur, onSubmitEditing, and onSelectionChange.</p><p>For your screen, onFocus and onBlur could later help you show a blue border while the phone field is active.</p><p>The official documentation describes these input events and native methods. React Native</p><p>3.4 Pressable — Creating interactive elements<br>Definition: Pressable is a React Native component that detects touch or press interactions.</p><p>Unlike View, it is designed for interaction.</p><p>You use it for three different purposes:</p><p>Opening the country picker</p><p>Submitting the phone number</p><p>Selecting a country or closing the modal</p><p>Why Pressable instead of Button?<br>React Native also provides a built-in Button, but that component offers more limited appearance customization.</p><p>Pressable gives you finer control over layout, children, appearance, and touch feedback.</p><p>Your Get OTP button contains either a text label or a loading spinner.</p><p>That level of customization is a good reason to use Pressable.</p><p>Important Pressable props<br>Prop	Meaning<br>onPress	Function called when a successful press completes<br>disabled	Prevents the press interaction<br>style	Defines appearance; can also change based on press state<br>accessibilityRole	Identifies the control&#39;s purpose to assistive technology<br>accessibilityLabel	Gives the control an understandable spoken name<br>accessibilityState	Communicates disabled, busy, selected, or other states<br>onPressIn	Runs when a press begins<br>onPressOut	Runs when the press ends<br>onLongPress	Responds to a sustained press<br>hitSlop	Enlarges the touchable area without changing visible size<br>onPress versus onPressIn<br>Imagine pressing a physical doorbell.</p><p>onPressIn corresponds to the moment you push your finger down.</p><p>onPressOut corresponds to releasing your finger.</p><p>onPress corresponds to a successful completed press.</p><p>For ordinary application buttons, onPress is usually sufficient.</p><p>For more advanced interactions—such as a custom button that compresses slightly while the user holds it—you might use pressed-state styling or animation.</p><p>disabled<br>Your Get OTP button becomes disabled when the input is invalid or a request is running.</p><p>That&#39;s important for user experience.</p><p>You don&#39;t want someone pressing Get OTP when the field is empty.</p><p>You also don&#39;t want repeated taps generating multiple requests.</p><p>Your code expresses this using canSubmit.</p><p>accessibilityRole and accessibilityState<br>These are especially important.</p><p>Suppose a user relies on TalkBack or VoiceOver, which are screen-reader tools.</p><p>A blue rectangle with white text may look like a button, but assistive technology also needs to know that it&#39;s a button.</p><p>accessibilityRole provides that information.</p><p>Your accessibilityState reports whether the button is disabled or busy.</p><p>That helps make your interface usable for more people. React Native +1</p><p>3.5 Modal — Displaying content above the screen<br>Your country picker uses Modal.</p><p>Definition: A modal is an interface layer that appears above the main screen and temporarily draws the user&#39;s attention to a particular task.</p><p>In your case, that task is selecting a country.</p><p>Imagine a website displaying a confirmation dialog.</p><p>The main page remains behind it, but the dialog appears in front.</p><p>That&#39;s similar to your country picker.</p><p>How your modal is structured<br>Select country<br>🇮🇳 India (+91)</p><p>🇳🇵 Nepal (+977)</p><p>Conceptual preview of the country picker</p><p>Modal props used in your code<br>Prop	Explanation<br>visible	Whether the modal is shown<br>transparent	Allows the background beneath the modal to remain visible<br>animationType	Controls how it appears and disappears<br>onRequestClose	Handles a system request to close the modal<br>visible<br>Your modal&#39;s visibility depends on the pickerVisible state.</p><p>When the user presses the country selector, your application changes that state to true.</p><p>React updates the interface, and the modal appears.</p><p>When the user chooses a country, the state changes to false.</p><p>The modal disappears.</p><p>This is declarative UI.</p><p>Declarative means describing what should be visible for a particular state, instead of manually commanding the screen to add and remove visual elements.</p><p>transparent<br>Your modal is transparent so you can see the login screen behind the dark overlay.</p><p>However, transparent does not create the dark overlay.</p><p>Your own modalOverlay style creates the semi-transparent dark background.</p><p>This distinction matters.</p><p>animationType=&quot;fade&quot;<br>The modal appears and disappears using a fading transition.</p><p>Other supported presentation animations include slide and none.</p><p>A fade is suitable for a centered dialog.</p><p>A slide often works better for a bottom sheet or full-screen presentation.</p><p>onRequestClose<br>On Android, users often close overlays using the system Back action.</p><p>onRequestClose lets your application respond to that action.</p><p>You use it to set pickerVisible to false.</p><p>Without a correct close-handling strategy, users can become stuck in an overlay or experience unexpected navigation behavior.</p><p>Why do you also have an invisible Pressable?<br>Your modal contains a full-screen Pressable behind the white dialog card.</p><p>Its purpose is to dismiss the modal when the user taps outside the card.</p><p>This is called backdrop dismissal.</p><p>The Pressable is stretched to fill the overlay, and the modal card is drawn after it, on top.</p><p>Tapping the card&#39;s own controls selects a country; tapping the surrounding background closes the modal.</p><p>The modal is managed separately from the ordinary layout, so it appears above the screen instead of taking a normal section of space. React Native</p><p>3.6 ActivityIndicator — Communicating loading<br>Definition: ActivityIndicator is a built-in React Native loading spinner.</p><p>It tells users that an operation is in progress.</p><p>In your code, the spinner appears when isSubmitting is true.</p><p>When the request finishes or fails, the spinner disappears and the Get OTP label returns.</p><p>Why is loading feedback necessary?<br>Imagine pressing a button and seeing nothing happen.</p><p>You might think the button is broken and press it repeatedly.</p><p>A loading spinner communicates that the application has received your action.</p><p>But a spinner alone isn&#39;t enough.</p><p>Your code also disables the button while submitting, which helps prevent duplicate requests.</p><p>Useful ActivityIndicator props<br>Prop	Meaning<br>color	Spinne</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6ef5468fdca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WPF]]></title>
            <link>https://medium.com/@ayushbite/wpf-f6ea56fe2966?source=rss-b40f40e71dfa------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6ea56fe2966</guid>
            <dc:creator><![CDATA[Ayushbite]]></dc:creator>
            <pubDate>Wed, 19 Aug 2026 05:37:52 GMT</pubDate>
            <atom:updated>2026-08-19T05:37:52.839Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why I’m Writing This</h3><p>I have roughly three years of professional experience as a <strong>WPF developer</strong>, working in C#. That experience is real — production code, debugging, maintenance, working inside a team, shipping features that people actually used. But almost all of it lives on one side of the industry: <strong>desktop application development</strong>.</p><p>I want to move toward a very different target:</p><blockquote><strong><em>WPF Developer → Modern .NET Backend Engineer → Cloud Engineer → AI Application Engineer</em></strong></blockquote><p>Not by discarding what I know. By redirecting it.</p><p>The stack I’m aiming at looks like this:</p><ul><li>ASP.NET Core</li><li>REST APIs</li><li>SQL and relational database design</li><li>Entity Framework Core</li><li>Automated testing</li><li>Docker</li><li>Azure</li><li>Distributed systems and event-driven architecture</li><li>Redis and caching strategy</li><li>CI/CD</li><li>LLM integration, RAG, vector search, and AI agents</li><li>Production operations and system design</li></ul><p>I’ve given myself six months. This article is the detailed plan I intend to follow — not a list of buzzwords to sprinkle on a résumé, but a sequence of phases, each one building the foundation the next one needs.</p><h3>1. Naming the Actual Gap</h3><p>The trap I want to avoid is thinking: <em>“I need to learn software engineering from scratch.”</em></p><p>I don’t. What I actually have is:</p><ul><li>Three years of C# in a real production codebase</li><li>Object-oriented design experience</li><li>Debugging discipline built from shipping desktop software</li><li>Familiarity with Git and team workflows</li><li>The general muscle of maintaining software other people depend on</li></ul><p>What I’m missing isn’t <em>engineering judgment</em> — it’s exposure to a different <strong>shape of system</strong>. WPF apps are single-process, stateful, UI-driven, and largely trust their own environment. Backend systems are stateless-by-default, multi-tenant, network-facing, and have to survive concurrency, partial failure, and scale.</p><p><strong>Where I am now:</strong></p><pre>My Current Skillset</pre><pre>                     C#<br>                      │<br>                      ▼<br>                    WPF<br>                      │<br>          ┌───────────┼───────────┐<br>          ▼           ▼           ▼<br>         XAML       MVVM      Desktop Apps</pre><p><strong>Where I’m going:</strong></p><pre>Target Skillset</pre><pre>                      C#<br>                       │<br>                       ▼<br>                 ASP.NET Core<br>                       │<br>          ┌────────────┼────────────┐<br>          ▼            ▼            ▼<br>        REST API     Database      Auth<br>          │            │            │<br>          └────────────┼────────────┘<br>                       ▼<br>                Cloud / Azure<br>                       │<br>          ┌────────────┼────────────┐<br>          ▼            ▼            ▼<br>       Messaging      Cache       Storage<br>          │<br>          ▼<br>   Distributed Systems<br>          │<br>          ▼<br>      AI / LLM / RAG<br>          │<br>          ▼<br>      AI Agents</pre><p>This is not a rebuild. It’s a new layer stacked on an existing foundation — but the layer is thick enough that it deserves a real plan, not a weekend of tutorials.</p><h3>2. The Six-Phase Strategy</h3><p>Phase Focus Main Goal Phase 1 Modern C# + ASP.NET Core Get fluent in backend development fundamentals Phase 2 SQL + EF Core Build real strength in data modeling and queries Phase 3 Production Engineering Make APIs that could actually survive production Phase 4 Azure + Distributed Systems Understand scalable, cloud-native architecture Phase 5 AI Engineering Build LLM, RAG, and agent-based applications Phase 6 Capstone + Interview Prep Prove everything in one serious, coherent system</p><p>The ordering matters more than the content list. I made myself three rules:</p><ol><li><strong>No Azure before I understand what an API actually does under load.</strong> Cloud services are just managed infrastructure for concepts I need to understand first.</li><li><strong>No distributed systems before basic backend systems are solid.</strong> Queues and event-driven design solve problems I need to have felt firsthand — otherwise they’re abstract trivia.</li><li><strong>No AI agents before APIs, databases, and async processing are second nature.</strong> Agents are software systems built <em>on top of</em> everything earlier in the stack, not a replacement for it.</li></ol><h3>Phase 1 — Modern C# and ASP.NET Core (Weeks 1–4)</h3><p>The first month isn’t about relearning C# syntax — I already know the language. It’s about learning to think like a <strong>backend developer</strong> instead of a <strong>desktop developer</strong>, where the caller isn’t a button click on the same machine but an anonymous HTTP request from somewhere else on the network.</p><h3>3. Modern C# Fundamentals, Properly Understood</h3><p><strong>Async programming.</strong> I already use async/await in WPF for keeping the UI thread responsive. In a backend service, the goal is completely different: it’s about not blocking a limited pool of worker threads while waiting on I/O (database calls, HTTP calls, disk access), so the server can serve many concurrent requests with a small number of threads.</p><pre>public async Task&lt;User&gt; GetUserAsync(<br>    int id,<br>    CancellationToken cancellationToken)<br>{<br>    return await repository.GetUserAsync(<br>        id,<br>        cancellationToken);<br>}</pre><p>I want to be able to answer, without hesitation:</p><ul><li>Does async spin up a new thread? <em>(No — it frees the current thread while waiting, and a thread-pool thread resumes the continuation.)</em></li><li>What is a Task actually representing? <em>(A promise of a future result plus its state machine.)</em></li><li>What happens to the request while the database call is in flight?</li><li>Why does CancellationToken matter at scale? <em>(A client that disconnects or a request that times out should stop consuming server resources — otherwise slow dependencies cascade into resource exhaustion.)</em></li><li>What’s the difference in behavior between Task and Task&lt;T&gt;, and between ValueTask and Task (and when the difference is worth caring about)?</li></ul><p>These aren’t academic — they’re the exact questions that separate “I copy-pasted async because the tutorial did” from “I understand why this server doesn’t fall over under load.”</p><h3>4. Dependency Injection, as a Concept — Not ASP.NET Boilerplate</h3><pre>Dependency<br>     ↓<br>Interface<br>     ↓<br>Implementation<br>     ↓<br>DI Container<br>     ↓<br>Consumer</pre><pre>public interface IUserService<br>{<br>    Task&lt;User?&gt; GetUserAsync(int id);<br>}</pre><pre>public class UserService : IUserService<br>{<br>    public async Task&lt;User?&gt; GetUserAsync(int id)<br>    {<br>        // business logic<br>    }<br>}</pre><pre>builder.Services.AddScoped&lt;IUserService, UserService&gt;();</pre><pre>public class UsersController : ControllerBase<br>{<br>    private readonly IUserService _userService;</pre><pre>    public UsersController(IUserService userService)<br>    {<br>        _userService = userService;<br>    }<br>}</pre><p>The part I want to actually internalize is <strong>lifetimes</strong> — Transient, Scoped, and Singleton — and <em>why</em> getting them wrong causes real bugs: a singleton accidentally holding a scoped DbContext will leak connections or serve stale data across unrelated requests. This is the kind of mistake that’s invisible in a demo and catastrophic in production.</p><h3>5. ASP.NET Core, End to End</h3><p>This is the core skill of the month. Topics to cover in depth:</p><ul><li>Project structure and hosting model</li><li>Controllers vs. Minimal APIs (and when each fits)</li><li>Routing and route constraints</li><li>Middleware pipeline and the order it executes in</li><li>Configuration (appsettings, environment variables, options pattern)</li><li>Structured logging</li><li>Model binding and validation (data annotations vs. FluentValidation)</li><li>Consistent error handling (ProblemDetails, global exception middleware)</li><li>HTTP status code discipline — not everything is 200 or 500</li><li>REST design principles (resource naming, idempotency of verbs, versioning)</li><li>Authentication and authorization basics</li></ul><p>Target surface area for the month:</p><pre>GET    /api/exercises<br>GET    /api/exercises/{id}<br>POST   /api/exercises<br>PUT    /api/exercises/{id}<br>DELETE /api/exercises/{id}</pre><h3>6. Project — Exercise API</h3><pre>React / React Native<br>        │<br>        ▼<br>ASP.NET Core API<br>        │<br>        ▼<br>In-Memory Data</pre><p>A simple domain is enough:</p><pre>Exercise<br>---------<br>Id<br>Name<br>Description<br>MuscleGroup<br>Difficulty<br>VideoUrl<br>Duration</pre><p>The point of this project isn’t the domain — it’s tracing the full request lifecycle by hand until it’s boring and obvious:</p><pre>HTTP Request<br>     ↓<br>Routing<br>     ↓<br>Controller<br>     ↓<br>Service<br>     ↓<br>Repository<br>     ↓<br>Response</pre><h3>Week-by-Week Breakdown</h3><ul><li><strong>Week 1:</strong> Async/await internals, DI, project setup, first controller-based endpoints.</li><li><strong>Week 2:</strong> Middleware pipeline, configuration, structured logging, model validation.</li><li><strong>Week 3:</strong> Error handling conventions, status codes, versioning, basic JWT authentication.</li><li><strong>Week 4:</strong> Finish the Exercise API, write a short design doc explaining every choice, and practice explaining the request lifecycle out loud.</li></ul><h3>Phase 1 Outcome</h3><p>By the end of Month 1, I should be able to:</p><ul><li>Write modern, idiomatic C# for services rather than UI code-behind</li><li>Explain async/await at the level of the thread pool, not just the syntax</li><li>Use dependency injection correctly, including lifetime pitfalls</li><li>Build a complete ASP.NET Core API without following a tutorial</li><li>Design REST endpoints, validate input, and handle errors consistently</li><li>Read and reason about HTTP itself, not just a framework’s abstraction of it</li></ul><p><strong>The test:</strong> <em>Can I build a backend API without a tutorial open in the other tab?</em> If yes, the month worked.</p><h3>Phase 2 — SQL, Database Design, and EF Core (Weeks 5–8)</h3><p>This is the phase I refuse to rush. A backend developer who treats the database as a black box hits a wall the moment the system has real data volume, and it’s usually invisible until it’s an incident.</p><h3>7. SQL, Properly</h3><p>I’ll pick one engine — <strong>PostgreSQL or SQL Server</strong> — and go deep rather than shallow across both.</p><pre>SELECT / INSERT / UPDATE / DELETE<br>JOIN / GROUP BY / HAVING / ORDER BY<br>Subqueries / CTEs / Window functions<br>Transactions / Isolation levels<br>Indexes / Constraints</pre><p>The real goal is understanding <em>how the database executes what I write</em> — reading an EXPLAIN / execution plan, recognizing a sequential scan where an index scan should occur, and understanding isolation levels (read committed, repeatable read, serializable) well enough to reason about race conditions between concurrent transactions.</p><h3>8. Database Design</h3><p>Take a concrete domain — an expert-matching platform:</p><pre>Experts<br>--------<br>Id<br>Name<br>Description<br>Location</pre><pre>Skills<br>------<br>Id<br>Name</pre><pre>ExpertSkills<br>------------<br>ExpertId<br>SkillId</pre><pre>Expert<br>  │<br>  └──&lt; ExpertSkills &gt;──┐<br>                       │<br>                       ▼<br>                     Skill</pre><p>Core concepts to be fluent in: primary/foreign keys, one-to-one, one-to-many, many-to-many relationships, normalization <em>and</em> the deliberate cases for denormalization, and constraints as a correctness tool, not paperwork.</p><h3>9. Indexes — Not “Just Add One”</h3><pre>Without an index:<br>Query → Scan millions of rows → Return result</pre><pre>With an index:<br>Query → Index lookup → Matching rows → Return result</pre><p>Indexes aren’t free — they cost storage, slow down writes, need maintenance, and a poorly chosen composite index can be worse than none at all. The skill worth building is diagnosing <em>why</em> a query is slow — checking the execution plan, checking selectivity, checking whether an existing index is even being used — instead of reflexively adding one and hoping.</p><h3>10. Entity Framework Core</h3><pre>var experts = await dbContext.Experts<br>    .Where(x =&gt; x.IsActive)<br>    .Select(x =&gt; new ExpertDto<br>    {<br>        Id = x.Id,<br>        Name = x.Name<br>    })<br>    .ToListAsync();</pre><p>Topics: DbContext and DbSet lifecycle, migrations, relationship configuration (fluent API vs. attributes), change tracking, AsNoTracking() for read paths, eager vs. explicit vs. lazy loading, projections, transactions, and optimistic concurrency (RowVersion).</p><p>The non-negotiable habit: for any non-trivial query, <strong>look at the generated SQL</strong>. EF Core is a translator, not magic, and trusting it blindly is how N+1 query bugs make it to production.</p><h3>11. Database Performance</h3><p>Patterns to be able to spot on sight:</p><ul><li>N+1 queries from lazy-loaded navigation properties</li><li>Unnecessary joins pulling in unused columns</li><li>Missing (or wrong) indexes</li><li>Over-fetching instead of projecting</li><li>Offset pagination collapsing under large datasets (vs. keyset/cursor pagination)</li><li>Change-tracking overhead on read-only queries</li></ul><pre>C# code → LINQ → EF Core → SQL → Query Planner → Database</pre><h3>Phase 2 Project</h3><pre>React<br>  ↓<br>ASP.NET Core<br>  ↓<br>EF Core<br>  ↓<br>PostgreSQL</pre><p>Extend the Exercise API with real persistence: migrations, relationships, pagination, filtering, sorting, indexing, and basic search.</p><h3>Week-by-Week Breakdown</h3><ul><li><strong>Week 5:</strong> Core SQL — joins, aggregation, subqueries, CTEs.</li><li><strong>Week 6:</strong> Schema design for the expert-matching domain, normalization decisions, constraints.</li><li><strong>Week 7:</strong> EF Core — migrations, relationships, querying, AsNoTracking, transactions.</li><li><strong>Week 8:</strong> Performance pass — hunt down and fix N+1s, add indexes with a reason attached to each one, benchmark before/after.</li></ul><h3>Phase 2 Outcome</h3><p>By the end of Month 2, I should be able to design a relational schema from a set of requirements, write SQL with confidence, use EF Core without fighting it, diagnose slow queries instead of guessing, and connect a real backend to a real database with transactions that actually protect data integrity.</p><h3>Phase 3 — Production-Grade Backend Engineering (Weeks 9–12)</h3><p>This phase reframes the question. Month 1 and 2 answered <em>“can I build an API?”</em> Month 3 answers:</p><blockquote><strong><em>“Can I build an API that survives production?”</em></strong></blockquote><h3>12. API Design for Real Traffic</h3><p>Pagination isn’t optional past a trivial dataset:</p><pre>GET /experts               ← returns 800,000 records, bad<br>GET /experts?page=1&amp;pageSize=20   ← better</pre><p>For high-volume or frequently-changing datasets, cursor-based pagination avoids the correctness problems offset pagination has when rows are inserted mid-scroll.</p><h3>13. Authentication and Authorization</h3><pre>Authentication = Who are you?<br>Authorization  = What are you allowed to do?</pre><p>Topics: JWTs and their claims, refresh token rotation, the shape of OAuth 2.0 and OpenID Connect (without needing to implement a provider from scratch), role-based and policy-based authorization, and claims-based identity.</p><h3>14. Caching</h3><pre>Request<br>   ↓<br>Redis<br>   ├── Cache hit  → return<br>   └── Cache miss → Database → Store in cache → Return</pre><p>Concepts to actually understand, not just name: cache-aside vs. write-through, TTL selection, invalidation strategy, staleness tolerance, distributed cache consistency, and <strong>cache stampede</strong> — what happens when a hot key expires and a thousand requests hit the database simultaneously, and how locking or jittered TTLs prevent it.</p><blockquote><em>There are only two hard things in Computer Science: cache invalidation and naming things.</em></blockquote><h3>15. Background Processing</h3><pre>Bad:<br>HTTP Request → Generate embedding → Call AI → Process 100 docs → HTTP Response</pre><pre>Better:<br>HTTP Request → Save request → Publish message → Return quickly<br>Message Queue → Worker → Long-running processing</pre><p>This is the on-ramp to event-driven architecture, and it’s also where I want to build real intuition for <strong>idempotency</strong> — a worker might process the same message twice, and the system needs to be correct either way.</p><h3>16. Testing, Properly Layered</h3><pre>Tests<br>                │<br>        ┌───────┼────────┐<br>        ▼       ▼        ▼<br>      Unit   Integration  API</pre><ul><li><strong>Unit tests</strong> — business logic in isolation, fast, no I/O.</li><li><strong>Integration tests</strong> — real database (e.g., via Testcontainers), verifying components work together.</li><li><strong>API tests</strong> — actual HTTP behavior, status codes, contracts.</li></ul><p>The goal isn’t a test count — it’s knowing <em>what deserves testing at which layer</em>, so a suite gives confidence instead of just ceremony.</p><h3>17. Docker</h3><p>Images, containers, Dockerfiles, volumes, networks, Docker Compose, and environment-based configuration — enough to run the whole stack locally with one command:</p><pre>Docker Compose<br>    │<br>    ├── ASP.NET Core<br>    ├── PostgreSQL<br>    └── Redis</pre><h3>18. CI/CD</h3><pre>Git Push → Build → Run Tests → Build Docker Image → Deploy → Monitor</pre><p>Understanding secrets management, environment-specific configuration, and deployment strategies (rolling, blue-green) matters more here than mastering any single CI vendor’s YAML dialect.</p><h3>Week-by-Week Breakdown</h3><ul><li><strong>Week 9:</strong> Pagination, filtering, rate limiting, JWT auth end-to-end.</li><li><strong>Week 10:</strong> Redis caching layer with a real cache-aside implementation and stampede protection.</li><li><strong>Week 11:</strong> Background jobs with a message queue, idempotent workers, unit + integration tests.</li><li><strong>Week 12:</strong> Dockerize the full stack, wire up a CI/CD pipeline that builds, tests, and deploys.</li></ul><h3>Phase 3 Outcome</h3><p>By the end of Month 3, the project includes authentication, a REST API, a real database, caching, background processing, automated tests, containerization, and a working CI/CD pipeline. This is the point where the project stops looking like a tutorial and starts looking like a system.</p><h3>Phase 4 — Azure and Distributed Systems (Weeks 13–16)</h3><p>Azure is listed as a nice-to-have for the target role, which makes it worth real investment — but the goal is architectural fluency, not memorizing the portal.</p><h3>19. Azure Fundamentals — By Purpose, Not by Name</h3><ul><li><strong>Compute:</strong> App Service, Container Apps, Azure Functions — when to choose managed hosting vs. containers vs. serverless</li><li><strong>Storage:</strong> Blob Storage, Azure SQL, Azure Database for PostgreSQL</li><li><strong>Messaging:</strong> Azure Service Bus</li><li><strong>Security:</strong> Key Vault, Microsoft Entra ID</li><li><strong>Observability:</strong> Application Insights, Azure Monitor</li></ul><p>The question to keep asking: <em>“Why would I choose this service over the alternative?”</em> — not <em>“can I recite the list?”</em></p><h3>20. Deployment Architecture</h3><pre>Internet<br>                    │<br>                    ▼<br>              Azure Service<br>                    │<br>                    ▼<br>             ASP.NET Core API<br>                    │<br>       ┌────────────┼────────────┐<br>       ▼            ▼            ▼<br>   PostgreSQL     Redis       Blob Storage</pre><h3>21. Distributed Systems Fundamentals</h3><p>Scalability, availability, reliability, latency vs. throughput, horizontal vs. vertical scaling, load balancing, retries with backoff, timeouts, circuit breakers, eventual consistency, and idempotency — the vocabulary and reasoning tools for talking about systems that don’t run on a single machine.</p><pre>API<br> │<br> ▼<br>Message Queue<br> │<br> ├── Worker 1<br> ├── Worker 2<br> └── Worker 3</pre><h3>22. Event-Driven Architecture</h3><pre>Synchronous:<br>A → B → C → D</pre><pre>Event-driven:<br>       Event<br>         │<br>   ┌─────┼─────┐<br>   ▼     ▼     ▼<br>  B      C     D</pre><pre>ExpertCreated<br>      │<br>      ├── Generate embedding<br>      ├── Update search index<br>      ├── Send notification<br>      └── Update analytics</pre><p>The value here is decoupling: the producer of an event doesn’t need to know or care what consumes it, which matters enormously once a system has more than one team or more than one downstream process.</p><h3>Week-by-Week Breakdown</h3><ul><li><strong>Week 13:</strong> Azure fundamentals, provision Postgres/Redis/Blob Storage in the cloud.</li><li><strong>Week 14:</strong> Deploy the containerized app to Azure Container Apps or App Service.</li><li><strong>Week 15:</strong> Add Service Bus, move background processing to a real managed queue.</li><li><strong>Week 16:</strong> Add retries, timeouts, and a circuit breaker (e.g., via Polly); write up the failure modes and how the system handles each.</li></ul><h3>Phase 4 Outcome</h3><p>By the end of Month 4, I should be comfortable discussing cloud deployment, containers, queues, caching at scale, observability, and event-driven design — not as an expert, but as someone who can hold their own in an architectural trade-off conversation.</p><h3>Phase 5 — AI Engineering (Weeks 17–20)</h3><p>This phase deliberately does <strong>not</strong> start with machine-learning mathematics. The goal is AI <em>application</em> engineering — building reliable software around a model, not training one.</p><h3>23. Understanding LLMs as a Building Block</h3><p>Tokens, context windows, temperature and sampling, structured output, tool/function calling, embeddings, vector search, hallucination, prompt design, evaluation, latency, and cost. The mental model: an LLM is a component with a contract, latency profile, and failure modes — like any other external dependency the backend already knows how to wrap.</p><h3>24. LLM Integration</h3><pre>Simple:<br>User → ASP.NET Core → LLM API → Response</pre><pre>Production:<br>User → API → Agent<br>              ├── Search Database<br>              ├── Search Documents<br>              ├── Call External API<br>              └── Ask LLM<br>                    ↓<br>                Final Answer</pre><p>This is exactly where backend engineering experience pays off — timeouts, retries, caching, and observability all still apply, just wrapped around a non-deterministic dependency instead of a deterministic one.</p><h3>25. Embeddings and Semantic Search</h3><p>A keyword search for &quot;automotive supply chain&quot; won’t match an expert profile that says:</p><blockquote><em>“Worked for 15 years optimizing procurement and logistics operations for Japanese automobile manufacturers.”</em></blockquote><p>There’s no shared keyword, but there’s clear semantic overlap. Embeddings solve this by representing text as vectors in a space where meaning determines proximity.</p><pre>Text → Embedding Model → Vector → Vector Database<br>User Query → Embedding → Similarity Search → Relevant Experts</pre><p>Worth understanding in depth: chunking strategy (how documents get split before embedding), embedding model choice and dimensionality, distance metrics (cosine vs. dot product), and hybrid search (combining keyword and vector search rather than relying on either alone).</p><h3>26. RAG (Retrieval-Augmented Generation)</h3><pre>User Question<br>      ↓<br>Create Query Embedding<br>      ↓<br>Vector Search<br>      ↓<br>Retrieve Relevant Information<br>      ↓<br>Send Context + Question to LLM<br>      ↓<br>Generate Answer</pre><p>The engineering-heavy parts that separate a demo from a production RAG system: chunk size and overlap tuning, reranking retrieved results before they reach the model, grounding answers with citations, and evaluating whether retrieval actually found the right context (separately from whether the final answer sounds good).</p><h3>27. AI Agents</h3><pre>User → Agent<br>        ↓<br>   Understand task<br>        ↓<br>   Choose tool<br>        ↓<br>   Execute tool<br>        ↓<br>   Analyze result<br>        ↓<br>   Choose next action<br>        ↓<br>   Final response</pre><p>Tools might look like:</p><pre>SearchExperts()<br>GetExpertProfile()<br>SearchDatabase()<br>GetCompanyInformation()<br>ScheduleInterview()</pre><p>The real engineering problems: tool reliability and validation, authorization scoping per tool, retries and timeouts around each tool call, hallucinated tool arguments, observability into multi-step agent traces, cost control (agents can loop and re-call the model many times per request), and evaluation — how do I know the agent is actually getting better, not just different?</p><blockquote><em>AI agents are not prompts. They are software systems, and every production concern from Phase 3 — retries, idempotency, observability, testing — still applies.</em></blockquote><h3>Phase 5 Project — AI Expert Matching System</h3><pre>Client<br>                     │<br>                     ▼<br>               ASP.NET Core<br>                     │<br>             ┌───────┴───────┐<br>             ▼               ▼<br>        PostgreSQL          AI Agent<br>                                 │<br>                   ┌─────────────┼─────────────┐<br>                   ▼             ▼             ▼<br>              Expert Search   Vector DB     LLM</pre><p>Query example: <em>“Find experts with experience in Japanese automotive supply chains and international procurement.”</em></p><pre>User Query → Embedding → Semantic Search → Candidate Experts<br>           → LLM / Agent → Ranking + Explanation → Response</pre><h3>Week-by-Week Breakdown</h3><ul><li><strong>Week 17:</strong> LLM fundamentals, first direct API integration, structured output, function calling.</li><li><strong>Week 18:</strong> Embeddings and a vector store; build semantic search over the expert dataset.</li><li><strong>Week 19:</strong> Full RAG pipeline with retrieval, reranking, and grounded answers.</li><li><strong>Week 20:</strong> A basic multi-tool agent with observability around every tool call and cost tracking.</li></ul><h3>Phase 5 Outcome</h3><p>By the end of Month 5, the expert-matching platform can take a natural-language query, retrieve semantically relevant candidates, and use an LLM/agent to rank and explain the matches — the exact shape of problem an AI-powered knowledge platform actually needs solved.</p><h3>Phase 6 — Capstone Project and Interview Preparation (Weeks 21–24)</h3><p>The final month shifts from <em>learning new things</em> to <em>proving what’s already been learned</em>.</p><h3>28. One Serious Project Beats Twenty Small Ones</h3><p>Instead of a GitHub profile full of:</p><pre>Todo App<br>Weather App<br>Calculator<br>CRUD App<br>Chat App</pre><p>I want one coherent, production-style system that demonstrates the entire stack at once.</p><h3>29. The Capstone — AI Expert Matching Platform</h3><p>Layer Choice Frontend React / TypeScript Backend ASP.NET Core Database PostgreSQL Cache Redis Storage Azure Blob Storage Messaging Azure Service Bus AI LLM, embeddings, RAG, AI agent Deployment Docker, Azure Observability Application Insights, logging, metrics, tracing</p><h3>30. Final System Architecture</h3><pre>React<br>                           │<br>                           ▼<br>                     ASP.NET Core<br>                           │<br>              ┌────────────┼────────────┐<br>              │            │            │<br>              ▼            ▼            ▼<br>          PostgreSQL     Redis       AI Agent<br>              │                         │<br>              │                  ┌──────┼──────┐<br>              │                  ▼      ▼      ▼<br>              │                LLM   Search  Tools<br>              │                         │<br>              │                         ▼<br>              │                    Vector DB<br>              │<br>              ▼<br>        Expert Profiles<br>                           │<br>                           ▼<br>                    Message Queue<br>                           │<br>                    ┌──────┴──────┐<br>                    ▼             ▼<br>                Worker 1      Worker 2<br>                    │             │<br>                    ▼             ▼<br>              Embeddings      Background Jobs</pre><h3>31. Production Features Checklist</h3><p><strong>Authentication:</strong> Google/OAuth, JWT/session management, roles and permissions<br> <strong>API:</strong> REST, validation, pagination, filtering, rate limiting<br> <strong>Database:</strong> PostgreSQL, indexes, relationships, transactions, optimized queries<br> <strong>Caching:</strong> Redis, cache-aside, TTL strategy<br> <strong>Async processing:</strong> message queue, background workers, idempotent handlers<br> <strong>AI:</strong> embeddings, semantic search, RAG, tool calling, agent workflow<br> <strong>DevOps:</strong> Docker, CI/CD, Azure deployment<br> <strong>Testing:</strong> unit, integration, API-level<br> <strong>Observability:</strong> structured logs, metrics, tracing, Application Insights</p><h3>32. System Design Interview Preparation</h3><p>Practice classic prompts, then the one closest to the target role:</p><ul><li><strong>Design a URL shortener</strong> — API, database, cache, scaling, unique ID generation, availability.</li><li><strong>Design a video platform</strong> — upload, storage, CDN, metadata, processing pipeline, streaming, scaling.</li><li><strong>Design an expert-matching platform (800,000 experts):</strong></li></ul><pre>800,000 experts → Search → Filtering → Semantic Search → Ranking → AI Matching</pre><p>Questions to be ready for:</p><ul><li>How would you index 800,000 experts efficiently?</li><li>SQL, Elasticsearch, or a vector database — and why, or why not all three?</li><li>How do you combine keyword and semantic search?</li><li>How would you cache popular searches without serving stale matches?</li><li>How would new expert profiles get embedded and indexed without blocking the write path?</li><li>How do you handle AI latency in a user-facing request?</li><li>What’s the fallback when the LLM is unavailable or rate-limited?</li><li>How would you monitor quality, not just uptime?</li><li>How would this scale to 8 million experts?</li></ul><h3>33. Interview Topics to Master</h3><p><strong>C#:</strong> async/await, Task, concurrency, LINQ, memory, generics, interfaces, SOLID, DI<br> <strong>ASP.NET Core:</strong> middleware, DI, auth, REST, validation, configuration, logging, API design<br> <strong>Databases:</strong> SQL, indexes, joins, transactions, normalization, isolation levels, query optimization, EF Core<br> <strong>Distributed Systems:</strong> queues, event-driven architecture, caching, retries, idempotency, eventual consistency, scalability<br> <strong>Cloud:</strong> Azure, containers, storage, databases, messaging, monitoring<br> <strong>AI:</strong> LLMs, embeddings, vector search, RAG, tool calling, agents, evaluation, latency/cost trade-offs</p><h3>34. The Non-Technical Requirement: Business-Level English and Japanese</h3><p>Technical skill alone doesn’t clear this bar. Every week needs dedicated time for:</p><p><strong>English:</strong> explaining architecture out loud, practicing system-design narration, writing technical documentation, mock interviews.<br> <strong>Japanese:</strong> technical vocabulary, engineering terminology, business communication, explaining trade-offs in meetings.</p><p>The actual target isn’t passing a language exam. It’s being able to say, clearly, to engineers <em>and</em> non-engineers:</p><blockquote><em>“I chose this architecture because…”</em></blockquote><p>— and have the reasoning land.</p><h3>35. Weekly Study Structure</h3><pre>Monday    → Theory + documentation<br>Tuesday   → Coding<br>Wednesday → Coding<br>Thursday  → Architecture / system design<br>Friday    → Project development<br>Saturday  → Deep project work + interview prep<br>Sunday    → Review + notes + rest</pre><p>Consistency matters more than the exact hours. The ratio that keeps this honest:</p><pre>30% Learning<br>70% Building</pre><h3>36. The Learning Loop</h3><pre>Learn → Build → Break → Debug → Read Docs → Improve → Explain</pre><p>The last step is the one that actually validates the rest. If I can’t explain <em>why Redis, and what happens when Redis goes down, and how TTL was chosen, and what cache stampede is</em> — I don’t understand Redis yet. I’m just using it.</p><h3>37. What to Deliberately Skip</h3><p>Six months is tight enough that scope discipline matters as much as effort. Explicitly out of scope:</p><ul><li>Every Azure service in existence</li><li>Advanced Kubernetes</li><li>Deep machine-learning mathematics or training models from scratch</li><li>Every frontend framework</li><li>Every .NET library</li><li>Breadth for breadth’s sake</li></ul><p>The target isn’t <em>“know everything.”</em> It’s:</p><blockquote><strong><em>Become a strong modern .NET backend engineer who can build AI-powered systems.</em></strong></blockquote><h3>The Transformation, End to End</h3><p><strong>Before:</strong></p><pre>3 Years Experience<br>       │<br>       ▼<br>      WPF<br>       │<br>       ▼<br>     C#</pre><p><strong>After six months:</strong></p><pre>C#<br>                │<br>                ▼<br>          ASP.NET Core<br>                │<br>       ┌────────┼────────┐<br>       ▼        ▼        ▼<br>      SQL      APIs     EF Core<br>       │        │        │<br>       └────────┼────────┘<br>                ▼<br>             Docker<br>                │<br>                ▼<br>              Azure<br>                │<br>       ┌────────┼────────┐<br>       ▼        ▼        ▼<br>     Redis    Queues   Storage<br>       │        │<br>       └────────┼────────┘<br>                ▼<br>       Distributed Systems<br>                │<br>                ▼<br>             AI / LLM<br>                │<br>       ┌────────┼────────┐<br>       ▼        ▼        ▼<br>     RAG    Embeddings  Agents<br>                │<br>                ▼<br>        Production System</pre><h3>The Real Goal</h3><p>The point of six months isn’t to be able to say <em>“I know Azure”</em> or <em>“I know AI.”</em> Those are trivia claims.</p><p>The actual goal is to be handed a problem like:</p><blockquote><em>“We have hundreds of thousands of expert profiles and need to find the most relevant experts for a customer’s business question.”</em></blockquote><p>— and work through it end to end, out loud, with reasoning at every step:</p><pre>Requirements<br>     ↓<br>Architecture<br>     ↓<br>Database Design<br>     ↓<br>API Design<br>     ↓<br>Search<br>     ↓<br>Caching<br>     ↓<br>Async Processing<br>     ↓<br>AI / RAG<br>     ↓<br>Deployment<br>     ↓<br>Monitoring<br>     ↓<br>Testing</pre><p>And be able to defend the trade-offs behind every single decision.</p><h3>Complete Six-Month Roadmap Summary</h3><p><strong>Month 1 — Modern C# + ASP.NET Core:</strong> async/await, DI, REST, HTTP, middleware, auth, validation → <em>Exercise API</em></p><p><strong>Month 2 — SQL + EF Core:</strong> SQL, joins, indexes, transactions, database design, EF Core, query optimization → <em>Exercise API + EF Core + PostgreSQL</em></p><p><strong>Month 3 — Production Engineering:</strong> API design, testing, Redis, auth, background jobs, Docker, CI/CD, logging → <em>Full containerized stack with tests and pipeline</em></p><p><strong>Month 4 — Azure + Distributed Systems:</strong> Azure, containers, queues, event-driven architecture, scalability, reliability, observability → <em>Deployed to Azure with a message queue and workers</em></p><p><strong>Month 5 — AI Engineering:</strong> LLMs, embeddings, vector search, RAG, tool calling, AI agents, evaluation, latency, cost → <em>AI-powered semantic search and agent</em></p><p><strong>Month 6 — Capstone + Interviews:</strong> Full AI Expert Matching Platform with every prior piece integrated, plus dedicated system design, technical interview, behavioral, and English/Japanese communication prep.</p><h3>Closing Thought</h3><p>Coming from WPF doesn’t mean starting a career over. Three years of shipping real software is not nothing — it’s the discipline, debugging instincts, and production awareness that a lot of backend-from-day-one engineers have to learn the hard way.</p><p>What actually changes is direction, not foundation:</p><blockquote><strong><em>C# → ASP.NET Core → SQL → Production Backend → Azure → Distributed Systems → AI Engineering</em></strong></blockquote><p>And the principle that matters more than any individual technology on this list:</p><blockquote><strong><em>Don’t learn technologies to put them on a résumé. Build systems that force you to actually understand them.</em></strong></blockquote><p>If six months from now I have one genuinely well-designed AI-powered backend system, understand <em>why</em> every architectural decision in it was made, and can explain that system clearly in an interview — in English and in Japanese — that’s a far more meaningful transition than a stack of finished online courses.</p><p>The goal was never to become an expert in six months.</p><p>It’s to become <strong>dangerous enough to keep growing</strong> as a modern backend and AI engineer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6ea56fe2966" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>