<?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 Priyam on Medium]]></title>
        <description><![CDATA[Stories by Priyam on Medium]]></description>
        <link>https://medium.com/@priyam.pr1208?source=rss-af6e451a7e53------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qLiezJSWXR5oFNbLtNTOWQ.jpeg</url>
            <title>Stories by Priyam on Medium</title>
            <link>https://medium.com/@priyam.pr1208?source=rss-af6e451a7e53------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:56:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@priyam.pr1208/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[Day 3: Client–Server Architecture]]></title>
            <link>https://medium.com/engineering-playbook/day-3-client-server-architecture-fdfa525fd264?source=rss-af6e451a7e53------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdfa525fd264</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[client-server-model]]></category>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Priyam]]></dc:creator>
            <pubDate>Sat, 10 Oct 2026 14:04:12 GMT</pubDate>
            <atom:updated>2026-10-10T14:04:12.278Z</atom:updated>
            <content:encoded><![CDATA[<p>Lets breakdown each word</p><ul><li>Client: The user facing system where user sends the requests, for eg. by clicking button “send”.</li><li>Server: The system which processes the requests which client sends and sends it to requested servers or database.</li></ul><h4>What is Client — Server Architecture?</h4><p>Client — server architecture is a computing model where multiple clients interacts with server. They communicate over a computer network (like the Internet) using a strict <strong>request-response cycle</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*3vkgQIVBZ68pKZO5YoM2xw.png" /></figure><h4>Client</h4><p>A client in a client-server architecture is a device, program, or software application that initiates communication by requesting services, data, or resources from a centralized server. The server component provides a function or service to one or many clients, which initiate requests for such services.</p><p>For example: Mobile apps, browsers, etc.</p><h4>Server</h4><p>A server is the system handling the client requests and then sending the required response. Servers are classified by the services they provide.</p><p>For example, a <a href="https://en.wikipedia.org/wiki/Web_server">web server</a> serves <a href="https://en.wikipedia.org/wiki/Web_page">web pages</a> and a <a href="https://en.wikipedia.org/wiki/File_server">file server</a> serves <a href="https://en.wikipedia.org/wiki/Computer_file">computer files</a>.</p><h4>How Client–Server Communication Works</h4><p>Client-Server communicates with each other with continuous request -response cycle</p><p>Client → Request → Server → Processing → Response → Client</p><ol><li>Request</li></ol><p>A client sends a request containing:</p><ul><li><strong>URL / Endpoint</strong> — where the request is going</li><li><strong>HTTP Method</strong> — GET, POST, PUT, PATCH, DELETE</li><li><strong>Headers</strong> — metadata such as Authorization, Content-Type</li><li><strong>Body</strong> — data sent to the server, usually for POST/PUT/PATCH</li></ul><p>2. Server Processing</p><p>The server:</p><ul><li>Receives the request</li><li>Authenticates/authorizes the client</li><li>Validates the input</li><li>Executes business logic</li><li>May interact with <strong>cache, database, or other services</strong></li></ul><p>3. Response</p><p>The server sends:</p><ul><li><strong>Status code</strong> — 2xx success, 4xx client error, 5xx server error</li><li><strong>Headers</strong> — metadata such as caching information</li><li><strong>Body</strong> — requested data/result, commonly JSON</li></ul><p>Common Communication Methods</p><ul><li><strong>REST APIs</strong> — Most common request-response communication.</li><li><strong>WebSockets</strong> — Real-time, two-way communication.</li><li><strong>SSE</strong> — Server continuously pushes updates to the client.</li><li><strong>gRPC</strong> — Commonly used for fast service-to-service communication.</li></ul><p>Key Concepts</p><ul><li><strong>HTTP vs HTTPS:</strong> HTTPS encrypts communication using TLS.</li><li><strong>Stateless communication:</strong> Each request contains the information required to process it, making horizontal scaling easier.</li><li><strong>Synchronous vs Asynchronous:</strong> In synchronous communication, the client waits for the response; asynchronous communication allows work to continue without waiting.</li></ul><h4>Types of Client–Server Architecture</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HdfRyhdgpNyBNuEZRxRRKA.png" /></figure><h4>Stateless vs Stateful Communication</h4><p><strong>Stateless communication </strong>means treating your current request as independent of any previous request whereas Stateful means remembering the previous transaction (state).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PErS5P4c9ex-G6grzHjtkw.png" /></figure><h4>Client–Server vs Peer-to-Peer</h4><p>client server means there will be a client node and a server node with separate functionality whereas in peer to peer all the nodes can work as client or server based on requirement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ti8BrtTC4hjOadADjxT5QA.png" /></figure><h4>Real — World Example:</h4><p>Let&#39;s take an example of an enquiry form. We go to a website and fill an enquiry form. We will give our name, email, etc. and complete the form. This is the request which went from our client i.e. the browser to the server. Server will receive your request. It will save your response in the database, and it will get back to us with the response i.e. form submitted, which will be seen in our browser.</p><p><strong>Flow:</strong></p><p>Browser (Client) → Request → Server → Database → Server → Response → Browser (Client)</p><p>This was the important client server architecture which covered almost everything in a brief manner. Stay tuned for day 4.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdfa525fd264" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-playbook/day-3-client-server-architecture-fdfa525fd264">Day 3: Client–Server Architecture</a> was originally published in <a href="https://medium.com/engineering-playbook">ProdRescue Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 2: Functional & Non-Functional Requirements]]></title>
            <link>https://medium.com/engineering-playbook/day-2-functional-non-functional-requirements-e2e8b64acf4c?source=rss-af6e451a7e53------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2e8b64acf4c</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Priyam]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 10:59:27 GMT</pubDate>
            <atom:updated>2026-09-29T10:59:27.271Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction:</h3><p>Whenever we are in a system design interview, one of the things we do after understanding the problem statement is to identify the functional and non-functional requirements.</p><p>But what are they?</p><p>Let’s try to understand them in simple words.</p><h3>The Idea:</h3><p><strong>Functional Requirements:</strong> What should the system do?</p><p>These describe the features and actions that the system must provide to its users.</p><p><strong>Non-Functional Requirements:</strong> How should the system do it?</p><p>These describe the quality attributes and constraints of the system, such as performance, scalability, availability and reliability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CTLUaLNThuYe01ZnvWff9Q.png" /><figcaption>Source: <a href="https://www.systemdesignhandbook.com/">systemdesignhandbook.com</a></figcaption></figure><h3>How It Works:</h3><p>Let&#39;s take an example of a food-delivery app:</p><p><strong>What will be the Functional requirements:</strong></p><ul><li>User can place an order.</li><li>User can track an order.</li><li>Restaurant can accept an order.</li></ul><p><strong>What will be the Non-functional requirements:</strong></p><ul><li>Order placement should be fast.</li><li>System should handle high traffic.</li><li>System should remain available even if a server fails.</li></ul><h3>Why It Matters</h3><p><strong>Functional Requirements </strong>tell us what we need to build.</p><p>For example:</p><ul><li>Users should be able to place and track orders.</li></ul><p><strong>Non-functional requirements</strong> tell us what constraints our system needs to satisfy while building those features.</p><p>For example:</p><ul><li>The system should support 100,000 requests per second with a response time of than 200 ms.</li></ul><p>A good non-functional requirement should be measurable whenever possible.</p><p>Instead of:</p><p>“The system should be fast.”</p><p>Prefer:</p><p>“95% of requests should receive a response, within 200 ms.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X3NQbG0oV76vauy4QtFzYA.png" /><figcaption>Source: <a href="https://www.systemdesignhandbook.com/">systemdesignhandbook.com</a></figcaption></figure><h3>Key Takeaways</h3><p>Functional = What the system does.</p><p>Non-functional = How well the system does it.</p><p>Functional requirements define the features.</p><p>Non-functional requirements influence the architecture and technology choices.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2e8b64acf4c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-playbook/day-2-functional-non-functional-requirements-e2e8b64acf4c">Day 2: Functional &amp; Non-Functional Requirements</a> was originally published in <a href="https://medium.com/engineering-playbook">ProdRescue Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DAY 1: System Design Fundamentals]]></title>
            <link>https://blog.stackademic.com/day-1-system-design-fundamentals-0d2b3ca47ff6?source=rss-af6e451a7e53------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d2b3ca47ff6</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <dc:creator><![CDATA[Priyam]]></dc:creator>
            <pubDate>Thu, 24 Sep 2026 01:58:06 GMT</pubDate>
            <atom:updated>2026-09-24T01:58:06.788Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Real-World Example</strong></p><p>Let’s say we want to build a food delivery application. There are multiple restaurants, millions of customers, and hundreds of delivery agents. How do we handle all of their requests, data, and operations?</p><p>This is where The System Design comes into play.</p><p><strong>What is System Design?</strong></p><p>The System Design refers to the design of the system/architecture of the application or software by describing the components, modules, and their relations.</p><p><strong>Why do we need System Design?</strong></p><p>As our system grows, we need to handle:</p><p>• More users</p><p>• More operations/data</p><p>• Dealing with failures</p><p>• Performance</p><p>• Availability</p><p><strong>What does a System contain?</strong></p><p>We have basically 4 components in a system:</p><p>1. Client: End-users which operate on the application</p><p>2. Server: Where actual logic runs</p><p>3. Database: Where data is stored and managed</p><p>4. Network: The medium through which communication happens</p><p><strong>A very simple example is given below:</strong></p><p>User</p><p>↓</p><p>Application Server</p><p>↓</p><p>Database</p><p><strong>But what if users start increasing?</strong></p><p>Instead of having one server, we can add multiple servers for handling more requests. This is how we can scale our system.</p><p><strong>What are the objectives of System Design?</strong></p><p>We need to design a system which:</p><p>• Scales: Handles large traffic/users/data</p><p>• Available: Our system should be accessible all the time</p><p>• Reliable: It should perform consistently even in the case of failures</p><p>• High Performance: It should be able to handle more operations</p><p>• Secured: Data should be safe</p><p><strong>HLD vs LLD — Quick Note</strong></p><p>HLD is a High Level Design which deals with the main components of the system design. Whereas LLD is a Low Level Design which deals with the detailed explanation of every component.</p><p><strong>What is System Design about?</strong></p><p>A lot of trade-offs. You can’t have everything. You need to choose the best possible solution according to your needs. In the example given below, for better performance, you need to spend more on servers.</p><p><strong>The next thing in our “Mastering System Design” series is:</strong></p><p>Client-Server → API → DNS → Load Balancer → Database → Caching → Queues → Distributed System → Microservices → Real World Case Studies</p><p>Stay Tuned 🚀</p><h3>Before you go</h3><ul><li>Please take a moment to like the post and follow the writer!</li><li>Did you know that over 400,000 developers share what they’re building, learning, and discovering across our platforms every month? Learn how you can contribute <a href="https://plainenglish.io/write-for-us"><strong>here</strong></a><strong>.</strong></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d2b3ca47ff6" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/day-1-system-design-fundamentals-0d2b3ca47ff6">DAY 1: System Design Fundamentals</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Word Vectorization in NLP: How Words Become Vectors]]></title>
            <link>https://medium.com/@priyam.pr1208/word-vectorization-in-nlp-how-words-become-vectors-69ff78c15811?source=rss-af6e451a7e53------2</link>
            <guid isPermaLink="false">https://medium.com/p/69ff78c15811</guid>
            <category><![CDATA[semantics]]></category>
            <category><![CDATA[embedding]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[vectorization]]></category>
            <dc:creator><![CDATA[Priyam]]></dc:creator>
            <pubDate>Sat, 05 Sep 2026 13:47:38 GMT</pubDate>
            <atom:updated>2026-09-05T13:47:38.049Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Question 1. What is Vectorization?</strong></p><p>Vectorization is the process of converting textual data into vectors(list of numbers) which the computer can process it.</p><p><strong>Question 2. Why do we need vectorization?</strong></p><ol><li>Computers do not understand the words which we use in our day to day life (Eg. Apple). So for the computers to process these raw strings and to perform arithmetic, optimization, and matrix operations, vectorization is needed.</li><li>It also improves the performance of various NLP tasks.</li></ol><ul><li><strong>Captures Context &amp; Synonyms:</strong> It mathematically connects related words (like “huge” and “large”), allowing models to understand meaning and intent rather than just matching exact keywords.</li><li><strong>Resolves Ambiguity:</strong> Modern vectors change based on surrounding text, helping models accurately distinguish between identical words with different meanings (like a financial “bank” vs. a river “bank”).</li><li><strong>Boosts Model Efficiency:</strong> It compresses text into compact, dense numerical formats, which dramatically speeds up training times and slashes data storage needs.</li></ul><p>3. Advanced vectorization captures relationships, contexts, and meanings, placing similar words close to each other in a multi-dimensional space (e.g., “king” and “queen”).</p><p><strong>Question 3. What are Core techniques of Vectorization?</strong></p><p>1. Traditional Statistical Methods (Frequency-Based)</p><p>These techniques rely on counting the occurrences of words. They result in <strong>sparse matrices</strong> (matrices containing mostly zeros) and do not understand the contextual meaning of words.</p><ul><li><strong>One-Hot Encoding</strong>: Assigns a unique binary vector to each word in the vocabulary. The vector size matches the total vocabulary length, with a single 1 at the word&#39;s index and 0 everywhere else.</li><li><strong>Bag of Words (BoW) / Count Vectorizer</strong>: Tracks how many times each word appears in a specific document. It groups words without considering order or grammar.</li><li><strong>TF-IDF (Term Frequency-Inverse Document Frequency)</strong>: Evaluates how important a word is to a document within a larger collection. It rewards words that appear often in one document but penalizes them if they appear across all documents (like “the” or “is”).</li></ul><p>2. Static Word Embeddings (Prediction-Based)</p><p>These methods train neural networks on massive text datasets to produce <strong>dense vectors</strong> (usually 100 to 300 dimensions). Words with similar meanings wind up close together in mathematical space.</p><ul><li><strong>Word2Vec</strong>: Uses a shallow neural network to learn word associations. It operates via two architectures:</li></ul><p><em>Continuous Bag of Words (CBOW)</em>: Predicts a target word based on its surrounding context words.</p><p><em>Skip-gram</em>: Predicts the surrounding context words based on a single target word.</p><ul><li><strong>GloVe (Global Vectors for Word Representation)</strong>: Combines global matrix factorization of the whole corpus with local context window statistics to map word similarities.</li><li><strong>FastText</strong>: An extension of Word2Vec developed by Facebook that breaks words down into smaller sub-words (n-grams). This allows it to handle misspelled words or terms it has never seen before.</li></ul><p>3. Contextual Embeddings (Transformer-Based)</p><p>The most advanced category, these models use deep neural networks to generate vectors dynamically. The vector for a word <strong>changes depending on the sentences surrounding it</strong> (e.g., the word “bank” gets a different vector in “river bank” than in “investment bank”).</p><ul><li><strong>BERT (Bidirectional Encoder Representations from Transformers)</strong>: Looks at context from both left-to-right and right-to-left simultaneously to build deeply contextualized vectors.</li><li><strong>GPT (Generative Pre-trained Transformer)</strong>: Learns text patterns sequentially (left-to-right) to generate powerful embeddings suited for text generation and reasoning.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2DvRhge-MJGubt6ZSMOKkg.png" /></figure><p>source: Gemini</p><p>Question 4. Where do we need Vectorization?</p><ul><li><strong>AI &amp; Machine Learning Projects:</strong> To convert text, images, and audio into numbers so algorithms can understand meaning, power search engines, and run models like chatbots.</li><li><strong>High-Performance Computing Projects:</strong> To eliminate slow for loops in data science, finance, gaming, and engineering, allowing computers to process millions of calculations simultaneously.</li></ul><p>I hope this article gave the basic idea of vectorization. If there’s anything I should cover or if you have any doubt , let me know in the comments.</p><p>#vectorization #NLP #computerScience</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69ff78c15811" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Distributed locks]]></title>
            <link>https://medium.com/@priyam.pr1208/distributed-locks-5a937057f4ee?source=rss-af6e451a7e53------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a937057f4ee</guid>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[distributed-locks]]></category>
            <category><![CDATA[interview-questions]]></category>
            <dc:creator><![CDATA[Priyam]]></dc:creator>
            <pubDate>Sun, 05 Jul 2026 16:50:28 GMT</pubDate>
            <atom:updated>2026-07-05T16:50:28.887Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Recently, while working on one of our backend services, I came across an interesting problem.</p><p>One of the service was deployed across multiple Kubernetes pods to handle traffic efficiently. Alongside serving requests, each pod was also running a scheduled background task.</p><p>The issue?</p><p>Every pod executed the exact same task.</p><p>If there were five pods running, the task was executed five times.</p><p>This resulted in duplicate processing, unnecessary database calls, increased load, and the possibility of inconsistent behavior.</p><p>That’s when I started exploring different approaches to ensure that <strong>only one pod performs the task while the others simply wait.</strong></p><p>This search led me to one of the most useful distributed system concepts I have learned recently:</p><p><strong>Distributed Locks.</strong></p><h3>The Problem</h3><p>Imagine this setup.</p><pre>Pod A  ---&gt; Executes Job A<br>Pod B  ---&gt; Executes Job A<br>Pod C  ---&gt; Executes Job A<br>Pod D  ---&gt; Executes Job A</pre><p>All pods wakes up at same time and start doing the same job.</p><p>Without coordination:</p><ul><li>duplicate processing happens</li><li>unnecessary API calls occur</li><li>database load increases</li><li>race conditions become possible</li></ul><p>Clearly, we needed a mechanism to elect exactly one worker.</p><h3>What is a Distributed Lock?</h3><p>A distributed lock is a synchronization mechanism that ensures only one instance of a distributed application can execute a critical section at any point in time.</p><p>The idea is simple:</p><pre>Pod A<br>    |<br>Acquire Lock<br>    |<br>Lock Granted<br>    |<br>Execute Task<br>    |<br>Release Lock</pre><pre>Pod B<br>    |<br>Acquire Lock<br>    |<br>Lock Already Exists<br>    |<br>Skip Execution</pre><p>Only one pod gets the lock.</p><p>Everyone else immediately exits.</p><h3>How can we implement it?</h3><p>There are multiple ways to implement distributed locks.</p><ul><li>Redis</li><li>ZooKeeper</li><li>etcd</li><li>Database row locking</li><li>Hazelcast</li></ul><p>For many microservice applications, Redis is the simplest and most popular option.</p><h3>How Redis Helps</h3><p>Redis is extremely fast because everything is stored in memory.</p><p>To acquire a lock, a pod simply tries to create a key.</p><pre>SET cleanup_lock worker-1 NX EX 60</pre><ul><li><strong>NX</strong> means create the key only if it doesn’t already exist.</li><li><strong>EX 60</strong> automatically expires the lock after 60 seconds.</li></ul><p>If the command succeeds,</p><p>the pod owns the lock.</p><p>Otherwise,</p><p>another pod is already processing the task.</p><h3>Execution FlowAll Pods Wake Up</h3><pre>All Pods wake up<br>        |<br>        ▼</pre><pre>Attempt Redis Lock</pre><pre>        |<br>        ├───────────────┐<br>        │               │<br>        ▼               ▼</pre><pre>Lock Acquired      Lock Exists</pre><pre>        │               │</pre><pre>Execute Job      Skip Execution</pre><pre>        │</pre><pre>Release Lock</pre><h3>Why Expiration Matters</h3><p>Imagine a pod crashes while holding the lock.</p><p>Without expiration, every other pod would wait forever.</p><p>That’s why Redis locks usually include a timeout.</p><p>If the owner crashes, the lock automatically disappears, allowing another pod to continue processing.</p><h3>Key Takeaways</h3><p>Distributed locks are extremely useful whenever multiple application instances compete to execute the same work.</p><p>Some common use cases include:</p><ul><li>Scheduled jobs</li><li>Payment processing</li><li>Inventory reservation</li><li>Order processing</li><li>Leader election</li><li>Preventing duplicate message consumption</li></ul><h3>Final Thoughts</h3><p>Before this project, I knew distributed locks only as an interview topic.</p><p>Working on a real production problem helped me understand why they’re so important in distributed systems.</p><p>The biggest lesson for me wasn’t just learning <strong>how</strong> distributed locks work — it was recognizing <strong>when</strong> they become necessary.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a937057f4ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top paid Women-in-tech programs (Part — 1)]]></title>
            <link>https://medium.com/@priyam.pr1208/top-paid-women-in-tech-programs-part-1-18603800355f?source=rss-af6e451a7e53------2</link>
            <guid isPermaLink="false">https://medium.com/p/18603800355f</guid>
            <category><![CDATA[women]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Priyam]]></dc:creator>
            <pubDate>Sat, 27 Jun 2026 16:59:15 GMT</pubDate>
            <atom:updated>2026-06-27T16:59:15.332Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Myntra WeForShe Hackerramp</h3><ul><li>One of India’s biggest women-only engineering hackathons.</li><li>Mentorship from Myntra engineers and PPI opportunities.</li><li><strong>Prize Pool:</strong> ₹5.25+ Lakhs.</li><li><strong>Perks:</strong> PPO/PPI opportunities, networking, swags.</li><li><strong>Timeline:</strong> Around june-july</li><li><strong>Eligibility:</strong> B.E./B.Tech Final and pre-final year female students.</li></ul><h3>2. Women Who Master (Aspire For Her × Logitech)</h3><ul><li>National-level innovation and hackathon competition for women.</li><li>Multiple rounds with mentorship and workshops.</li><li><strong>Prize Pool:</strong> ₹2.25 Lakhs.</li><li><strong>Perks:</strong> Networking with hiring teams and industry leaders.</li><li><strong>Timeline:</strong> Around june-july</li><li><strong>Eligibility:</strong> Female students enrolled in any undergraduate (B.Tech, BCA, B.Sc, BBA, BA, B.Com, etc.) or postgraduate (MBA, MCA, M.Tech, M.Sc, etc.) degree program</li></ul><h3>3. WitchHunt — Women in Technology Challenge</h3><ul><li>India’s largest women-led AI hackathon.</li><li>Focus areas: AI, Climate, Health, Smart Cities.</li><li><strong>Prize Pool:</strong> ₹19 Lakhs.</li><li><strong>Perks:</strong> Mentorship and community of 5,000+ women builders.</li><li><strong>Timeline:</strong> Around march.</li><li><strong>Eligibility:</strong> Open to college students, working professionals, and self-taught developers.</li></ul><h3>4. Walmart CodHers</h3><ul><li>National-level coding and hackathon competition exclusively for women.</li><li>Focus on problem solving and real-world applications.</li><li><strong>Prize Pool:</strong> Pre-placement opportunities.</li><li><strong>Perks:</strong> Certificates and networking opportunities.</li><li><strong>Timeline:</strong> Around march.</li><li><strong>Eligibility:</strong> Female engineering students.</li></ul><h3>5. DevQueens Hackathon</h3><ul><li>Women-only hackathon welcoming beginners and experienced developers.</li><li>Focus on collaboration and building real products.</li><li><strong>Prize Pool:</strong> ₹35,000.</li><li><strong>Perks:</strong> Mentorship and industry interaction.</li><li><strong>Timeline:</strong> Around April.</li><li><strong>Eligibility:</strong> Beginners and experienced female developers.</li></ul><h3>6. SheBuilds Chennai Hack</h3><ul><li>National-level women-in-tech hackathon.</li><li>Offers startup incubation and internship opportunities.</li><li><strong>Prize Pool:</strong> Varies by edition.</li><li><strong>Perks:</strong> Research publication and startup support.</li><li><strong>Timeline:</strong> Around may-june.</li><li><strong>Eligibility:</strong> Students, working professionals, freelancers, and aspiring entrepreneurs are all welcome.</li></ul><h3>7. Hack’Her’Thon</h3><ul><li>24-hour national hackathon exclusively for female engineering students.</li><li>Tracks include FinTech, HealthTech, and IoT.</li><li><strong>Prize Pool:</strong> ₹50,000.</li><li><strong>Perks:</strong> Recognition and industry exposure</li><li><strong>Timeline:</strong> Around march.</li><li><strong>Eligibility:</strong> Female College students only.</li></ul><p>This is Part 1 of my series on opportunities exclusively for women in tech.</p><p>In the next parts, I’ll cover:<br>• Women-only internships and hiring programs<br>• Global scholarships and conference grants<br>• More hackathons, fellowships, and hidden opportunities that most students don’t know about.</p><p>If you found this useful, consider following me on Medium so you don’t miss the upcoming parts. Feel free to share this article with someone who might benefit from it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*MRr5KJIP1YQA_wTTs6Y6SA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18603800355f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Multilingual AI Translation Microservice with Spring Boot and Redis]]></title>
            <link>https://medium.com/@priyam.pr1208/building-a-multilingual-ai-translation-microservice-with-spring-boot-and-redis-ca754065c7ee?source=rss-af6e451a7e53------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca754065c7ee</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <dc:creator><![CDATA[Priyam]]></dc:creator>
            <pubDate>Sun, 31 May 2026 17:46:00 GMT</pubDate>
            <atom:updated>2026-05-31T17:46:00.529Z</atom:updated>
            <content:encoded><![CDATA[<p>One thing I’ve always noticed in global teams is how language can silently become a communication barrier.</p><p>In companies today, teams are distributed across:</p><ul><li>different countries</li><li>different cultures</li><li>different native languages</li></ul><p>So I started thinking:</p><blockquote><em>What if chat applications could automatically translate conversations in real time?</em></blockquote><p>That idea eventually became a multilingual AI translation microservice.</p><p>The goal was simple:</p><ul><li>users type messages in their own language</li><li>recipients receive translations in their preferred language</li></ul><p>For example:</p><ul><li>English → Spanish</li><li>Spanish → Hindi</li><li>German → Mandarin</li></ul><p>The service was designed as a reusable backend API that could integrate with platforms like:</p><ul><li>WhatsApp</li><li>Microsoft Teams</li><li>Slack-like applications</li></ul><h3>Tech Stack</h3><p>The project was built using:</p><ul><li>Java</li><li>Spring Boot</li><li>Redis</li><li>Bucket4j</li><li>Lettuce</li><li>External AI translation APIs</li></ul><p>The focus was not just translation.</p><p>I wanted the service to feel production-ready.</p><h3>The Biggest Challenge: Duplicate API Calls</h3><p>Translation APIs are powerful, but they can also become expensive very quickly.</p><p>Imagine thousands of users repeatedly sending:</p><pre>Hello<br>Good Morning<br>Thank You</pre><p>Calling the external translation API every single time would:</p><ul><li>increase latency</li><li>increase infrastructure cost</li><li>waste API quota</li></ul><p>So I implemented Redis caching with a 24-hour TTL.</p><p>Now:</p><ul><li>repeated translations are fetched directly from Redis</li><li>response time becomes much faster</li><li>duplicate API calls reduce significantly</li></ul><p>This reduced external translation requests by nearly 70%.</p><h3>Adding Rate Limiting</h3><p>Another important challenge was API abuse prevention.</p><p>During testing, I discovered how easily systems can become overloaded through excessive requests.</p><p>To solve this, I implemented rate limiting using:</p><ul><li>Bucket4j</li><li>Redis</li><li>Token Bucket algorithm</li></ul><p>This helped:</p><ul><li>prevent misuse</li><li>stabilize traffic</li><li>improve reliability</li><li>protect external API quotas</li></ul><h3>Why I Loved Building This</h3><p>This project was not just about translation.</p><p>It helped me understand:</p><ul><li>caching</li><li>distributed systems concepts</li><li>API protection</li><li>scalability</li><li>backend optimization</li></ul><p>More importantly, it showed me how backend engineering decisions directly impact:</p><ul><li>cost</li><li>performance</li><li>user experience</li></ul><p>And that’s what made the project genuinely exciting to work on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca754065c7ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Understood Rate Limiting Only After My API Started Failing]]></title>
            <link>https://medium.com/@priyam.pr1208/i-understood-rate-limiting-only-after-my-api-started-failing-adace5cd728a?source=rss-af6e451a7e53------2</link>
            <guid isPermaLink="false">https://medium.com/p/adace5cd728a</guid>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Priyam]]></dc:creator>
            <pubDate>Thu, 28 May 2026 18:38:05 GMT</pubDate>
            <atom:updated>2026-05-28T18:38:05.053Z</atom:updated>
            <content:encoded><![CDATA[<p>While building an AI-powered translation microservice, I ran into a problem that initially made no sense to me.</p><p>Everything was working perfectly.</p><p>I had:</p><ul><li>a Spring Boot backend</li><li>Redis caching</li><li>external AI translation API integration</li><li>multilingual translation support</li></ul><p>The idea was simple:</p><p>If a user writes in English, another user should receive the message in their native language.</p><p>For example:</p><ul><li>English → Spanish</li><li>Spanish → Hindi</li><li>German → Mandarin</li></ul><p>The service was designed so it could eventually integrate with chat applications like WhatsApp or Microsoft Teams.</p><p>And during development, things were going smoothly. Until suddenly they weren’t.</p><h3>The Moment Everything Broke</h3><p>While testing the translation API, I continuously sent around 20 requests.</p><p>Then the 21st request failed and I was getting 429.</p><p>At first, I thought:</p><ul><li>maybe my backend had crashed</li><li>maybe Redis was failing</li><li>maybe the external API was down</li></ul><p>But after searching the error online, I discovered something important:</p><p><em>The API was rate limiting me.</em></p><p>And that was the moment I truly understood what rate limiting actually means in real systems.</p><h3>What Is Rate Limiting?</h3><p>Rate limiting is basically a protection mechanism.</p><p>It prevents:</p><ul><li>abuse</li><li>spam</li><li>server overload</li><li>accidental traffic spikes</li></ul><p>Without rate limiting, someone could send:</p><ul><li>thousands of requests per second</li><li>automated bot traffic</li><li>malicious API attacks</li></ul><p>Which could:</p><ul><li>crash servers</li><li>increase infrastructure costs</li><li>overload databases</li><li>slow down applications for everyone</li></ul><p>So APIs enforce limits like:</p><pre>20 requests per minute<br>100 requests per hour<br>1000 requests per day</pre><p>Once you exceed the limit:</p><ul><li>requests get blocked</li><li>you receive HTTP 429 errors</li><li>or the API temporarily rejects traffic</li></ul><h3>The Problem With Fixed Window Rate Limiting</h3><p>Initially, many systems used something called Fixed Window limiting.</p><p>Example:</p><ul><li>20 requests per minute</li></ul><p>Sounds fine. But there’s a problem.</p><p>Imagine a user sends:</p><ul><li>20 requests at 1:59 PM</li><li>another 20 requests at 2:00 PM</li></ul><p>Technically:</p><ul><li>both are different windows</li><li>but practically the server just received 40 requests within seconds</li></ul><p>That creates traffic spikes.</p><p>And that’s where smarter algorithms became important.</p><h3>Token Bucket: The Algorithm That Finally Clicked</h3><p>One of the most popular rate limiting algorithms is the Token Bucket algorithm.</p><p>The easiest way to imagine it is:</p><pre>A bucket contains tokens.<br>Each API request consumes one token.<br>If tokens are available → request succeeds.<br>If bucket becomes empty → requests are rejected.</pre><p>Then over time, the bucket slowly refills.</p><p>For example:</p><ul><li>bucket size = 100 tokens</li><li>refill rate = 10 tokens/second</li></ul><p>This allows:</p><ul><li>controlled bursts</li><li>smoother traffic handling</li><li>better resource protection</li></ul><p>And honestly?</p><p>This was one of those moments where backend engineering concepts finally started feeling real to me.</p><h3>Implementing It in My Project</h3><p>To make the service production-friendly, I added:</p><ul><li>Redis caching</li><li>Bucket4j for rate limiting</li><li>Lettuce Redis client</li><li>Spring Boot REST APIs</li></ul><p>Redis caching reduced duplicate translation calls significantly.</p><p>If the same message was translated recently:</p><ul><li>the response came directly from cache</li><li>external API calls reduced</li><li>latency improved</li><li>infrastructure cost reduced</li></ul><p>Then Bucket4j helped protect the service from abuse and traffic spikes.</p><p>Together, they made the microservice:</p><ul><li>faster</li><li>cheaper</li><li>more scalable</li><li>more reliable</li></ul><h3>The Bigger Realization</h3><p>In tutorials, backend concepts often feel abstract.</p><p>But when your own application suddenly starts failing because of request limits, the learning becomes very real.</p><p>That project taught me:</p><ul><li>why caching matters</li><li>why rate limiting exists</li><li>how production systems protect themselves</li><li>why scalability is more than just writing APIs</li></ul><p>And honestly, I’ll probably never forget rate limiting now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adace5cd728a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From DSA DAGs to Real-World DAGs in Airflow: The Moment It Finally Clicked]]></title>
            <link>https://medium.com/@priyam.pr1208/from-dsa-dags-to-real-world-dags-in-airflow-the-moment-it-finally-clicked-47e16fc06305?source=rss-af6e451a7e53------2</link>
            <guid isPermaLink="false">https://medium.com/p/47e16fc06305</guid>
            <category><![CDATA[dag]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[directed-acyclic-graph]]></category>
            <dc:creator><![CDATA[Priyam]]></dc:creator>
            <pubDate>Thu, 28 May 2026 18:07:35 GMT</pubDate>
            <atom:updated>2026-05-28T18:07:35.605Z</atom:updated>
            <content:encoded><![CDATA[<p>When I first heard the term <strong>DAG</strong>, I immediately connected it to DSA problems.</p><p>You know the classic definition:</p><p><em>Directed Acyclic Graph — a graph with directed edges and no cycles.</em></p><p>I had solved multiple graph problems around DAGs:</p><ul><li>Topological Sorting</li><li>Course Schedule</li><li>Dependency Resolution</li><li>Shortest Path in DAG</li></ul><p>But honestly?</p><p>I never understood where DAGs were actually used in the real world. That changed when I started exploring Apache Airflow. And suddenly, DAGs stopped being just interview concepts. They became real systems running real workflows.</p><h3>What Exactly Is a DAG in Airflow?</h3><p>In Airflow, a DAG represents a workflow.</p><p>A workflow can contain:</p><ul><li>Data pipelines</li><li>ETL jobs</li><li>API calls</li><li>Database operations</li><li>ML tasks</li><li>Notifications</li><li>Scheduled automation</li></ul><p>Each task depends on another task.</p><p>For example:</p><pre>Fetch Data → Clean Data → Transform Data → Store Data</pre><p>This flow is a Directed Acyclic Graph because:</p><ul><li>The direction matters</li><li>Tasks execute in order</li><li>No task loops back to itself</li></ul><p>That “no cycle” rule is extremely important. Because if:</p><pre>A → B → C → A</pre><p>the workflow would run forever.</p><h3>The Best Part: Scheduling</h3><p>This is where Airflow became genuinely interesting to me. Before learning Airflow, I used to think:</p><blockquote><em>“Someone probably triggers these jobs manually.”</em></blockquote><p>But Airflow automates everything.</p><p>Using cron expressions, we can schedule workflows like:</p><ul><li>Every day at 2 AM</li><li>Every Monday</li><li>Every 5 minutes</li><li>First day of every month</li></ul><p>Example:</p><pre>schedule_interval = &quot;0 2 * * *&quot; -&gt; cron expression</pre><p>This means:</p><blockquote><em>Run every day at 2 AM.</em></blockquote><p>And that’s powerful. Because now:</p><ul><li>Nobody needs to manually trigger jobs</li><li>Pipelines become reliable</li><li>Workflows become repeatable</li></ul><h3>Writing an Airflow DAG</h3><p>A DAG in Airflow usually contains:</p><h3>1. DAG Definition</h3><p>We define:</p><ul><li>DAG name</li><li>Start date</li><li>Schedule</li><li>Retry behavior</li></ul><h3>2. Tasks</h3><p>These are individual units of work.</p><p>For example:</p><ul><li>Python task</li><li>Bash task</li><li>Database task</li><li>API task</li></ul><h3>3. Dependencies</h3><p>This is the most interesting part.</p><p>At the end, we define:</p><pre>task1 &gt;&gt; task2 &gt;&gt; task3</pre><p>Which means:</p><pre>task1 runs first<br>then task2<br>then task3</pre><p>This is literally a DAG structure in action.</p><h3>Airflow UI Makes Everything Visual</h3><p>Once the DAG is deployed, Airflow provides an amazing UI.</p><p>You can:</p><ul><li>Trigger DAGs manually</li><li>Pause/resume schedules</li><li>Monitor failures</li><li>Retry tasks</li><li>View logs</li><li>Visualize task dependencies</li></ul><p>This was probably the moment when the entire concept finally clicked for me. I could actually SEE the graph running. Not just solve it on paper.</p><h3>Variables and Dynamic Scheduling</h3><p>Another cool thing is Airflow Variables.</p><p>You can store:</p><ul><li>API keys</li><li>Environment configs</li><li>Runtime values</li><li>Dynamic parameters</li></ul><p>This makes DAGs reusable and configurable.</p><p>Instead of hardcoding everything, workflows become flexible.</p><h3>The Biggest Realization</h3><p>In DSA, DAGs felt theoretical.In Airflow, DAGs became operational systems.That transition was honestly eye-opening for me.</p><p>Now whenever I see:</p><ul><li>dependency graphs</li><li>task orchestration</li><li>workflow pipelines</li></ul><p>I immediately connect them to DAGs. And suddenly those DSA concepts feel much more meaningful.</p><h3>Final Thoughts</h3><p>Sometimes we learn concepts just to clear interviews. But tools like Airflow show why those concepts actually matter. DAGs are not just graph problems anymore. They power real automation systems used in production every single day. And for me, Airflow was the bridge between:</p><p><em>“learning a concept” and “understanding why it exists.”</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47e16fc06305" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In-Place Sorting Question — Asked in Multiple Product-Based Company Interviews]]></title>
            <link>https://medium.com/@priyam.pr1208/in-place-sorting-question-asked-in-multiple-product-based-company-interviews-8582d7c9df13?source=rss-af6e451a7e53------2</link>
            <guid isPermaLink="false">https://medium.com/p/8582d7c9df13</guid>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[Priyam]]></dc:creator>
            <pubDate>Thu, 05 Feb 2026 12:41:24 GMT</pubDate>
            <atom:updated>2026-02-05T12:41:24.987Z</atom:updated>
            <content:encoded><![CDATA[<h3>In-Place Sorting Question — Asked in Multiple Product-Based Company Interviews</h3><p>While interviewing with <strong>2–3 product-based companies</strong>, I noticed a common pattern in the DSA rounds — <strong>in-place sorting</strong> was asked repeatedly, either directly or indirectly.</p><p>At first, the question looked simple, but as the discussion progressed, I realized that interviewers were more interested in <strong>how I think about space optimization</strong> rather than just sorting the array.</p><h3>My Interview Experience</h3><p>In one of the interviews, the interviewer gave me an unsorted array and asked:</p><blockquote><em>“Can you sort this array without using any extra space?”</em></blockquote><p>In another interview, the problem was slightly modified — I was asked to sort an array containing only <strong>0s, 1s, and 2s</strong>, but again with the constraint that the sorting must be <strong>in-place</strong>.</p><p>Across different companies, the core requirement remained the same:</p><ul><li>Do not use an extra array</li><li>Modify the input array itself</li><li>Keep auxiliary space to <strong>O(1)</strong></li></ul><h3>What the Interviewer Was Actually Testing</h3><p>Through these interviews, I realized that the question was not about memorizing sorting algorithms. Instead, the interviewer wanted to check:</p><ul><li>Whether I clearly understand what <strong>in-place</strong> means</li><li>If I can select the <strong>right algorithm based on constraints</strong></li><li>How well I explain <strong>time and space complexity</strong></li><li>My ability to handle edge cases</li></ul><h3>Approaches I Discussed</h3><h4>1. Simple In-Place Algorithms</h4><p>Initially, I explained <strong>Bubble Sort / Selection Sort</strong>, since they are naturally in-place and easy to reason about.</p><p>However, I also mentioned their drawback:</p><ul><li>Time Complexity: <strong>O(n²)</strong></li><li>Not suitable for large inputs</li></ul><p>This helped set the base, but the interviewer expected something more optimized.</p><h4>2. Dutch National Flag Algorithm</h4><p>When the array contained only <strong>0s, 1s, and 2s</strong>, the expected solution was the <strong>Dutch National Flag Algorithm</strong>.</p><p>I explained how it:</p><ul><li>Works in a <strong>single pass</strong></li><li>Uses <strong>three pointers</strong></li><li>Sorts the array <strong>in-place</strong></li><li>Has <strong>O(n)</strong> time and <strong>O(1)</strong> space complexity</li></ul><p>This approach was well received in multiple interviews.</p><h3>Key Takeaways From These Interviews</h3><p>After facing this question multiple times, I learned that:</p><ul><li>In-place sorting questions are very common in <strong>product-based companies</strong></li><li>Interviewers care deeply about <strong>space efficiency</strong></li><li>Explaining the <strong>reasoning</strong> is as important as writing the code</li></ul><p>A simple-looking question can quickly turn into a discussion about <strong>optimization and trade-offs</strong>.</p><h3>Conclusion</h3><p>If you are preparing for product-based company interviews, I would strongly recommend:</p><ul><li>Practicing in-place sorting algorithms</li><li>Understanding when and why to use them</li><li>Being comfortable explaining your approach clearly</li></ul><p>From my experience, <strong>in-place sorting is a favourite interview topic</strong>, and being prepared for it can make a big difference.</p><p>#interviewQuestions #interviewexperience</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8582d7c9df13" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>