<?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 Sandeep Gadhiya on Medium]]></title>
        <description><![CDATA[Stories by Sandeep Gadhiya on Medium]]></description>
        <link>https://medium.com/@sandeepgadhiya22?source=rss-76554cb93365------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7gF6Gm-NjIvPWTSPNTP2dg.jpeg</url>
            <title>Stories by Sandeep Gadhiya on Medium</title>
            <link>https://medium.com/@sandeepgadhiya22?source=rss-76554cb93365------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 08:36:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sandeepgadhiya22/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[Serverless Architecture]]></title>
            <link>https://medium.com/@sandeepgadhiya22/serverless-architecture-1e13356eb75?source=rss-76554cb93365------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e13356eb75</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[serverless-architecture]]></category>
            <category><![CDATA[function]]></category>
            <dc:creator><![CDATA[Sandeep Gadhiya]]></dc:creator>
            <pubDate>Sat, 06 Aug 2022 06:56:26 GMT</pubDate>
            <atom:updated>2022-08-06T07:02:24.157Z</atom:updated>
            <content:encoded><![CDATA[<h4>There are still servers in serverless, but they are abstracted away from app development.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mfsg6mGVoSv-mk9APDqRkg.jpeg" /><figcaption>Traditional &amp; Serverless architecture</figcaption></figure><p>Serverless is a cloud-native development model that allows developers to building and running applications and services without having to manage the underlying server infrastructure.</p><p>The term “SERVERLESS” is confusing, This is a managed service where a provider handles server infrastructure.</p><p>Serverless architecture encompasses two different but overlapping areas:</p><h4>BaaS (Backend as a service)</h4><p>Serverless was first used to describe applications that significantly or fully incorporate third-party, cloud-hosted applications and services, to manage server-side logic and state.</p><p>Cloud-accessible databases (e.g., Parse, Firebase).<br>Authentication services (e.g., Auth0, AWS Cognito).</p><h4>FaaS (Function as a service)</h4><p>FaaS is a cloud computing service that allows developers to build, compute, run, and manage application packages as <em>functions</em> without having to maintain their own infrastructure.</p><p>FaaS is the most <em>central technology in serverless architectures </em>and is focused on the event-driven computing paradigm.</p><p>FaaS is an event-driven execution model that runs in stateless containers and those<em> functions manage server-side logic</em> <em>and state</em> through the use of services from a FaaS provider (Amazon, Google, IBM, Microsoft).</p><p>Serverless and Functions-as-a-Service (FaaS) are often conflated with one another but the truth is that <strong>FaaS is actually a subset of serverless</strong>.</p><p>Traditional architecture has physical hardware, virtual machine operating system, and web server software management.</p><p>With FaaS, all is handled automatically by your cloud service provider. This allows you to focus solely on individual functions in your application code.</p><p>A Serverless service is one that entirely, or very nearly entirely, exhibits <strong>five common traits.</strong><br>1. Requires no management of Server hosts or Server processes.<br>2. Self auto-scales and auto-provisions, based on loads.<br>3. Offers costs based on precise usage. No. of requests and computing time cost.<br>4. Has performance capabilities defined in terms other than host size/count.<br>5. Has implicit High Availability.</p><p><em>Some popular examples of FaaS include:</em></p><p><em>IBM Cloud Functions<br>Amazon’s AWS Lambda<br>Google Cloud Functions<br>Microsoft Azure Functions (open source)<br>OpenFaaS (open source)</em></p><p>For instance, we created a price comparison website for e-commerce products.</p><p>Users search products and check for price. The web server runs a price processor asynchronously to fetch data from remote sites and rendered on UI.</p><p>The server also stores user activity and updated prices in DB.</p><p>Traditionally, the architecture will look something like the diagram below.</p><p>Java or Javascript on the server side, with an HTML + Javascript component as the client, price processor will handle all fetch and render logic:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*9ZfsqjrzL-en-zfqyvmBRQ.png" /><figcaption>Traditional Client-Server architecture.</figcaption></figure><p>With this architecture, the client can be relatively unintelligent, with much of the logic in the server — authentication, page navigation, searching, transactions — implemented by the server application.</p><p>While Serverless architecture diagram looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*g7MlbaRcOnwdT5OqLzo88A.png" /><figcaption>Serverless architecture.</figcaption></figure><p>Did you get the difference? It&#39;s too small, we just replace the asynchronous price processor with the Faas <em>function</em>.<br>It just multiplied itself based on event-triggered and request load in context by the cloud provider.<br>The FaaS environment may also process several requests in parallel by instantiating multiple copies of the function code.</p><p><strong>Fundamentally, FaaS is about running backend code without managing your own server systems or your own long-lived server applications.</strong></p><p>In our price-comparing example, FaaS replaces the price-processing server (possibly a physical machine, but definitely a specific application) with something that doesn’t need a provisioned server, nor an application that is running all the time.</p><p>FaaS functions are regular applications when it comes to language and the environment.</p><p>FaaS offerings do not require coding to a specific framework or library.</p><p>For instance, AWS Lambda functions can be implemented in Javascript, Python, Go, any JVM language (Java, Clojure, Scala, etc.), or any .NET language.</p><p><em>Developers can actually use any language that can compile down to a Unix process.</em></p><p>Deployment is very different from traditional systems since we have no server applications to run ourselves. In a FaaS environment, we upload the code for our function to the FaaS provider, and the provider does everything else necessary for provisioning resources, instantiating VMs, managing processes, etc.</p><p>Functions in FaaS are typically triggered by event types defined by the provider.</p><blockquote>Horizontal scaling is completely automatic, elastic, and managed by the provider.</blockquote><h3>Benefits</h3><h4>Reduced operational cost:-</h4><ul><li>Serverless is, at its most simple, an outsourcing solution. , but it depends on the use cases. <a href="https://einaregilsson.com/serverless-15-percent-slower-and-eight-times-more-expensive/">It&#39;s costlier</a></li><li>You pay less for your managed database because one vendor is running thousands of very similar databases.</li><li>Increased developer productivity and faster development time</li></ul><h4>Scaling cost :-</h4><ul><li>The biggest benefit is that you only pay for the computer that you need.</li><li>Depending on traffic scale and shape, this can be a huge economic win for developers.</li></ul><h4>Easier operational management:-</h4><ul><li>Since scaling is performed by the provider on every request/event, <strong>you no longer need to think about the question of how many concurrent requests you can handle</strong> before running out of memory or seeing too much of a performance hit.</li></ul><h3>Drawbacks</h3><h4>Vendor control:-</h4><ul><li>With any outsourcing strategy, you are giving up control of some of your system to a third-party vendor.</li></ul><h4>Vendor lock-in:-</h4><ul><li>It’s very likely that whatever Serverless features you’re using from one vendor will be implemented differently by another vendor. If you want to switch vendors you’ll almost certainly need to update your operational tools (deployment, monitoring, etc.), you’ll probably need to change your code (e.g., to satisfy a different FaaS interface), and you may even need to change your design or architecture if there are differences to how competing vendor implementations behave.</li></ul><h3>Why Go Serverless?</h3><p>Event-based architecture, low costs, and easy deployment make serverless architecture highly popular.</p><p>Its scalability and pricing make it a good fit for startups and other organizations that don’t have the time or resources to maintain servers.</p><p><strong>The Serverless Architecture Market </strong>size exceeded USD 7 billion in 2020 and is poised to register gains at over 20% CAGR from 2021 to 2027.</p><p>This is the first step toward strengthening your knowledge about Cloud computing.</p><p>Please give feedback, if you have any!!, <a href="https://twitter.com/sandeep_22_"><em>Contact me on Twitter</em></a><em> </em>for tech threads.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e13356eb75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java is pass-by-value !!]]></title>
            <link>https://medium.com/@sandeepgadhiya22/java-is-pass-by-value-6a3b46c7ea3e?source=rss-76554cb93365------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a3b46c7ea3e</guid>
            <category><![CDATA[oops-concepts]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[jvm]]></category>
            <category><![CDATA[java-best-practices]]></category>
            <category><![CDATA[java8]]></category>
            <dc:creator><![CDATA[Sandeep Gadhiya]]></dc:creator>
            <pubDate>Sat, 30 Jul 2022 05:58:56 GMT</pubDate>
            <atom:updated>2022-07-30T05:58:56.167Z</atom:updated>
            <content:encoded><![CDATA[<h3>Java is pass-by-value !!</h3><blockquote>All Programming languages have two semantics, pass-by-value, and pass-by-reference.</blockquote><p>It&#39;s a bit confused for beginners. but not hard to understand.</p><p>Find out what happens when you pass an object reference to a method in Java.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*pXuWbFSKnyuIIjUbfGouCg.png" /></figure><h3>Pass-by-value, Primitive data type.</h3><ol><li>The actual parameter (or expression) is fully evaluated and the resulting value is <em>copied</em> into a location being used to hold the formal parameter’s value (formal argument) during method/function execution.</li><li>If the function or procedure is able to assign values to its parameters, only its local variable is assigned — that is, anything passed into a function call is unchanged in the caller’s scope when the function returns.</li><li>Primitive types passed by value.</li><li>All object references in Java are passed by value.</li></ol><p>Let&#39;s check the primitive data type pass-by-value example.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1f1a071bdb91db500fed9347aa12267e/href">https://medium.com/media/1f1a071bdb91db500fed9347aa12267e/href</a></iframe><h3>Pass-by-value, Objects reference.</h3><blockquote><em>Object references are passed by value</em>.</blockquote><ol><li>In Java, all objects are dynamically stored in Heap space.</li><li>These objects are referred to from references called reference variables.</li><li>The reference variables are stored in stack memory and the object that they’re referring to, is stored in a Heap memory.</li><li><strong>Whenever an object reference is passed as an argument, an exact copy of the reference variable is created in the stack which points to the same location of the object in heap memory as the original reference variable.</strong></li><li><strong>As a result, whenever we make any change in the passed object attributes in the method, that change is reflected in the original object.</strong></li><li>However, if we allocate a new object to the passed reference variable, then it won’t be reflected in the original object.</li></ol><p>Let&#39;s understand the 4, 5, and 6th points through examples.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5ee4dddf75a7b01dd7c01a2550fbf501/href">https://medium.com/media/5ee4dddf75a7b01dd7c01a2550fbf501/href</a></iframe><p>Passing in the Tree myTree into plantTree() and change the name there using the parameter did, in fact, change the name of the tree.</p><p>This looks like the pass-by-reference. making a change to the passed-in object affects that object’s values in memory.</p><p>That is, for a reference variable, the value on the stack is the address on the heap at which the real object resides.</p><p>The reference variable holds the memory address of the object. when we pass it to function, it passes reference variable value i.e. <em>memory address</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*DeqUPPjyEJMqg9bowEcd6A.png" /></figure><p>On the stack, two reference variable holds the same memory location.<br>1. reference variable (or actual variable).<br>2. former parameter (or function argument).</p><p>From the above code on line 22, a reference variable pointed to a new Object “Neem”. As the reference variable holds only memory location, it will now update memory location to a new Object in Heap, it won&#39;t update the value of the <em>myTree</em> object.</p><p>Key points:</p><ol><li>The reference variable holds the memory location of the Object as its pass-by-value.</li><li>If we update the object property, it will affect the original object.</li></ol><p>If you make it through here and enjoyed it, Cheers!!</p><p>For daily tech threads and cool stuff !! ,<a href="https://twitter.com/sandeep_22_"> Follow me on Twitter.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a3b46c7ea3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automate PostgreSQL Timestamp]]></title>
            <link>https://medium.com/@sandeepgadhiya22/automate-postgressql-timestamp-69dfa483dd03?source=rss-76554cb93365------2</link>
            <guid isPermaLink="false">https://medium.com/p/69dfa483dd03</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[dbms]]></category>
            <category><![CDATA[timestamp]]></category>
            <category><![CDATA[sql]]></category>
            <dc:creator><![CDATA[Sandeep Gadhiya]]></dc:creator>
            <pubDate>Sat, 23 Jul 2022 16:51:57 GMT</pubDate>
            <atom:updated>2022-07-23T18:06:10.060Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>let your database automate some of what used to only happen in application logic for track update, delete timestamp.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*rOzoncElqdqIAThTj8Idgg.png" /></figure><p>The example makes a more clear picture.</p><p>Tables have timestamps columns in a database that indicate when a row has been created, updated, or deleted (soft delete).</p><p>Productivity, we don&#39;t want to add this column in every crud operations query.</p><p>Let&#39;s look at examples, Create customer_entry a table.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/37ea8266001f08a5a5dfa0106104b5ae/href">https://medium.com/media/37ea8266001f08a5a5dfa0106104b5ae/href</a></iframe><p>Setting created_at to default current_timestamp, on each new entry created_at will add the system&#39;s current time by default.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/28df6e6f9374b6fabd2cfce25faca38f/href">https://medium.com/media/28df6e6f9374b6fabd2cfce25faca38f/href</a></iframe><p>The above Insert and Select query output would be something like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*bmYzH7dmPCfsyQgf0LisRA.png" /><figcaption>Insert query output.</figcaption></figure><p>Update and Delete row value will be null.</p><p>Next, we could add an update query by providing an explicit column.<br>.... updated_at = CURRENT_TIMESTAMP .</p><p>Better, we can ignore those columns (updated_at, deleted_at) in the query and let some background tasks do for us.</p><blockquote>We use a trigger to set column value of the updated row.</blockquote><p>A trigger does automate things in the background by updating time to current_timestamp.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a84dd015292e6dd7b15e3989bc86e197/href">https://medium.com/media/a84dd015292e6dd7b15e3989bc86e197/href</a></iframe><p>set_updated_at the function simply sets any column named updated_at to the current timestamp for each row passed to it by the trigger.</p><p>Now, you just have to create your trigger like so:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0c632ef2eccc29618de268733f7a96a0/href">https://medium.com/media/0c632ef2eccc29618de268733f7a96a0/href</a></iframe><p>set_customer_modtime will trigger function set_updated_at each time when any UPDATE operation will occur on the table customer_entry.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8869ba67dd7acce5e8fa571a1a9cd3d6/href">https://medium.com/media/8869ba67dd7acce5e8fa571a1a9cd3d6/href</a></iframe><p>I omit the updated_at column, Let&#39;s check the output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*U1noB0_GRa_A8e83IXCl0A.png" /><figcaption>Update query output.</figcaption></figure><p>What about the Delete case? Create <a href="https://www.postgresql.org/docs/13/rules-update.html">Rule</a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/69b3ea6ab2e7ddcb3a7643fb73ad679f/href">https://medium.com/media/69b3ea6ab2e7ddcb3a7643fb73ad679f/href</a></iframe><p>Now, the delete query will soft delete the row, it will update deleted column value.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0999efe30e0967dc804e2f88325ac6d8/href">https://medium.com/media/0999efe30e0967dc804e2f88325ac6d8/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*WJhKTnb4rxHOFFpj8lRT4Q.png" /><figcaption>Delete query output.</figcaption></figure><p>If you make it till here, cheers.<br>Implement the overhead changes for improving productivity.</p><p>I Write daily techs and facts thread on Twitter, <a href="https://twitter.com/sandeep_22_">Follow </a>on Twitter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69dfa483dd03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Servers and Application Servers: Why Different?]]></title>
            <link>https://medium.com/@sandeepgadhiya22/web-servers-and-application-servers-why-different-a3a5f9b13612?source=rss-76554cb93365------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3a5f9b13612</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[computer-network]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[application-development]]></category>
            <dc:creator><![CDATA[Sandeep Gadhiya]]></dc:creator>
            <pubDate>Sat, 16 Jul 2022 11:25:48 GMT</pubDate>
            <atom:updated>2022-07-16T11:30:14.649Z</atom:updated>
            <content:encoded><![CDATA[<h3>Web Servers And Application Servers: Why Different?</h3><blockquote>To serve dynamic web application content, both serevers need to work together….</blockquote><figure><img alt="server racks" src="https://cdn-images-1.medium.com/max/1024/1*w7h-mzQKySQyBaNeHJtCPA.jpeg" /></figure><p>Internet owns two types of content, Static &amp; Dynamic.</p><p>Static content includes blogs and news sites, will not update based on user interactions.</p><p>Dynamic content includes E-commerce, trading sites and automatically populated fields, and user-edited content like an online banking form.</p><h3>WEB SERVERS</h3><p>Every request from the browser is first plugged into the Web Server.<br>Web servers are one computer or multiple computers or racks that serve, web pages to internet end users.</p><p>Every Web server has its location, which is the IP address and likely a domain name. <br><br>For instance,</p><ol><li>If you enter this page’s URL <a href="https://medium.com/@sandeepgadhiya22">https://medium.com/@sandeepgadhiya22</a> in your browser,</li><li>The browser sends a request to the Web server whose domain name is medium.com.</li><li>The server then fetches this web page and sends it to your browser.</li></ol><p>Computers with high-capacity storage, fast processors, high bandwidth capability, and connection to high-speed internet are best suited to be web servers.</p><p>Web servers use the HTTP or HTTPS protocols to deliver stagnant web content.<br>Web servers may use add-ons to support PHP or Python language to provide dynamic content to web pages.<br>Scripting languages deliver functionality for connecting to databases or making calls to third-party APIs to deliver content.</p><h3>APPLICATION SERVERS</h3><p>An application server provides content that is dynamic or allows complex user interactions.</p><p>It is typically used for complex transaction-based applications, to support high-end needs like heavy traffic and complex requests, an application server has to have built-in redundancy.</p><p>Application servers work as a mediator between databases and web clients. They also communicate with web servers, which deliver content to the web client.</p><p>Use multiple protocols, HTTP, the most common web protocol, and IIOP/SSL.<br>Use multi-threading, which adds speed and efficiency to computing processes.<br>Implement business logic, which manages data behavior within the software.</p><h3>How do both servers function together?</h3><p>Application servers and web servers both communicate using <a href="https://docs.oracle.com/javaee/5/tutorial/doc/bnafe.html">servlets</a>, which are server-side Java classes that process web server requests and return a response.</p><p>Servlets are used to return dynamic web content to web pages.<br>Servlets cost is less then <a href="https://sites.google.com/site/sureshdevang/cgi-vs-servlet">CGI</a>.</p><p>When a web user searches or uses a web application in their browser:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*O6wZUspcpH7dTDqzD6R5kA.png" /><figcaption>Communication of servers.</figcaption></figure><ol><li>The user’s request is sent through the browser to the web server via an HTTP request.</li><li>The web server requests dynamic content from the application server, often using a servlet or scripting language PHP or Python.</li><li>The application server pulls data from the application database and returns it, along with any dynamic content, to the web server.</li><li>The web server loads the web application for the web client and end user.</li></ol><p><a href="https://medium.com/@sandeepgadhiya22/what-is-proxy-server-in-computer-networks-e32a45982fd2">Reverse proxy servers</a> and load balancers handle web traffic requests, passing them to the servers that have the bandwidth to serve end-user demands.</p><h4><strong>WEB SERVERS != APPLICATION SERVERS , DIFFERENCE ?</strong></h4><p>Web servers only serve HTTP and HTTPS requests and strictly provide static content.<br>Application servers provide dynamic web content.</p><p>Highly trafficked web applications require both web servers and application servers to collaborate and deliver dynamic web content.</p><h3>TRENDING WEB SERVERS</h3><p><a href="https://httpd.apache.org/"><strong>Apache</strong></a>, Free and open source web server software supports both types of web content, static and dynamic. Its code is customizable, allowing developers to tweak the web server as they like.</p><p><a href="https://docs.nginx.com/nginx/admin-guide/web-server/"><strong>Nginx</strong></a>, Free and open source, was founded in 2004. Nginx caches web content quickly and efficiently and serves more static web requests at one time than Apache can.</p><p><a href="https://www.iis.net/"><strong>Microsoft Internet Information Services (IIS)</strong></a> is Microsoft’s web server, developed to meet load and traffic demands for Microsoft’s main website.</p><blockquote>The three largest vendors by the million most visited sites metric — Apache, Nginx, and Cloudflare; <a href="https://news.netcraft.com/archives/category/web-server-survey/">Survey Numbers</a></blockquote><h3>TRENDING APPLICATION SERVERS</h3><p><a href="https://tomcat.apache.org/"><strong>Apache Tomcat</strong></a> is an open-source server for Java. Sun Microsystems first developed the code for Tomcat but eventually gave it to the Apache Software Foundation.</p><p><a href="https://www.oracle.com/in/middleware/technologies/weblogic.html"><strong>Oracle WebLogic</strong></a> is a Java Enterprise Edition application server, WebLogic can run on Kubernetes, allowing app developers to build container applications.</p><p>Thanks for reading!</p><p>You can <a href="https://twitter.com/sandeep_22_">follow me on Twitter</a> If the content sounds reasonable. <br>I write considerable Tech and Fact stuff on Twitter daily.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3a5f9b13612" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Proxy Server In Computer Networks ?]]></title>
            <link>https://medium.com/@sandeepgadhiya22/what-is-proxy-server-in-computer-networks-e32a45982fd2?source=rss-76554cb93365------2</link>
            <guid isPermaLink="false">https://medium.com/p/e32a45982fd2</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[proxy]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[proxy-server]]></category>
            <category><![CDATA[computer-networking]]></category>
            <dc:creator><![CDATA[Sandeep Gadhiya]]></dc:creator>
            <pubDate>Sat, 09 Jul 2022 11:23:14 GMT</pubDate>
            <atom:updated>2022-07-09T11:23:14.087Z</atom:updated>
            <content:encoded><![CDATA[<h3>What Is Proxy Server In Computer Networks ?</h3><blockquote><em>Proxy has existed since the birth of computer networks</em></blockquote><p><strong><em>Context </em></strong><em><br>What is proxy ? | Practical Example &gt; Udemy | Benefits and use case of Proxy Server. | Proxy Server setup options. |Forward Proxy and Reverse Proxy. |<br>VPN or Proxy.</em></p><h3><strong>What is proxy ?</strong></h3><p>A proxy server is usually deployed in the middle of two isolated networks and is responsible for data transfers from one side to the other so they appear as a single network.</p><p>In its simplest form, a proxy is a gateway between a user and the internet.</p><figure><img alt="Proxy Server Image" src="https://cdn-images-1.medium.com/max/900/1*LxwoTFnUgznI0UmnEsxs4w.png" /><figcaption>Middle ware proxy server between two singular networks.</figcaption></figure><h3>Practical Example</h3><p>User is making request from browser to <a href="http://www.udemy.com/">www.udemy.com</a> . With a proxy, instead of connecting directly to Udemy with user’s computer’s IP address, user request gets intercepted by the proxy.</p><p>Proxy updates request and sends it from its own IP address (Proxy Server IP). This remove user IP address and identifying information from the request to the Udemy server based on configuration of server. (Proxy Server Configuration)</p><p>Once the proxy has updated the information from user request, it will send user reformatted request to the Udemy server.</p><p>Next the proxy takes the data from the Udemy server back and does any checks it has been configured to do with that data. It could check for any malicious scripts or other security issues. Then it finally sends the data back to your computer and your page loads.</p><h3>Why Proxy Server ? | Proxy Use Case &amp; Benefits</h3><ul><li><strong>Routing</strong>. The proxy forwards data to different destinations according to the characteristics of the data transmitted.</li><li><strong>Load balancing</strong>. During forwarding, data is distributed to different destinations to improve throughput and avoid single point of failures. Layer 4 or Layer 7 load balancing is one of the use cases of proxy servers.</li><li><strong>Failover</strong>. When forwarding to a given destination fails, the proxy can choose an alternate destination, providing uninterrupted service to the requester.</li><li><strong>Access control.</strong> A proxy can decide what traffic is allowed through and what needs to be blocked. Web Application Firewalls (WAF) are a typical example.</li><li><strong>Identity management</strong>. Access control is often based on identity information, so proxies often have identity management capabilities as well.</li><li><strong>Network acceleration</strong>. A proxy accelerates network access by caching data.</li><li><strong>Metrics collection</strong>. Proxy captures data statistics and summarizes it to Network Performance Monitor (NPM) software for network optimization and network planning.</li><li><strong>Information security</strong>. In addition to access control, proxies can also be used for security auditing, TLS/SSL offloading, and data encryption to meet security requirements.</li></ul><h3>How is the proxy server set up?</h3><p><strong>Hardware version</strong> -] Hardware connections sit between your network and the internet, where they get, send, and forward data from the web.</p><p><strong>Software version or Programmable proxies</strong> -] software proxy can be obtained for a monthly fee. Sometimes, they are free. Paid proxies can meet the demands of a business with many devices. but make sure you research them to see if they meet your needs. Here is few of them.</p><p><a href="https://www.proxysite.com/">ProxySite</a> | <a href="https://hide.me/en/proxy">HideMe</a> | <a href="https://www.kproxy.com/">KProxy</a> | <a href="https://smartproxy.com/">SmartProxy</a> | <a href="https://www.megaproxy.com/">MegaProxy</a></p><h3>Forward Proxy | <strong>[Most used proxy ]</strong></h3><p>A forward proxy sits in front of clients and is used to get data to groups of users within an internal network. When a request is sent, the proxy server examines it based on configuration to decide whether it should proceed with making a connection.</p><p>Well known, open source forward proxy server is <a href="http://www.squid-cache.org/">Squid</a>.</p><blockquote>A forward proxy is best suited for corporate works for internal networks that need a single point of entry. Usually companies don’t allow unrestricted access to the internet from their internal network. Thus the internal users would need to use a proxy to access the internet.</blockquote><h3>Reverse Proxy</h3><p>When a server needs security and privacy from clients, that’s when these types of proxies come in.</p><p>Unlike a forward proxy, which sits in front of clients, reverse proxy is positioned in front of web servers and forwards requests from a browser to the web servers.</p><p>Reverse proxies are a strong option for popular websites that need to balance the load of many incoming requests.</p><p>Reverse proxies can prevent internet clients from gaining direct access to confidential data residing on content servers in an isolated network or intranet.</p><blockquote>A CDN (content delivery network) is more or less a set of glorified reverse proxy servers that act as a first step for serving the user’s requests</blockquote><h3><strong>VPN vs Proxy ?</strong></h3><p>If you need to constantly access the internet to send and receive data that should be encrypted or if your company has to reveal data you must hide from hackers and corporate spies, a VPN would be a better choice.</p><p>VPN is better suited for business use because users usually need secure data transmission in both directions.</p><p>Proxy is best for, if you simply want to know which websites team members are using or you want to make sure they have access to sites that block users from your country.</p><h3>#Conclusion</h3><p>Now you familiar with fundamentals about Proxy server , Its benefits .<br>Its working on high level, main types of proy server and how to setup proxy server.</p><p>Next blog we will see evolution of Proxy server over decades.</p><p>I write about other random stuff in tech, Full stack development. <br>You should follow me on <a href="https://twitter.com/sandeep_22_">Twitter</a> to check daily threads and learn stuff that is just cool sometimes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e32a45982fd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>