<?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 Abhishek Gupta on Medium]]></title>
        <description><![CDATA[Stories by Abhishek Gupta on Medium]]></description>
        <link>https://medium.com/@abhi18632?source=rss-6e34f36bcbe1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AmM1C2vhd0voSKMAWBtmTw.jpeg</url>
            <title>Stories by Abhishek Gupta on Medium</title>
            <link>https://medium.com/@abhi18632?source=rss-6e34f36bcbe1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 05:48:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abhi18632/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[Transaction Isolation [Updated]]]></title>
            <link>https://medium.com/@abhi18632/transaction-isolation-updated-eef62fb2c5bf?source=rss-6e34f36bcbe1------2</link>
            <guid isPermaLink="false">https://medium.com/p/eef62fb2c5bf</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[transactions]]></category>
            <category><![CDATA[concurrency]]></category>
            <category><![CDATA[postgres]]></category>
            <category><![CDATA[isolation-level]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Sat, 03 Aug 2024 23:29:37 GMT</pubDate>
            <atom:updated>2024-08-03T23:30:01.782Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*W5LBItW_mSddV3ob.png" /></figure><p>A <strong>database transaction</strong> is a sequence of operations performed as a single logical unit of work within a database. Transactional database systems allow different isolation levels.</p><p>An <strong>isolation level</strong> specifies how and when parts of the transaction can and should become visible to other transactions. In simple words, isolation levels describe the degree to which transactions are isolated from other concurrently executing transactions, and what kinds of anomalies can be encountered during execution.</p><p><strong>Complete Transaction isolation</strong> means that the actions of one transaction do not interfere with those of others. Different levels of isolation provide varying degrees of separation between transactions. Achieving isolation typically requires extra coordination and synchronization, which can slow down database performance.</p><h3><strong>Anomalies in Database Transactions</strong></h3><p>When transactions are not properly isolated, several types of anomalies can occur:</p><ol><li>Read Anomalies :-</li></ol><ul><li><strong>Dirty Read</strong>: This happens when a transaction reads data that has been modified by another transaction but not yet committed. For example, if Transaction T1 changes a user’s address and Transaction T2 reads this new address before T1 commits and T1 then rolls back, T2 has read a value that never existed in the final database state.</li><li><strong>Non-repeatable Read</strong>: Also known as a fuzzy read, this occurs when a transaction queries the same row twice and gets different results. For example, this can happen if transaction T1 reads a row, then transaction T2 modifies it and commits this change. If T1 requests the same row again before finishing its execution, the result will differ from the previous run.</li><li><strong>Phantom Read:</strong> If we use range reads during the transaction (i.e. read not a single data record, but a range of records), we might see phantom records. A phantom read is when a transaction queries the same set of rows twice and receives different results. It is similar to a non-repeatable read, but holds for range queries. A phantom read occurs when a transaction reads a set of rows that match a certain condition, but another transaction inserts, deletes or updates rows such that the set of rows matching the condition changes before the first transaction completes.<br>If T1 queries a range of data, and T2 inserts a new row that matches the query range, T1 will see different results when it queries the range again.</li></ul><p>2. Write Anomalies :-</p><ul><li><strong>Lost Update</strong>: This happens when two transactions read a value, modify it, and then write it back. If both transactions write their changes, the update from the first transaction can be lost. For example, when transactions T1 and T2 both attempt to update the value of V. T1 and T2 read the value of V. T1 updates V and commits, and T2 updates V after that and commits as well. Since the transactions are not aware about each other’s existence, if both of them are allowed to commit, the results of T1 will be overwritten by the results of T2 , and the update from T1 will be lost.</li><li><strong>Dirty Write</strong>: Similar to a dirty read, this occurs when a transaction writes data that another transaction has written but not yet committed. This can lead to inconsistencies if the first transaction rolls back. For example, T1 does a dirty read from T2 and writes it to the database and later T2 roll back.</li><li><strong>Write Skew: </strong>This anomaly occurs when transactions modify different pieces of data in a way that, although each transaction respects individual constraints, the combined result violates a global constraint. For instance, if T1 and T2 both withdraw funds from two accounts, each assuming there are sufficient funds, they could both commit even if the total withdrawal exceeds the available balance. For example, transactions T1 and T2 modify values of two accounts A1 and A2 . A1 starts with 100 Rs and A2 starts with 150 Rs. The account value is allowed to be negative, as long as the sum of the two accounts is nonnegative: A1 + A2 &gt;= 0. T1 and T2 each attempt to withdraw 200 Rs from A1 and A2 , respectively. Since at the time these transactions start A1 + A2 = 250 Rs, 250 Rs is available in total. Both transactions assume they’re preserving the invariant and are allowed to commit. After the commit, A1 has -100 Rs and A2 has -50 Rs, which clearly violates the requirement to keep a sum of the accounts positive.</li></ul><h3><strong>Isolation Levels</strong></h3><p><strong>Read Uncommitted</strong>:-<br>The lowest (in other words, weakest) isolation level is read uncommitted. Under this isolation level, the transactional system allows one transaction to observe uncommitted changes of other concurrent transactions. In other words, dirty reads are allowed.</p><blockquote>Example<strong>:-</strong><br>Transaction T1: Updates a product price from Rs 100 to Rs 120 but hasn’t committed the change yet.<br>Transaction T2: Reads the product price while T1 is still running.</blockquote><blockquote>Outcome:<br>T2 can see the price as Rs 120, even though T1 hasn’t committed. If T1 later rolls back, T2 would have read a “dirty” value that was never actually committed.</blockquote><blockquote>Anomalies Allowed:-<br>Dirty reads, non-repeatable reads and phantom reads.</blockquote><p><strong>Read Committed:-<br></strong> Here, we can make sure that any read performed by the specific transaction can only read already committed changes. However, it is not guaranteed that if the transaction attempts to read the same data record once again at a later stage, it will see the same value. <br>If there was a committed modification between two reads, two queries in the same transaction would yield different results. This means, the data read by the transaction can change between two reads because other transactions can update and commit changes to the data. In other words, dirty reads are not permitted, but phantom and nonrepeatable reads are.</p><blockquote>Example:-<br>Transaction T1: Commits a change in the product price from Rs 100 to Rs 120.<br>Transaction T2: Reads the product price.</blockquote><blockquote>Outcome:-<br>T2 will only see the committed value of Rs 120. However, if T2 reads the price twice, it might see different values if T1 commits a change between T2’s reads.</blockquote><blockquote>Anomalies Prevented:-<br>Dirty reads are prevented because T2 cannot see uncommitted changes.</blockquote><blockquote>Anomalies Allowed:-<br>Nonrepeatable reads and phantom reads are still possible.</blockquote><p><em>PostgreSQL does not allow the “read uncommitted” isolation level. In PostgreSQL, the lowest isolation level you can use is “read committed” which is the default one. Mysql provides more flexibility in choosing isolation levels, including “read uncommitted,” to cater to scenarios where performance and concurrency might be prioritized over strict data consistency. Higher isolation levels often come with increased overhead and can impact performance.</em></p><p><strong>Repeatable Read:- <br></strong>This isolation level, which builds on Read Committed, prevents non-repeatable reads by ensuring that if a transaction reads a value, subsequent reads within the same transaction will return the same value. However, it can add overhead for managing this much of consistency. Also, it still allows phantom reads, where new rows can be added or existing rows removed between reads.</p><blockquote>Example :-<br>Transaction T1: Reads the quantity of a product (say, 10 units) and performs some calculations. T1 intends to read the quantity again later.<br>Transaction T2: Updates the quantity of the same product to 15 units and commits.</blockquote><blockquote>Outcome:-<br>If T1 reads the quantity again, it will still see 10 units, not 15, as T1’s initial read is protected. T1 can only see changes made before it started.</blockquote><blockquote>Anomalies Prevented:-<br>Dirty reads and nonrepeatable reads.</blockquote><blockquote>Anomalies Allowed:-<br>Phantom reads are still possible. For example, if T1 reads a set of rows, and T2 inserts a new row matching T1’s query criteria, T1 might not see this new row.</blockquote><p><strong>Serializable</strong>:-<br>Serialization isolation is the strictest level of database protection. It makes sure that transactions act as if they are happening one after another, even if they’re actually running at the same time. This means no transaction will mess up another, and the results will be consistent and reliable. However, this level can slow down the system performance because it needs to carefully manage and coordinate transactions to avoid any conflicts.</p><p>Transactions that do not have dependencies can be executed in any order since their results are fully independent. If we don’t allow independent transactions to run at the same time (i.e., if we require them to be executed one after another), the database performance would drop significantly. Instead, transactions can run at the same time if they don’t interfere with each other. However, the results should still look like they happened one after another, even if they actually ran at the same time.</p><blockquote>Example:-<br>Transaction T1: Queries all products with a price below Rs 100.<br>Transaction T2: Inserts a new product with a price of Rs 80.</blockquote><blockquote>Outcome:-<br>Under the serializable level, T2 must wait until T1 finishes. Therefore, T1’s results will always be consistent, as if it were executed in isolation. If T1 were to query the products again, it wouldn’t miss the new product because T2’s changes wouldn’t be visible until T1 completes.</blockquote><blockquote>Anomalies Prevented:-<br>Dirty reads, nonrepeatable reads, and phantom reads. This level provides the highest consistency by ensuring transactions are executed as if in a strict sequence.</blockquote><p><strong>Snapshot Isolation:-<br></strong>In snapshot isolation, a transaction can observe the state changes performed by all transactions that were committed by the time it has started. <br>Snapshot isolation provides each transaction with a consistent view of the database as it was at the start of the transaction. <br>This means that a transaction will see the same data throughout its execution, regardless of changes made by other transactions.<br>When a transaction starts, it takes a “snapshot” of the database state at that point in time. <br>Any reads made by the current transaction will see this snapshot, so the data remains consistent for that entire transaction. <br>Writes or updates made by the current transaction are not visible to other transactions until the transaction is committed.<br>While snapshot isolation avoids dirty reads and non-repeatable reads, it does not completely prevent phantom reads. <br>This means that new rows might be inserted by other transactions, affecting the results of a query if the <strong>transaction is running for a long time</strong>. <br>In most cases, a transaction that uses snapshot isolation would not re-execute queries multiple times within the same transaction. However, the concept of a “phantom read” can still be present with a slightly adjusted scenario:- For eg. Consider these two transactions</p><pre>T1:<br>BEGIN TRANSACTION;<br><br>-- First query execution<br>SELECT * FROM Products WHERE Price &gt; 50;<br><br>-- Simulate long-running processing<br>WAIT FOR 1 MINUTE;<br><br>-- Repeated query execution<br>SELECT * FROM Products WHERE Price &gt; 50;<br><br>COMMIT;</pre><pre>T2: <br><br>BEGIN TRANSACTION;<br><br>-- Insert a new product that matches the criteria of Transaction 1<br>INSERT INTO Products (ProductID, Name, Price) VALUES (4, &#39;Apple&#39;, 150);<br><br>-- Commit the changes<br>COMMIT;</pre><p>Transaction 1 starts and executes the query to find products with Price &gt; 50. It sees the initial state of the Products table. <br>Transaction 2 inserts the Apple product with a Price of Rs 150 and commits the transaction.<br>Transaction 1, after the wait period, re-executes the same query. This time, the Apple is included in the result because Transaction 2 has committed its changes. Under snapshot isolation, a transaction sees a consistent snapshot of the database as it was at the start of the transaction, which means it does not see changes made by other transactions that occur after it began. Since it is a long running transaction so phantom reads may occur [generally they won’t].</p><p>Also, If two transactions attempt to modify the same value, only one of them is allowed to commit. This prevent a lost update anomaly. <br>For example, transactions T1 and T2 both attempt to modify resource V. They read the current value of V from the snapshot that contains changes from all transactions that were committed before they started. Whichever transaction attempts to commit first, will commit, and the other one will have to abort. The failed transactions will retry instead of overwriting the value. <br>A write skew anomaly is also possible under snapshot isolation, since if two transactions read from local state, modify independent records, and preserve local invariants, they both are allowed to commit.</p><blockquote>Example:-<br>Transaction T1: Begins and takes a snapshot of the database. It sees the product quantity as 10 units.<br>Transaction T2: Changes the product quantity to 5 units and commits.<br>Transaction T1: Continues to work with its snapshot and decides to update the product quantity.</blockquote><blockquote>Outcome:-<br>T1 sees the quantity as 10 units throughout its execution, regardless of T2’s changes. When T1 tries to commit its changes, if the product’s quantity has changed since its snapshot (as in T2’s update), T1 will be rolled back and must retry.</blockquote><blockquote>Anomalies Prevented:-<br>Dirty reads, nonrepeatable reads and lost updates.</blockquote><blockquote>Anomalies Allowed:<br>Phantom reads and Write skew can still occur.</blockquote><h3><strong>Frequently Asked Questions :-</strong></h3><blockquote>What is the key difference between snapshot isolation level and repeatable read isolation level ?</blockquote><p>“Snapshot” guarantees that all queries within the transaction will see the data as it was at the start of the transaction using versioning.<br>“Repeatable read” ensures that if multiple queries within the transaction read the same rows, they will see the same data each time. However, different rows might be snapshotted at different times depending on when the transaction first retrieves them. Additionally, if new rows are inserted, a repeatable read later query might detect them.</p><p>Note : PostgreSQL doesn’t provide snapshot isolation out of the box.</p><ul><li>Serializable Snapshot Isolation (SSI): PostgreSQL implements true snapshot isolation at the “Serializable” isolation level since version 9.1. This is actually an enhanced form of snapshot isolation that prevents all types of serialization anomalies, including write skew.</li><li>In PostgreSQL, the “Repeatable Read” isolation level is implemented using snapshot isolation. However, it’s worth noting that this differs from the standard SQL definition of Repeatable Read. It uses versioning (a.k.a multi-version concurrency control (MVCC)) instead of locking which increases query performance. <br>Reference :- <a href="https://www.postgresql.org/docs/current/transaction-iso.html">https://www.postgresql.org/docs/current/transaction-iso.html</a></li></ul><blockquote>What is the need of serializable isolation level when we have select for update ?</blockquote><p>The purpose of the serializable isolation level is to ensure that the final result of transactions appears as if they were executed sequentially, even though they may run concurrently. In practice, under the serializable isolation level, transactions execute concurrently, and conflicts are detected at commit time. If a conflict is identified (e.g., data modified by another transaction), the transaction fails and must be retried. While transactions are not strictly serialized, they check for conflicts only at commit time, which allows for higher concurrency and performance. This approach is known as optimistic concurrency control.</p><p>Whereas pessimistic concurrency control using “SELECT FOR UPDATE” operates by having each transaction attempt to acquire an exclusive lock on a row. In this approach, only one transaction can hold the lock at any given time, which forces other transactions to wait until the lock is released. As a result, transactions are effectively serialized, meaning only one transaction can proceed with the locked rows at a time. Although this approach guarantees serializability and prevents conflicting operations, it comes at the cost of reduced concurrency and throughput. Transactions are blocked and must wait for locks to be freed, which can lead to decreased performance and efficiency compared to methods that allow more concurrent processing.</p><p>It’s all about the trade-offs. The choice of approach depends on the specific situation and which method is most suitable for the scenario.</p><p>That’s it for today. Feel free to ask any questions.</p><p>Happy coding !!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eef62fb2c5bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choosing the Right Database for Your Microservice: A Comprehensive Guide]]></title>
            <link>https://medium.com/@abhi18632/choosing-the-right-database-for-your-microservice-a-comprehensive-guide-21ad24b72920?source=rss-6e34f36bcbe1------2</link>
            <guid isPermaLink="false">https://medium.com/p/21ad24b72920</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Fri, 06 Oct 2023 01:38:44 GMT</pubDate>
            <atom:updated>2023-10-06T01:38:44.948Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Choosing the Right Database for Your Microservice: A Comprehensive Guide</blockquote><p>Selecting the optimal database for a microservice is a pivotal decision, impacting long-term performance and costs. A wrong choice could lead to expensive and risky migrations down the line. To navigate this crucial decision, considering several key criteria is essential.</p><blockquote>1. Query Patterns</blockquote><p>Understanding your query patterns is fundamental to selecting the appropriate database technology. Different databases cater to distinct querying needs:<br>- Key-value stores like DynamoDB, Redis, S3, and GCS are suitable for retrieval by key.<br>- Wide-Column databases like DynamoDB and Cassandra are ideal if occasional queries involve multiple fields.<br>- Relational databases (e.g., MySQL, PostgreSQL) or Document databases (e.g., MongoDB, CouchDB) are appropriate for extensive field-based querying.<br>- For fuzzy search capabilities, Elasticsearch and Solr are optimal choices.</p><blockquote>2. Consistency</blockquote><p>Determining the required level of consistency is crucial:<br>- Relational databases offer strong consistency, making them more suitable for scenarios demanding immediate reads after writes.<br>- Document databases provide eventual consistency and are viable for less strict consistency requirements.</p><blockquote>3. Storage Capacity</blockquote><p>Understanding storage needs is pivotal in the database selection process:<br>- Traditional database systems have storage limitations based on disk space.<br>- Cloud-based Object Storage Services (e.g., S3, GCS) offer virtually unlimited storage with tiered pricing options, making them suitable for scalable data storage.</p><blockquote>4. Performance</blockquote><p>Performance requirements play a significant role in selecting the right database:<br>- All databases experience performance degradation with increased read/write throughput.<br>- Cloud providers offer high-throughput solutions (e.g., Amazon’s DynamoDB, Google’s Bigtable) for demanding applications, albeit with associated costs.</p><blockquote>5. Maturity and Stability</blockquote><p>Assessing the maturity and stability of a database is essential to long-term success:<br>- Prioritize databases with proven stability and extensive experience within your DBA team, even if they might not be the latest or trendiest choices.<br>- Avoid risking production stability by choosing databases that align with your team&#39;s expertise and experience.</p><blockquote>6. Cost</blockquote><p>Considering the cost implications of your database choice is vital:<br>- Managed cloud solutions often have payment models linked to read/write traffic, necessitating a careful evaluation of costs based on your usage patterns.<br>- Scrutinize the costs and limitations of managed solutions to ensure they align with your budget and performance expectations.</p><p>In conclusion, a thorough evaluation of query patterns, consistency needs, storage capacity, performance requirements, maturity, stability, and cost considerations is paramount when choosing a database for your microservice. Striking the right balance among these factors will pave the way for a successful and efficient microservice architecture.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21ad24b72920" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Robust Data-Intensive Applications: A Guide to Reliability, Scalability, and…]]></title>
            <link>https://medium.com/@abhi18632/building-robust-data-intensive-applications-a-guide-to-reliability-scalability-and-a158a6036d76?source=rss-6e34f36bcbe1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a158a6036d76</guid>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Wed, 06 Sep 2023 13:01:34 GMT</pubDate>
            <atom:updated>2023-09-06T13:01:34.975Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building Robust Data-Intensive Applications: A Guide to Reliability, Scalability, and Maintainability</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v5md8WAOPF6sKVDxqgGeEA.png" /></figure><p>In today’s data-driven world, applications are becoming increasingly data-intensive. Whether you’re developing a social media platform, an e-commerce website, or a real-time analytics system, handling large volumes of data efficiently is paramount.</p><p>To succeed in this landscape, you need to master three key pillars: Reliability, Scalability and Maintainability. In this article, we’ll explore these pillars and provide you with practical insights and examples to help you build robust data-intensive applications.</p><p><strong>Reliability: Ensuring Fault Tolerance and Security</strong></p><p>Reliability is the foundation of any data-intensive application. It’s about making sure your system operates flawlessly, even when faced with human errors, software bugs, or hardware failures. Here’s how to achieve it:</p><ul><li><strong>Chaos Testing</strong>: Deliberately introduce chaos into your system to uncover vulnerabilities. For example, Netflix famously runs “Chaos Monkey” to randomly terminate instances in its production environment.</li><li><strong>Fault Tolerance</strong>: Design your system to handle full machine failures gracefully. This might involve setting up failover mechanisms or using redundancy to ensure continuous service availability.</li><li><strong>Testing and Monitoring</strong>: Detect and fix bugs early by automating tests and closely monitoring system health. Tools like Prometheus and Grafana can help with this.</li><li><strong>Rollback Capability</strong>: Implement a quick and efficient rollback mechanism for when failures occur. Being able to revert to a stable state is essential for minimizing downtime.</li><li><strong>Security:</strong> Ensure that your system protects against unauthorized access and data breaches. Security should be integrated into the design and development process from the beginning.</li></ul><p><strong>Scalability: Handling Increased Traffic and Complexity</strong></p><p>Scalability is the ability of your application to grow with higher traffic volumes and increasing system complexity. To scale effectively, consider the following:</p><ul><li><strong>Capacity Planning</strong>: Understand your traffic patterns, including the peak number of reads, writes and simultaneous users. This data helps you model and plan your system’s capacity.</li><li><strong>Frontloading and Backloading</strong>: Adapt your processing based on whether your application has read-heavy or write-heavy patterns. This optimization ensures efficient resource utilization.</li><li><strong>Monitoring Performance</strong>: Regularly monitor both system performance and perceived performance from the end-user perspective. Metrics like 90th and 95th percentiles are valuable for defining service level objectives (SLOs) or agreements (SLAs).</li><li><strong>Scaling Techniques:</strong> Choose the appropriate scaling technique — scaling up (using more powerful machines) or scaling out (distributing across many smaller machines) — based on your application’s needs.</li></ul><p><strong>Maintainability: Keeping Your System Manageable</strong></p><p>Maintainability ensures that your application remains easy to operate, understand and evolve as it grows. Here are three key questions to assess maintainability:</p><ul><li><strong>Operable:</strong> Is it easy to set up, run and monitor your system? Configurable and testable systems are easier to operate and maintain.</li><li><strong>Simple: </strong>Is your system easy to understand for new team members? Utilize good design patterns, maintain clean code and provide comprehensive documentation to facilitate quick onboarding.</li><li><strong>Evolveable:</strong> Can you easily make changes and add new features to the system? Regularly refactor your code to simplify abstractions and eliminate code debt.</li></ul><p><strong>Putting It All Together</strong></p><p>There is no one-size-fits-all solution for data-intensive applications. Your approach should be tailored to your specific needs, but remember that the foundation of any successful data-intensive application is built on the three pillars of Reliability, Scalability and Maintainability.</p><p>By ensuring your application is reliable, you’ll safeguard your company’s revenue, legal compliance and user productivity. Scalability allows you to handle growth effectively, while maintainability ensures your system remains manageable and adaptable.</p><p>In conclusion, mastering these pillars will empower you to build data-intensive applications that not only meet today’s demands but also prepare you for the challenges of tomorrow’s data-driven world. Happy coding!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a158a6036d76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best Practices while designing APIs]]></title>
            <link>https://medium.com/@abhi18632/best-practices-while-designing-apis-f6bbb6a89c22?source=rss-6e34f36bcbe1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6bbb6a89c22</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Thu, 10 Aug 2023 18:20:43 GMT</pubDate>
            <atom:updated>2023-08-10T18:21:10.204Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWi9I7Qzrlsi9cG5IMD07A.png" /></figure><p>Building a successful API requires careful consideration of various aspects to ensure reliability, security and usability. Here are some crucial best practices and characteristics to focus on during the development process:-</p><p><strong>1. Consistency: </strong><br>Maintaining a consistent naming convention, structure and behavior across endpoints is essential. This makes the API intuitive and user-friendly, enabling developers to quickly understand and work with it. Choose a <em>style</em> <em>(e.g., camelCase, snake_case)</em> and stick to it throughout your API. Create a style guide that developers can reference. This ensures that endpoints and fields have predictable names, making it easier for developers to understand and use your API.</p><p><strong>2. Versioning:</strong><br>Implement versioning to ensure backward compatibility. This allows for gradual updates without disrupting existing clients, giving them time to adapt to changes. Include the version number in the URL (e.g., `<em>/v1/resource</em>`) or use custom headers to specify the version. When introducing breaking changes, create a new version while maintaining the old version for existing clients. Keep the old version active for a transition period to give developers time to update their integrations.</p><p><strong>3. Idempotency:<br></strong>Ensure that API endpoints that modify data (e.g., POST, PUT, DELETE) are designed to be idempotent. This means that making the same request multiple times has the same effect as making it once. This prevents unintended side effects and data inconsistencies caused by repeated requests. Design your API operations to handle idempotency by generating a unique request identifier (such as a UUID) for each client request. The server can use this identifier to recognize duplicate requests and ensure that the same operation isn’t performed multiple times.</p><p><strong>4. Documentation: </strong><br>Create thorough and clear documentation that covers all aspects of the API, including endpoints, parameters, request/response formats, authentication methods and usage examples. Well-documented APIs facilitate easy integration and reduce confusion for developers. Use tools like Swagger, OpenAPI, or tools built into your API framework to auto-generate documentation. Clearly explain each endpoint’s purpose, input parameters, request structure and expected response. Include example requests and responses to illustrate usage scenarios.</p><p><strong>5. Authentication and Authorization:</strong><br>Secure your API by implementing robust authentication mechanisms such as OAuth. Also, ensure proper authorization is in place to restrict access to authorized users only. Provide clear instructions on how to obtain and use access tokens. For application-based authentication, issue API keys that clients include in their requests. Use middleware or filters to enforce authorization rules based on the authenticated user or application’s role.</p><p><strong>6. Recovery Mechanisms: </strong><br>Implement mechanisms to handle failures gracefully. This includes:</p><ul><li><strong>Transactions: </strong><br>If your API involves multiple operations that need to be executed together, consider wrapping them in a transaction to ensure data consistency. If one part of the operation fails, the entire transaction can be rolled back.</li><li><strong>Retries:</strong><br>Provide guidance on how clients can retry failed requests using appropriate exponential backoff strategies. This can help manage server load during temporary outages.</li><li><strong>Response States: </strong><br>Use appropriate HTTP status codes to indicate the outcome of requests <em>(e.g., 5xx for server errors, 4xx for client errors)</em>. Include relevant information in the response body to guide the client on what went wrong.</li><li><strong>Error Handling:</strong><br>Clearly communicate errors to clients with detailed error messages, error codes and suggested actions to resolve the issue. This helps developers troubleshoot issues effectively and understand why their requests might have failed.</li></ul><p><strong>7. Rate Limiting:</strong><br>Prevent abuse and ensure fair usage of resources by implementing rate limiting. This prevents a single user or application from overwhelming the API. Implement rate limiting by tracking the number of requests made by each client within a specific time window. Return a <em>429 Too Many Requests</em> response if the rate limit is exceeded. Allow developers to see their rate limit status by including headers in the response.</p><p><strong>8. Security:</strong><br>Prioritize security by using HTTPS for secure communication. Validate and sanitize input to prevent common security vulnerabilities like SQL injection or cross-site scripting (XSS). Implement HTTPS using a trusted SSL certificate to encrypt data in transit. Use libraries and frameworks that automatically sanitize input and validate input against expected formats and constraints. Regularly update libraries and dependencies to patch known security vulnerabilities.</p><p><strong>9. Performance: </strong><br>Optimize API performance by employing techniques such as caching, pagination and data compression. These measures reduce latency and improve response times. Cache frequently requested data using technologies like Redis or HTTP caching headers. Implement <em>pagination</em> for endpoints that return large datasets, allowing clients to request a limited number of items per page. Use data compression (e.g., Gzip) to reduce the size of responses. Implement a standardized way of handling pagination, using query parameters like `page` and `per_page`. Return metadata in the response that indicates the total number of items and the current page.</p><p><strong>10. Scalability: </strong><br>Design your API to handle increased traffic and load. Horizontal scaling and distributed systems architecture can ensure your API remains responsive even under high throughput. Use cloud services that support automatic scaling based on demand. <strong>Design your application to be stateless</strong>, allowing any server to handle a request. Utilize load balancers to distribute incoming requests evenly across multiple servers.</p><p><strong>11. Testing, Monitoring and Analytics: </strong><br>Thoroughly test your API using unit tests, integration tests and load testing to ensure reliability and stability in various scenarios. <strong>Implement logging</strong>, monitoring and analytics to track API usage, identify issues and make informed decisions for improvements. Record API activity, including requests, responses and errors. Use monitoring tools to track server health, response times and error rates. Analyze data to identify trends and anomalies.</p><p><strong>12. Feedback and Iteration:</strong><br>Actively seek feedback from API users and iterate based on their input. Continuous improvement ensures the API remains relevant and user-friendly. Engage with developers through forums, emails, or support channels. Listen to their suggestions and implement changes that align with your API’s goals. Regularly release updates based on user feedback.</p><p>By integrating these best practices and characteristics into your API development process, you can build a reliable, secure and user-friendly API that meets the needs of developers and provides a strong foundation for your application’s success. <br>Let me know if i missed any. Would love to hear your thoughts ??</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6bbb6a89c22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Write-Ahead Logs in Distributed Systems]]></title>
            <link>https://medium.com/@abhi18632/understanding-write-ahead-logs-in-distributed-systems-3b36892fa3ba?source=rss-6e34f36bcbe1------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b36892fa3ba</guid>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[wal]]></category>
            <category><![CDATA[write-ahead-logging]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Tue, 01 Aug 2023 15:00:51 GMT</pubDate>
            <atom:updated>2023-08-01T15:01:25.538Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*phsrL3PRJAfDoeOXAcOXEw.png" /><figcaption>Distributed Systems</figcaption></figure><p><strong>Introduction</strong></p><p>In distributed systems, ensuring data durability is crucial, especially in scenarios where server machines may fail. To address this concern, a powerful technique called Write-Ahead Log (WAL), also known as Commit Log, is employed. In this article, we will dive deep into Write-Ahead Logs and explore how they provide durability guarantees without the need to flush data structures to disk.</p><p><strong>Problem: Ensuring Durability in Distributed Systems</strong></p><p>One of the main challenges in distributed systems is guaranteeing data durability, which means that data changes must be persisted even if a server or machine fails. Losing data due to system failures could lead to significant data loss and inconsistency. Thus, a mechanism to ensure durability is essential.</p><p><strong>Solution: Write-Ahead Log</strong></p><p>The Write-Ahead Log provides a powerful solution to the durability problem. It involves storing each state change as a command in a file on a hard disk. The log is maintained as an append-only sequential file for each server process. This sequential approach simplifies log handling during restarts and subsequent online operations, as new commands are appended to the end of the log.</p><p>Each log entry is assigned a unique identifier, enabling the implementation of additional operations on the log, such as log segmentation and cleaning with a Low-Water Mark. The uniqueness of log entries also aids in applying the log updates using a Singular Update Queue, ensuring sequential and consistent updates.</p><p><strong>Implementing Write-Ahead Logs</strong></p><p>To understand the implementation better, let’s consider a simple in-memory key-value store as an example. The store uses the Write-Ahead Log technique to guarantee durability.</p><blockquote>// Define a simple in-memory key-value store<br>class KVStore {<br> private Map&lt;String, String&gt; kv = new HashMap&lt;&gt;();</blockquote><blockquote>public String get(String key) {<br> return kv.get(key);<br> }</blockquote><blockquote>public void put(String key, String value) {<br> appendLog(key, value);<br> kv.put(key, value);<br> }</blockquote><blockquote>private Long appendLog(String key, String value) {<br> return wal.writeEntry(new SetValueCommand(key, value).serialize());<br> }<br>}</blockquote><p>In the example above, the `put` method is represented as a command, which is serialized and stored in the Write-Ahead Log before updating the in-memory hashmap. This ensures that once the `put` method returns successfully, even if the process holding the KVStore crashes, its state can be restored by reading the log file at startup.</p><p><strong>Recovering State from the Log</strong></p><p>During system startup or after a crash, the log file can be read, and the state can be recovered by replaying all the log entries in order. In the example of the key-value store, the KVStore applies all the log entries by deserializing and executing the corresponding commands to reconstruct the in-memory state.</p><p><strong>Implementation Considerations</strong></p><p>While implementing Write-Ahead Logs, certain considerations should be taken into account:</p><p>1. <strong>Ensuring Log Durability</strong>: Entries written to the log must be persisted on physical media. File handling libraries often provide mechanisms to force the operating system to flush file changes to disk. However, flushing every log write can impact performance. Techniques like batching are often used to balance durability and performance.</p><p>2. <strong>Detecting Corruption:</strong> To handle log file corruption, log entries are usually written with CRC (Cyclic Redundancy Check) records, which can be validated during file reading.</p><p>3. <strong>Log Management</strong>: Single log files can become unwieldy and consume large amounts of storage. Techniques like Segmented Logs and Low-Water Marks are used to manage the log size efficiently.</p><p>4. <strong>Handling Duplicates</strong>: In case of client communication failure and retries, logs can contain duplicate entries. Mechanisms are needed to detect and ignore duplicates during log application, especially when updates are not idempotent.</p><p><strong>Compared to Event Sourcing</strong></p><p>While Write-Ahead Logs share similarities with event logs used in Event Sourcing, they serve different purposes. Event Sourcing logs serve as a persistent source of truth, maintaining log entries for an extended period to reconstruct system state at previous points in history. In contrast, Write-Ahead Logs are only needed for state synchronization among distributed systems and can be discarded once updates are acknowledged.</p><p><strong>Examples</strong></p><p>Numerous systems and platforms utilize Write-Ahead Logs to ensure data durability:</p><ul><li>Consensus algorithms like Zookeeper and Raft employ Write-Ahead Log implementations.</li><li>Kafka’s storage system follows a structure similar to commit logs in databases.</li><li>Most databases, including NoSQL databases like Cassandra, use Write-Ahead Log techniques to guarantee durability.</li></ul><p><strong>Conclusion</strong></p><p>Write-Ahead Logs are a powerful technique that ensures data durability in distributed systems. By persisting every state change as a command in an append-only log, Write-Ahead Logs allow systems to recover their state even after server failures. This durability guarantee is essential for maintaining data consistency and reliability in modern distributed environments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b36892fa3ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Life and Mind — A Conversation!]]></title>
            <link>https://medium.com/@abhi18632/life-and-mind-a-conversation-440c871d863e?source=rss-6e34f36bcbe1------2</link>
            <guid isPermaLink="false">https://medium.com/p/440c871d863e</guid>
            <category><![CDATA[conversations]]></category>
            <category><![CDATA[purpose]]></category>
            <category><![CDATA[find-your-purpose]]></category>
            <category><![CDATA[mind]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Sun, 07 Jun 2020 15:34:48 GMT</pubDate>
            <atom:updated>2020-06-07T15:34:48.946Z</atom:updated>
            <content:encoded><![CDATA[<h3>Life and Mind — A Conversation!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/0*m_qd_EBBfKX9vcHO.jpg" /></figure><p><strong>Mind:</strong> I wonder what the purpose of life is.</p><p><strong>Life:</strong> hmm</p><p><strong>Mind:</strong> I hear so many things: To realise your dreams, To improve yourself every day, To achieve wealth, To serve others, To make the world a better place etc..</p><p><strong>Life:</strong> Wow, that’s a whole lot of stuff to do!</p><p><strong>Mind:</strong> Tell me about it! Now, they all do seem to be related to each other, but you know I can’t achieve all of them…</p><p><strong>Life:</strong> So who asks you to?</p><p><strong>Mind:</strong> You ask of me, don’t you?</p><p><strong>Life:</strong> No.</p><p><strong>Mind:</strong> Wait a minute! There are religions founded on it, self-help books doing raging business about it — they all say deep, important-sounding things about Life’s purpose! And you are saying you don’t ask any of those things?</p><p><strong>Life:</strong> Nope. All those things seem to achieve the purpose of your life, the ego’s life.</p><p><strong>Mind:</strong> But you are my life. So my purpose is your purpose too, isn’t it?</p><p><strong>Life:</strong> No. Your life, the Mind’s life, is a story filled with events and feelings that you experienced or imagined. It extends on a timeline from the Past to the Future. It believes that all the events and feelings add up to some cumulative meaning. That is not like me at all.</p><p><strong>Mind:</strong> Then what are you like?</p><p><strong>Life:</strong> No story. No past, no future. Just alive. Right Now.</p><p><strong>Mind:</strong> Right, and how exactly do you intend to stay truly alive without excitement, feelings, goals, and meaning?</p><p><strong>Life:</strong> By breathing, of course.</p><p><strong>Mind:</strong> That is it?</p><p><strong>Life:</strong> That is it. Everything else is your story. And other people’s mind-stories that get published for you to read. My purpose is to breathe. Deeply, slowly, in relaxation.</p><p><strong>Mind:</strong> Then we can all just sit around doing nothing but breathe?</p><p><strong>Life:</strong> Be my guest. But what happens if people do that?</p><p><strong>Mind:</strong> The body won&#39;t survive if it does not hunt for food, or work for food.</p><p><strong>Life:</strong> So you must work so you can eat, stay alive — so that Breathing, my purpose, can continue.</p><p><strong>Mind:</strong> What about working for riches, creating jobs, or changing the world? To become brave, fair, kind, compassionate?</p><p><strong>Life:</strong> Those pursuits and ends are of no interest to me.</p><p><strong>Mind:</strong> If those ends don’t matter then why would people dance, sing, plough land, serve, create, do scientific experiments, read, write, meditate, exercise? If they began to believe that their purpose was only to eat and breathe, why would anyone do anything?</p><p><strong>Life:</strong> Ah, now these things you just said are important to do. Because you and the body have been so designed that it is in the process of focused activity that Breathing happens best. Regardless of what action it is, when the mind is still, in focus, in the flow then the body breathes the deepest. In this state, what psychologists call ‘Flow’, my purpose — breathing — gets gloriously fulfilled. The is also the objective of Yoga asanas, Prayanama and Meditation.</p><p><strong>Mind:</strong> So the desire for activity and ambition are just meant to develop focus and stillness in me?</p><p><strong>Life:</strong> Right. To me, it doesn’t matter whether you dance or sing or read, or are a sports person or a traveller or an accountant, whether you are rich or not, so long as you do what you do with a relaxed focus and breathes deeply.</p><p><strong>Mind:</strong> What about the outcome of activity and ambition? That matters too!</p><p><strong>Life:</strong> Why?</p><p><strong>Mind:</strong> Here is why: Taking your point further, I have noticed that when I accomplish a task or get appreciation from others then the body feels happy, and takes in deep breaths of satisfaction. That is a fulfilment of your purpose. Therefore to accomplish or get appreciation must also be important to achieve your purpose.</p><p><strong>Life:</strong> Interesting point. First tell me, what do you feel in the moments after when you accomplish something?</p><p><strong>Mind:</strong> I feel satisfied, contented, maybe happy.</p><p><strong>Life:</strong> What does that mean? Peel one more layer further.</p><p><strong>Mind:</strong> It means that at that very moment, I have what I want at that moment. That I don’t want anything more.</p><p><strong>Life:</strong> So after you get what you wanted, could it be said there is a state of ‘momentary desire-less-ness’ in you?</p><p><strong>Mind:</strong> Hmm, yes.</p><p><strong>Life:</strong> It is not the achievement of your desires that makes the body and mind happy, it is the momentary state of desire-less-ness that does it.</p><p><strong>Mind:</strong> But unless I achieve or get appreciated how will I feel that momentary state of desire-less-ness?</p><p><strong>Life:</strong> But you don&#39;t accomplish great things on most moments in your life. Why wait for the state of desire-less-ness only in moments after accomplishment and appreciation? Why not all the time, if you could?</p><p><strong>Mind:</strong> How?</p><p><strong>Life:</strong> By not expecting victory or appreciation at the end of your activity. To not really care what the ultimate outcome of your activity or ambition is. Also, that way you have more fun doing whatever you are doing.</p><p><strong>Mind:</strong> Hold on, one sec, quick revision: There are two things I hear you saying — a relaxed focused activity in step with the body and a state of desire-less-ness. So in combination, it means To Act, but with a state of Desire-less-ness. So is that the prescription for fulfilling Lifes purpose?</p><p><strong>Life:</strong> Sounds about right. There is a term for it too: <strong>Nishkaam Karma</strong></p><p><strong>Mind:</strong> Ah! And I am also stiller when I focus only on my intention, instead of focusing on the outcome. So that works out well for both of us in the long run, ain&#39;t it?</p><p><strong>Life:</strong> Don&#39;t worry about the long run. Karma is not a delayed payment system. It is instantaneous. The moment you act without focusing on the outcome, the mind, the body and the activity immediately align, and your breathing becomes calmer and deeper. That feeling is no different from what you get after a favourable outcome or achievement or appreciation.</p><p><strong>Mind:</strong> …And if I already have that feeling during the activity, then I could treat victory or defeat at the end of the activity just the same, right?</p><p><strong>Life:</strong> Indeed. My only purpose is to keep the body moving and the mind still — to cause relaxed, deep breaths moment by moment. That’s it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=440c871d863e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don't chase FAANG, become Better Engineer every single day!]]></title>
            <link>https://medium.com/@abhi18632/dont-chase-faang-become-better-engineer-every-single-day-cc3d9178aed0?source=rss-6e34f36bcbe1------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc3d9178aed0</guid>
            <category><![CDATA[mentorship]]></category>
            <category><![CDATA[preparation]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Abhishek Gupta]]></dc:creator>
            <pubDate>Sat, 23 May 2020 21:25:48 GMT</pubDate>
            <atom:updated>2020-05-23T21:40:19.405Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/877/0*5Cj3mIzqhobCZUF-.png" /></figure><p>Hello Everyone! 😎😎</p><p>My name is Abhishek Gupta 👨, I am a <strong>Software Engineer</strong> 💻 at Zomato.</p><p><strong>I hope this post will inspire you</strong> 🔥.</p><p>More than 90% of students graduate from tier-3 college, they are not IITian but they always have a big dream! 💭</p><p>I will start by asking one simple question from all of you, we all know we are engineers right, but, <strong>do we ever feel that we are engineers?</strong> 😀🌟<br>Most of us don’t. Because engineering is not a buzzword now, past back then yes it was, but now everywhere, there are tons of engineers.</p><p>💡 <strong>But the question is Do these engineers ever feel as engineers by heart?</strong></p><p>Ask yourself, how many times in 4 years of your college life, you felt that you are going to be an engineer. At how many instances did you actually feel that? Trust me, this is not a small feeling, you have reached here after travelling a long journey of 9th, 10th, 11th, 12th, JEE struggle and College Life. <strong>But the fact is that we are still unable to feel that</strong>.</p><p>It is not because we are not IITians, it is not because that engineering is not your passion, it is just that we never thought and worked in this way.</p><p>In my opinion, there is nothing like passion in life, the correct term is <strong>ability</strong>. <strong>It’s the ability that defines you. It’s the ability that defines your growth in a particular field</strong>. <br>You can learn everything. Literally, You can do everything, if you put focus, dedication and hard work in it. <br><strong>The question is, will you able to excel in it or not, will you able to grow in it or not, that all depends on your ability.</strong> Passion can be wishful but ability shows the reality. Ability is defined by your actions, not through your thoughts. You can be passionate about whatever you want but you can excel quickly and easily in your abilities only.</p><p>Most of you have heard from your parents that <strong>beta, you are an engineer, washing machine kharab ho gyi hai theek kar sakte ho!<br></strong>After listening to this, Did you ever tell this to yourself? Yaar I am an engineer so I can <strong>make good quality software</strong> but can’t repair washing machine</p><p>💡<strong> I know most of you don’t say and even can’t say this now too that you are a good software engineer!</strong></p><p>It is not that product based companies hire only IITians, it is not that they hire university toppers, it is not that they have fewer openings, it is just that we are not capable and <strong>we seriously don’t want to become capable</strong> and that’s the reason there is a huge gap between college curriculum and company requirements.</p><p>Ask yourself, Do you love solving maths problems? Do you get amazed after seeing how this thing works? Do you really want to be a software engineer? If yes, then start feeling like a software engineer and work hard to make it a reality. It is not because we are not from IIT, it is just that <strong>we are not conscious about ourself as engineers.</strong>💪⚡</p><p>If you have watched MS DHONI Movie, Dhoni said, ham match cricket ground par nhi basketball court me haare the!<br>Essence is:- <strong>Your mindset defines you, Yes your mindset defines you!</strong> 💪</p><p>Do you still regret your college, Do you still feel that you are not from IIT, Do you still feel that you don&#39;t have good faculties and good resources to learn, sorry man, but yes <strong>You are Lost.</strong></p><p>I know most of you, who are in the first year or second year, don’t know much about your abilities, are exploring multiple pieces of stuff, trying out different things, but I am just saying if you are exploring programming and software engineering too, then do it by your full heart or don’t do it at all.</p><p><strong>Don’t do it to crack a company, Do it so that you can be proud of yourself by seeing yourself as a Good Software Engineer, the keyword here is Good. </strong>Feel like an engineer and then build something!</p><p>I have one principle in my life which I truly believe in, <strong>Don’t Settle for good if you are capable of being great!</strong> So if you have the zeal and if you are ready to become great software engineers, then take an Oath 🔥 from yourself and say that I will put all my heart in Software Engineering and become better day by day. I will never stop learning and I will choose my mentor and work with full enthusiasm. Don’t make any excuse like college, faculty, branch or any other. Just do it!</p><p>Also, Never learn from someone average or below average in your field, This is very very important. <strong>Always find a mentor and specialist in your industry who can provide you with a proper roadmap 🗺️ and who can walk along with you on that path until you reach success.</strong></p><p>🔥🔥 Our team of <strong>Curl Coding (Cultivate the Right Learnings)</strong> <strong>is on a mission</strong> where we want to fill this gap of industry and students skill set, We wanna help those folks who believe in themselves and who have the potential to become <strong>GOOD to GREAT</strong>, it is just that they are not able to find the opportunities.</p><p>There is <strong>no shortage</strong> of video tutorials and blog posts online today. In fact, we have the <strong>opposite problem</strong>. We have <strong>too many</strong> of them. <br>How often do you watch a tutorial and end up not getting what you wanted? Or realize you don’t have the prerequisite information? How often do you not even know what to learn? You don’t need more free tutorials. You need planning and guided learning. You need <strong>a learning map!</strong><br><strong>We will provide you with an opportunity to get trained by Software Engineers, avail One on One Mentorship which involves Career Counseling and Proper Learning Roadmaps, Referrals in product-based companies, Mock Interviews, solid community support and a lot more.</strong></p><p>If you want to join the learner&#39;s community, There is a lot of coming in your way.<br><strong>Join the telegram group:- </strong><a href="https://t.me/curlcoding"><strong>https://t.me/curlcoding</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*r56f48ndVOughR_tN3A4KQ.png" /><figcaption>Cultivate the Right Learnings</figcaption></figure><p>Also, feel free to disagree, my intention is not to hurt anyone, just to show the general reality.</p><p>Hope this article inspired you a bit, A big Thank you for your patience. 😇<br><strong>I was also from a tier-3 college, If I can do, then you can too!</strong> 💪⚡</p><p>Thank you!<br><strong>Cultivate the Right Learnings</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc3d9178aed0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>