<?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 Gunish Jha on Medium]]></title>
        <description><![CDATA[Stories by Gunish Jha on Medium]]></description>
        <link>https://medium.com/@gunish.jha.master?source=rss-c3527da0ea97------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5rnKSLrVodIBwhAdoxrXcQ.jpeg</url>
            <title>Stories by Gunish Jha on Medium</title>
            <link>https://medium.com/@gunish.jha.master?source=rss-c3527da0ea97------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 10:12:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gunish.jha.master/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[Datadog for Devs: Key Features]]></title>
            <link>https://medium.com/@gunish.jha.master/datadog-for-devs-key-features-d5dc81572b00?source=rss-c3527da0ea97------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5dc81572b00</guid>
            <category><![CDATA[datadog]]></category>
            <category><![CDATA[data-observability]]></category>
            <dc:creator><![CDATA[Gunish Jha]]></dc:creator>
            <pubDate>Sat, 10 Aug 2024 13:22:45 GMT</pubDate>
            <atom:updated>2024-08-10T13:22:45.382Z</atom:updated>
            <content:encoded><![CDATA[<h3>Datadog : Key Features</h3><p>Datadog is a powerful monitoring and analytics platform that offers end-to-end visibility into your infrastructure, applications, and logs. As modern systems become more complex, the need for data observability has never been greater. Datadog provides a comprehensive set of tools that allow developers to monitor, troubleshoot, and optimise their systems in real-time.</p><h3>Introduction to Datadog</h3><p>Datadog stands out in the observability landscape by providing a unified platform that seamlessly integrates with hundreds of services, allowing developers to collect and analyse data from various sources. Whether you’re dealing with microservices, containerised applications, or traditional monolithic architectures, Datadog’s features ensure you have a holistic view of your system’s health.</p><h3>Key Features for Data Observability</h3><ol><li><strong>Agent Setup and Configuration</strong>: The Datadog Agent is the core component that collects metrics, traces, and logs from your infrastructure. It’s easy to install and configure, supporting a wide range of environments from cloud platforms to on-premises servers. Developers can customise the Agent to fit specific needs, including configuring tags, setting up integrations, and controlling data collection.</li><li><strong>Infrastructure Monitoring</strong>: Datadog offers powerful tools like host maps and infrastructure lists, giving you a bird’s eye view of your entire environment. This helps in identifying bottlenecks, understanding resource utilisation, and quickly diagnosing issues.</li><li><strong>APM and Tracing</strong>: Application Performance Monitoring (APM) in Datadog allows you to track the performance of your applications, services, and databases. With distributed tracing, developers can follow requests as they flow through microservices, pinpointing latency issues and optimising performance.</li><li><strong>Log Management</strong>: Datadog’s log management capabilities enable you to centralise logs from all your applications and infrastructure. It supports features like log parsing, filtering, and real-time analytics, which are crucial for troubleshooting and compliance.</li><li><strong>Dashboards and Alerts</strong>: Custom dashboards in Datadog allow you to visualise metrics, traces, and logs in a single place. Coupled with alerting capabilities, you can set up notifications for critical thresholds, ensuring that you’re immediately informed of potential issues.</li></ol><h3>Conclusion</h3><p>Datadog’s comprehensive suite of features makes it an invaluable tool for developers aiming to achieve full data observability. From monitoring infrastructure to tracing application performance and managing logs, Datadog provides the insights necessary to maintain high availability and optimal performance of your systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5dc81572b00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Solo Traveller’s Tale: Discovering Jodhpur and Zostel on a Shoestring Budget]]></title>
            <link>https://medium.com/@gunish.jha.master/a-solo-travellers-tale-discovering-jodhpur-and-zostel-on-a-shoestring-budget-2c41b9a6677f?source=rss-c3527da0ea97------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c41b9a6677f</guid>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[jodhpur]]></category>
            <dc:creator><![CDATA[Gunish Jha]]></dc:creator>
            <pubDate>Sun, 14 Apr 2024 08:37:16 GMT</pubDate>
            <atom:updated>2024-04-14T08:37:16.324Z</atom:updated>
            <content:encoded><![CDATA[<p>Jodhpur, with its vibrant culture, historic architecture, and bustling markets, promises an adventure that’s both exhilarating and humbling. My journey through this enchanting city began at the break of dawn, in the cozy confines of a Zostel, which quickly felt like a home away from home.</p><p><strong>Morning Whispers and Market Bustles</strong></p><p>My day kicked off on a slightly chaotic note — I realised I had forgotten some essentials. The quest for a toothbrush and towel led me to spend INR 100, marking the beginning of an unplanned yet enlightening exploration. The local market, where I also picked up a lock, face wash, and other necessities, was a riot of colors and sounds. Each item, from the soap (INR 10) to the shampoo (INR 6), told a story of local life and simplicity.</p><p>As I navigated through the streets, I met two fellow travellers from Faridabad, their stories of banking in the bustling metropolis a stark contrast to the tranquility of Jodhpur. Together, we ventured into the local markets, the light rain a refreshing respite from the heat. The highlight? Successfully haggling an umbrella down to INR 180, a small victory in the playful banter of commerce.</p><p><strong>Culinary Delights and Historic Sights</strong></p><p>Breakfast was an affair to remember — we had milk, poha, and a Bombay sandwich(~INR 200) . Each bite was a mosaic of flavours, a testament to the city’s rich culinary heritage. The journey continued with an auto ride to Udham Palace (INR 100 for the ride and INR 120 for entry), where history whispered through the grandeur of its halls and walls.</p><p>Mehrangarh Fort was next, standing tall and proud, a sentinel of the city’s past. The INR 250 spent on the auto ride and entry tickets was a small price for the breathtaking views and the echo of ancient footsteps.</p><p><strong>The Essence of Jodhpur</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c8OmV6H0PQDbDamG5kZ_Kg.jpeg" /></figure><p>The day was punctuated with moments of joy — from the malai lassi and pyaaj kachori for INR 150 to the serene beauty of Toorji Ka Jhalra. Each moment was a thread in the fabric of Jodhpur’s story, woven with the hues of tradition and the rhythm of daily life.</p><p>As the sun began to set, the quest for local delicacies took me to the heart of Jodhpur’s culinary scene — litthi chokha and milk for a modest INR 70.</p><p>As the first day of my Jodhpur adventure drew to a close, I wrapped up my office work in my room with anticipation for the evening ahead. The Zostel’s common area, with its inviting vibe and shelves stocked with books, beckoned me to unwind. Immersed in a book, the solitude was pleasantly interrupted by Rakt, our new community manager. His friendly inquiry soon turned into an invitation to a game of pool, marking the beginning of an unexpected camaraderie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zbtQ0Q_JXs_Nlb-bv8xgXg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dftq8SY11WN9xhDwnkKJdg.jpeg" /></figure><p>The game brought together Raj and Om — a product manager in fintech and a doctor, respectively. Their entrance into the game was seamless, as if the pool table was a magnet for interesting personalities. Shortly after, two more joined the fray, revealing a serendipitous connection of being college alumni and in Rajasthan for a wedding. The group’s decision to explore in their downtime enriched the evening further.</p><p>Our burgeoning group then ventured to Zostel’s internal bar, a decision that set the stage for an evening filled with laughter, intense discussions, and shared stories. The bar, followed by a chill session in the garden, was where the group dynamics truly flourished. New faces came and went, but the bond among us solidified, culminating in a late-night banter session in my room. A new roommate, a budding photographer with tales of capturing the essence of royal Rajasthan, added depth to our discussions about the grandeur of Udaipur Palace and the hospitality of Taj hotels.</p><p>As the clock neared 2 AM, the conversations wound down, and I found myself drifting to sleep, only to wake up at 10:30 AM. A quick breakfast of a Bombay sandwich and milk set the tone for the day. Despite the rush, there was time for a final exchange of travel tips with my new friends. Acting on their advice might have been ideal, but my plan was already set. The Rapido ride to Jaswant Thada was a journey to remember, with the architecture living up to its reputation as the Taj Mahal of Jodhpur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-NbugaxudYP15N0ezFwSFg.jpeg" /></figure><p>The visit to Mandore Garden was equally memorable, enhanced by a whimsical mini train ride through the sprawling park. The day’s adventures, however, were not without their hiccups. A disagreement over the auto fare reminded me of the mundane challenges travellers often face, but it did little to dampen my spirits.</p><p>Back at Zostel, my final hours were spent in enriching conversations with a Entrepreneur from Dubai and a recent IIM B-school graduate. The diversity of stories and backgrounds was a testament to the unique crossroads that Zostel provided for travellers from all walks of life.</p><p>Boarding my train home, I found myself in the company of individuals as diverse as the places I had just explored. From discussions on German history and the latest in technology to personal stories from a humble Marwari businessman, the journey was a fitting end to my Jodhpur saga.</p><p>Returning home at the break of dawn, I stepped back into my routine, carrying with me not just memories of the places I’d visited but the stories of the people I’d met. Jodhpur, with its majestic forts and vibrant culture, was now a part of me, a reminder of the beauty of solo travel and the unexpected friendships it brings.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c41b9a6677f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hierarchy of Themed Design System Components Template, Section, Block, Component, and Tokens in…]]></title>
            <link>https://medium.com/@gunish.jha.master/the-hierarchy-of-themed-design-system-components-template-section-block-component-and-tokens-in-78b9d9dfa474?source=rss-c3527da0ea97------2</link>
            <guid isPermaLink="false">https://medium.com/p/78b9d9dfa474</guid>
            <category><![CDATA[theme-design]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Gunish Jha]]></dc:creator>
            <pubDate>Sun, 30 Apr 2023 12:18:18 GMT</pubDate>
            <atom:updated>2023-04-30T12:18:18.099Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Hierarchy of Themed Design System Components Template, Section, Block, Component, and Tokens in Web Development: Industry Standards and Best Practices</h3><p><strong>Introduction:</strong></p><p>In web development, organising content and structure is crucial for creating efficient and responsive websites. One way to achieve this is through a hierarchical structure consisting of templates, sections, blocks, components, and tokens. This hierarchy enables a modular design process, making it easier for developers to create, maintain, and scale websites. In this article, we will delve deeper into each of these elements and discuss industry standards and best practices. We will also provide examples of ambiguous subtopics to help illustrate the concepts.</p><ol><li><strong>Template</strong></li></ol><p>The template is the foundation of a web page’s layout, defining the structure and arrangement of various elements. It serves as a blueprint for multiple pages on a website, allowing developers to maintain consistency across different sections.</p><p>Industry Standards and Best Practices:</p><ul><li>Use well-structured HTML markup to define the template layout.</li><li>Ensure that the template is responsive and adapts to different screen sizes and devices.</li><li>Keep templates clean and minimal to improve load times and overall website performance.</li></ul><p><strong>2. Section</strong></p><p>Sections are subdivisions of a template, representing distinct areas within the layout. They often correspond to major content areas, like the main content, sidebars, or navigation menus.</p><p>Ambiguous Subtopics:</p><ul><li>Differentiating between sections and blocks: Sections are larger content divisions within a template, while blocks are smaller, reusable units of content within sections.</li><li>Nesting sections within sections: This can lead to confusion and make it more challenging to manage content. It is best to use a clear hierarchical structure with templates, sections, and blocks.</li></ul><p><strong>3. Block</strong></p><p>Blocks are smaller, reusable units of content that reside within sections. Examples of blocks include text blocks, image galleries, or call-to-action buttons.</p><p>Industry Standards and Best Practices:</p><ul><li>Use a consistent naming convention for blocks to make them easily identifiable.</li><li>Create reusable blocks to maintain a consistent look and feel across the site.</li></ul><p><strong>4. Component</strong></p><p>Components are individual UI elements within a block that make up the building blocks of a web page. Components are created using a combination of HTML, CSS, and JavaScript.</p><p>Ambiguous Subtopics:</p><ul><li>Component libraries vs. custom components: Component libraries, like Bootstrap or Material-UI, provide pre-built, reusable components, while custom components are built from scratch by developers. Both approaches have their pros and cons, and the choice depends on project requirements and preferences.</li><li>Component granularity: Deciding how granular a component should be can sometimes be a challenge. Components should be modular and reusable but not overly complex.</li></ul><p><strong>5. Tokens</strong></p><p>Tokens are the smallest units in the hierarchy, representing individual pieces of data or content. They are used to populate components and can be static or dynamic.</p><p>Industry Standards and Best Practices:</p><ul><li>Use a consistent naming convention for tokens.</li><li>Store dynamic tokens in a database or use an API to fetch them.</li></ul><p><strong>Conclusion:</strong></p><p>Understanding and implementing the hierarchy of templates, sections, blocks, components, and tokens is essential for creating efficient, responsive, and scalable websites. By adhering to industry standards and best practices, developers can maintain consistency in design, simplify the content management process, and ultimately provide a better user experience. Recognizing the potential ambiguities within the hierarchy and addressing them effectively can lead to a more streamlined web development process. Embracing this modular approach to web design will empower developers to build well-structured and easily maintainable websites, catering to the ever-evolving needs of users in the digital era.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78b9d9dfa474" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jenkins 101: A Beginner’s Guide to Automating Your Software Development]]></title>
            <link>https://medium.com/@gunish.jha.master/jenkins-101-a-beginners-guide-to-automating-your-software-development-d506d14fecae?source=rss-c3527da0ea97------2</link>
            <guid isPermaLink="false">https://medium.com/p/d506d14fecae</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Gunish Jha]]></dc:creator>
            <pubDate>Sun, 12 Mar 2023 14:10:09 GMT</pubDate>
            <atom:updated>2023-03-12T14:13:32.572Z</atom:updated>
            <content:encoded><![CDATA[<p>Jenkins is a powerful and popular automation server that can be used to build, test, and deploy software. If you are just getting started with Jenkins, you might be wondering how to add Maven, configure credentials, and configure Jenkins to build and deploy a war file, schedule polling SCM, configure users for authorization, and add Slack notification. In this article, we will cover all of these topics step by step.</p><blockquote>Adding Maven to Jenkins</blockquote><p>To add Maven to Jenkins, you will need to install the Maven Integration plugin. Here’s how to do it:</p><ol><li>Go to the Jenkins dashboard and click on “Manage Jenkins” in the left sidebar.</li><li>Click on “Manage Plugins” and select the “Available” tab.</li><li>Search for “Maven Integration” and select the checkbox next to it.</li><li>Click on “Install without restart” and wait for the installation to complete.</li></ol><p>Once the plugin is installed, you can configure Jenkins to use Maven by going to the “Global Tool Configuration” page and adding a new Maven installation. You will need to provide the path to the Maven installation on your machine.</p><blockquote>Configuring Credentials</blockquote><p>Jenkins allows you to configure credentials that can be used to authenticate with external systems. Here’s how to do it:</p><ol><li>Go to the Jenkins dashboard and click on “Credentials” in the left sidebar.</li><li>Click on “System” and then “Global credentials”.</li><li>Click on “Add Credentials” and select the type of credentials you want to add (e.g., Username and password).</li><li>Enter the username and password and click on “OK”.</li></ol><p>Once you have added the credentials, you can use them in your Jenkins jobs by selecting “Use secret text(s) or file(s)” in the “Build Environment” section of your job configuration and selecting the credentials you want to use.</p><blockquote>Configuring Jenkins to Build and Deploy a War File</blockquote><p>To configure Jenkins to build and deploy a war file, you will need to create a new job. Here’s how to do it:</p><ol><li>Go to the Jenkins dashboard and click on “New Item” in the left sidebar.</li><li>Enter a name for the job and select “Freestyle project”.</li><li>In the “Source Code Management” section, select the SCM you want to use (e.g., Git).</li><li>In the “Build” section, select “Invoke top-level Maven targets” and enter the Maven goals you want to run (e.g., “clean package”).</li><li>In the “Post-build Actions” section, select “Deploy war/ear to a container” and configure the settings for your deployment environment.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RLOh0Am2BKTsEl_u8LdvfQ.png" /><figcaption>Jenkins Dashboard Home Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UzWNke_a0JYvWmHXjysYtg.png" /><figcaption>Maven Project Deployment window</figcaption></figure><p>Once you have configured the job, you can run it by clicking on “Build Now” to test run the build completion and it’s deployment.</p><p>To test the deployed application you can call the curl command to verify if the application has been deployed in your tomcat server or not</p><pre>curl http://localhost:8081/testapp/api</pre><blockquote>Schedule Polling SCM</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*--p6jJ6XmcOFUPcj1-3Eaw.png" /><figcaption>Poll SCM</figcaption></figure><p>To configure Jenkins for schedule polling SCM is to open configure section of the job. Follow these steps:</p><ol><li>Go to the Jenkins Configuration and click on “Build Triggers.”</li><li>select “Poll SCM” as the trigger type.</li><li>In the “Schedule” section, enter the crontab expression you will be using (e.g. H/5 * * * *). we can set the polling interval to your desired frequency.</li></ol><blockquote>User Authorization</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PF4SdRwkQ3LX4xg4tOAqRA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ccQ86sjT0yvHJlfQJ1fA3w.png" /></figure><p>To configure user authorization to control who can access your Jenkins instance. Follow these steps:</p><ol><li>Go to the Jenkins dashboard and click on “Manage Jenkins”</li><li>Click on “Manage User” . Create two users.</li><li>Again Go to “Manage Jenkins” and select “Manage and Assign Roles” select “Manage role” and create your 2 different roles</li><li>Now again come back to manage “Assign Roles” section and map the newly created user with the newly managed roles we have created.</li><li>Now logout and try logging you would be able to see the user with only view access won’t get build deployment options visible anymore and the other users with more access preveleges will be able to modify and build the triggers as well.</li></ol><blockquote>Slack Notification</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xOGJAXzMNlAdAJMUvQlX6w.png" /><figcaption>Slack configuration</figcaption></figure><p>The final step is to set up Slack notification to receive alerts from Jenkins when builds fail or succeed. Follow these steps:</p><ol><li>Go to the Slack website and create a new Slack channel.</li><li>Go to the Slack App section and generate Jenkins CI token and credentials.</li><li>Go to the Jenkins dashboard and click on “Manage Jenkins.”</li><li>Click on “Configure System.”</li><li>Scroll down to the “Slack” section and enter the webhook URL.</li><li>Save your changes and test the Slack integration by running a build.</li></ol><p>In conclusion, Jenkins is a versatile automation server that can streamline your software development process. By following the step-by-step instructions in this article, you should now be able to add Maven, configure credentials, and configure Jenkins to build and deploy a war file, schedule polling SCM, configure users for authorization, and add Slack notification. With these tools and configurations in place, you can automate much of your software development workflow, saving time and reducing the risk of errors. Remember, the key to success with Jenkins is to start small and build gradually as you become more comfortable with its features. So, keep learning and experimenting, and soon you’ll be a Jenkins expert!.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d506d14fecae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are coaching teachers really helping shape the future of the person/society?]]></title>
            <link>https://medium.com/@gunish.jha.master/are-coaching-teachers-really-helping-shape-the-future-of-the-person-society-1f01beb64ff8?source=rss-c3527da0ea97------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f01beb64ff8</guid>
            <category><![CDATA[coaching-classes]]></category>
            <category><![CDATA[coaching-center]]></category>
            <category><![CDATA[teachers]]></category>
            <dc:creator><![CDATA[Gunish Jha]]></dc:creator>
            <pubDate>Sat, 05 Feb 2022 20:39:57 GMT</pubDate>
            <atom:updated>2022-02-05T20:41:43.346Z</atom:updated>
            <content:encoded><![CDATA[<p>We have heard from all forms of people many times that teaching is a noble and selfless profession where person decides to help guide other people on their path of learning and enlightenment.</p><p>I personally have gone through enormous number of classes by amazing bunch of teachers throughout my academic career which has helped me learn directly as well as Indirectly therefore, I have very deep rooted respect for the profession, but I subconsciously have a demarcation in between the people who teach topics for the purpose of learning and knowledge and the person who just shares cheat codes and hacks in general so as to increase his followers and accumulate more wealth.</p><p>If we go by the philosophy “may the best men/women/trans/others win”. The purpose of exam is to filter out the top N most intelligent and motivated brains. So if we don’t have any coaching institute we still will have N most intelligent people clearing the exam and going into these places.</p><p>When we add coaching institutes in the above picture what they do is, they focus on clearing exam rather than learning of a concepts and are pretty successful in doing that through their extensive research on question papers, but this eventually skews the process of selecting N most intelligent people to N most intelligent people in these institutes thereby leading to overall decrease in IQ reaching out. This also leads to most of people who join coaching institute only getting selected and starving people who can’t afford sky high fees of the institutes but in the open world we can’t stop anyone from helping anyone or providing any service as this won’t feasible socially therefore many of these institutes still exists.</p><p>So is it fair to assume they don’t add any value whatsoever? , I would say we are hasting into conclusion too fast for that, Actually many of these institutes have very strong marketing team which sell the false dream of success directly or indirectly which convinces many of the people to prepare who otherwise wouldn’t have had even tried and in many of these exams. The course syllabus for many of these exams is too wide and if anyone prepares for these exams he/she/others will go through a range of topics even though only from exam preparation point of view , which really is something otherwise who wouldn’t have had read anything. If we see at larger picture these coaching institutes are helping in mass enlightenment of the people . Now these enlightened people are the most powerful force that any society could have wished for they are more equipped to create a better future for themselves as well as people around them.</p><p>In summary I would like to conclude that the coaching exam preparation teachers doesn’t help colleges filter out the best rather it makes the process skewed but the mass enlightenment created by these institute teachers is very powerful and helpful to the society at large and every Institute should also focus on people’s knowledge as well rather than only sharing hacks or cheat codes for clearing exam , which will help the people to attain long term happiness in their life indirectly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f01beb64ff8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Brief intro on various API Specifications REST, SOAP, GraphQL and GRPC]]></title>
            <link>https://medium.com/@gunish.jha.master/brief-intro-on-various-api-specifications-rest-soap-graphql-and-grpc-612832ec091?source=rss-c3527da0ea97------2</link>
            <guid isPermaLink="false">https://medium.com/p/612832ec091</guid>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[grpc]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[soap-api]]></category>
            <dc:creator><![CDATA[Gunish Jha]]></dc:creator>
            <pubDate>Sat, 15 Jan 2022 16:22:49 GMT</pubDate>
            <atom:updated>2022-01-15T16:31:32.607Z</atom:updated>
            <content:encoded><![CDATA[<p>An <strong>application programming interface</strong> (<strong>API</strong>) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build or use such a connection or interface is called an <em>API specification. </em>In simpler words API expose the information from server which can be fetched by other systems connected through network.</p><p>In my exposure while trying to fetch data from API in enterprise applications the choice of API specification was already being governed by the server’s API standard but over the period of time I got exposed to these different set of API standards that is: REST, SOAP, GraphQL and GRPC, there are many others but for the brevity of this draft we would limit our discussion to these.</p><p><strong>REST:</strong> So if we start talking about REST it stands for <strong>RE</strong>presentational <strong>S</strong>tate <strong>T</strong>ransfer and it’s an architectural style which has six guiding principles namely (Uniform Interface, Client-server, stateless, cacheable, Layered system, Code on demand (optional)) and a web API that follows above is called REST API. 94% of respondents of State of API 2021 survey , said that they are using REST API, so most of you must have already come across “GET, PUT, POST DELETE” client request to access the web API’s. Below is the sample image of postman client requesting a demo REST API server. In the REST API we specify the request type(“GET”), the URL where API is exposed and the header and authorizations configuration if and as required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NbOHeO3FFr-96QSjSvX7rQ.jpeg" /><figcaption>Postman Client GET request for REST API</figcaption></figure><p><strong>SOAP: </strong>It<strong> </strong>stands for <strong>S</strong>imple <strong>O</strong>bject <strong>A</strong>ccess <strong>P</strong>rotocol ,relies heavily on XML, and together with schemas, defines a very strongly typed messaging framework. it takes more bandwidth while communicating, the usage of SOAP API is less widespread when compared to REST(As per the State of API 2021 survey only 48% respondents have used it and only 8% love using it). While communicating with SOAP we have to pass the XML document as well in the body as given in the below example where we are trying to access a public SOAP API server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p3nxBCNumrv0ZowrhU7l6w.jpeg" /><figcaption>Postman Client POST request for SOAP API</figcaption></figure><p><strong>GraphQL:</strong> It was developed by Facebook and is powering its apps since 2012 and has been open sourced since 2015 .Its usage has got a lot of traction lately, it is used by 31% users as per the open API survey of 2021.</p><p>It is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools. In simple words we can query our API end points and rather than taking all the data from the end points we can limit the number of field we want to fetch which has following advantages:</p><ol><li>It helps in saving network bandwidth</li><li>Query multiple field from different sources through same end point.</li><li>We can add more fields and deprecate extra field without creating versions.</li></ol><p>There can be a “query” request to fetch the data from GraphQL server as well as “mutation” request to add/post the data to server, below is the sample Altair client request to a demo GraphQL server created on my local system, here we specify the URL, the type of request (“query”), the function that we want to access (“getBooks”) and then finally the fields that we want access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nTeRS4hQlYxvEiHSlTugTA.jpeg" /><figcaption>Altair GraphQL client query request</figcaption></figure><p><strong>GRPC:</strong> It is an Open source Remote Procedure Call framework created by Google and is used for faster internal communication in backend system, it makes remotely written procedure accessible to the system, it is based on HTTP/2 and its messages are serialized using <a href="https://developers.google.com/protocol-buffers/docs/overview">Protobuf</a>, an efficient binary message format. Protobuf serializes very quickly on the server and client. Protobuf serialization results in small message payloads, important in limited bandwidth scenarios like mobile apps.</p><p>While designing GRPC end points we can create a .proto file and through our language compiler we can generate the compiled stub from the .proto file which contains the schema of the API which we can bind later to the GRPC server end point. Below is the sample BloomRPC client to access GRPC demo server, here we have to pass .proto file at the client end as well and from the file we can select the function that we want to access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3CcaEu_1mu8gyvIX5TKN8A.jpeg" /><figcaption>BloomRPC GRPC client to access the login function</figcaption></figure><p>The goal of this draft was to give you a brief direction on various API specification , will be back with more updates soon. You can comment and share the feedback as well, would love to work upon them in future, You can follow me for more such updates.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=612832ec091" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[short intro to Redis.]]></title>
            <link>https://medium.com/@gunish.jha.master/short-intro-to-redis-dafd52998a0?source=rss-c3527da0ea97------2</link>
            <guid isPermaLink="false">https://medium.com/p/dafd52998a0</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[cache]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[redis-cluster]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <dc:creator><![CDATA[Gunish Jha]]></dc:creator>
            <pubDate>Sun, 31 Oct 2021 17:08:46 GMT</pubDate>
            <atom:updated>2021-11-02T13:16:18.703Z</atom:updated>
            <content:encoded><![CDATA[<h3>Brief intro to Redis.</h3><p>After spending some time watching various high level design videos using Redis as cache. There was some curiosity in me and I wanted to know more about Redis, if you would also like to know more about the same, this is a brief intro about Redis.</p><p>Redis stands for Remote Dictionary Server, like me most of you must have already heard it’s very fast data storage solution mainly used as level 1 cache for the application to get faster reads. so the reason it’s fast is because it’s an <strong>in memory </strong>data store (<em>i.e everything is stored in RAM</em>) and stores everything in format of dictionary (where we have everything is in the format of key value pairs) but for persistence and backup we can enable backup storage on disk as well.</p><p>so if you want to quickly try Redis, we can access through the following <a href="https://try.redis.io/">link</a> ( if facing any challenge you can type directly <a href="https://try.redis.io/">https://try.redis.io/</a> ) .</p><h4><strong><em>data types:</em></strong></h4><p>Redis support variety of data types that we can store in values part that is string , number , list of values, hashset and sets.</p><h4>storing and Retrieval:</h4><p>storing and pulling/selecting the values from redis is as simple as given example for string and list below.</p><p>&gt; <a href="https://try.redis.io/#run"><strong>set a 20</strong></a></p><p><strong>OK</strong></p><p>&gt; <a href="https://try.redis.io/#run"><strong>get a</strong></a></p><p><strong>“20”</strong></p><p>&gt; <a href="https://try.redis.io/#run"><strong>lpush list_of_student_names albert bohr raman newton maxwell</strong></a></p><p><strong>(integer) 5</strong></p><p>&gt; <a href="https://try.redis.io/#run"><strong>lrange list_of_student_names 0 4</strong></a></p><p><strong>1) “maxwell”<br>2) “newton”<br>3) “raman”<br>4) “bohr”<br>5) “albert”</strong></p><p>so we can just create a connection to Redis in our program and start making use of it , to store the data for quick access.</p><p>Meanwhile the above information was sufficient for you to get started but there are some other topics that ,we should explore to dig deeper into redis.</p><h4>Mass data insertion:</h4><p>We can pass the file with all the redis commands to store or retrieve the data and we can trigger the complete file in single run command which is handled by redis implicitly.</p><h4>Backup and recovery :</h4><p>We have two option to take backups that is, RDB and AOF format, in RDB format we take the snapshot of the actual data values at regular intervals as set in redis system configuration file. in AOF format backup, we keep saving the commands in one log file and whenever we want to restore we can rerun the commands to recreate the same dictionary structure.</p><h4>Master slave configurations:</h4><p>So for each master we can have a slave configured, so we have multiple read systems available and we can use them for backup as well in case of master failure, we can use the slave as new master system.</p><h4>Sentinel Server:</h4><p>We can also configure sentinel server with redis, so that once redis master fails then out of multiple backup slaves one is picked as the new master and other are automatically adjusted to point to new master.</p><h4>Redis Cluster:</h4><p>We can setup a redis cluster for which we need at least 6 redis system running out of which 3 becomes master and 3 becomes slave and once master is down , slave becomes the master automatically and the data is divided among the three master system internally and while data retrieval also it can handle by itself to identify and fetch from the correct system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dafd52998a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>