<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Harith Javed Bakhrani</title>
    <description>The latest articles on DEV Community by Harith Javed Bakhrani (@thecodebulb).</description>
    <link>https://dev.to/thecodebulb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F226888%2Fad7cb255-feb4-463c-ac79-afc7bc14a92f.jpeg</url>
      <title>DEV Community: Harith Javed Bakhrani</title>
      <link>https://dev.to/thecodebulb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thecodebulb"/>
    <language>en</language>
    <item>
      <title>Beginners Guide To CDN</title>
      <dc:creator>Harith Javed Bakhrani</dc:creator>
      <pubDate>Thu, 28 Nov 2024 11:33:49 +0000</pubDate>
      <link>https://dev.to/thecodebulb/beginners-guide-to-cdn-5def</link>
      <guid>https://dev.to/thecodebulb/beginners-guide-to-cdn-5def</guid>
      <description>&lt;p&gt;Before we get into the details of a CDN, we need to know this life fact: &lt;strong&gt;DISTANCE MATTERS&lt;/strong&gt;!&lt;/p&gt;

&lt;p&gt;Yes, the distance between the &lt;strong&gt;server&lt;/strong&gt; and the &lt;strong&gt;client&lt;/strong&gt; matters. &lt;strong&gt;&lt;em&gt;The further away the client will be from the server, the longer it would take for the server to respond to the client&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftqgbjqe5ajzfptbwmo58.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftqgbjqe5ajzfptbwmo58.gif" alt="distance between the server and the client matters, the further away the client would be, the longer it would take." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Having this fact in mind, what the CDN providers do is that they place their servers all over the &lt;strong&gt;WORLD&lt;/strong&gt; 🌍!&lt;/p&gt;

&lt;p&gt;They would be having servers in Africa, servers in Europe, servers in America, and basically in all countries and regions.&lt;/p&gt;

&lt;p&gt;So let's say a user from Africa requests some data from a website hosted in America, the request would first go to a server that is nearest to the client to check to see if the data is present there, if it's not, then it will go all the way to America and fetch the data from the main server and then cache it on it's way back before handing it to the client.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fguklc5g9w9t4kzp4ptjf.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fguklc5g9w9t4kzp4ptjf.gif" alt="Diagram showing illustration of how CDN works" width="1152" height="648"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As long as the data is cached, it will be served from the CDN server to all the users requiring the same data. This not only speeds up the delivery but also frees up your main server from resources so that it can attend to more critical requests!&lt;/p&gt;

</description>
      <category>devops</category>
      <category>cdn</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Communication between the application and the server in the same network [closed]</title>
      <dc:creator>Harith Javed Bakhrani</dc:creator>
      <pubDate>Tue, 10 Sep 2019 06:40:44 +0000</pubDate>
      <link>https://dev.to/thecodebulb/communication-between-the-application-and-the-server-in-the-same-network-closed-1hc7</link>
      <guid>https://dev.to/thecodebulb/communication-between-the-application-and-the-server-in-the-same-network-closed-1hc7</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fstackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/57757892/communication-between-the-application-and-the-server-in-the-same-network" rel="noopener noreferrer"&gt;
            Communication between the application and the server in the same network
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Sep  2 '19&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 1&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/57757892/communication-between-the-application-and-the-server-in-the-same-network" rel="noopener noreferrer"&gt;
        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fstackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          -3
        &lt;/div&gt;
        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fstackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;I am in the process of developing a CI/CD tool that would be running on kubernetes. The application would be responsible for creating a &lt;strong&gt;k8s job object&lt;/strong&gt; which would be treated as a &lt;strong&gt;slave&lt;/strong&gt; in order to run a pipeline.&lt;/p&gt;
&lt;p&gt;The image, the slave would be running is entirely up…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/57757892/communication-between-the-application-and-the-server-in-the-same-network" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>kubernetes</category>
      <category>go</category>
      <category>python</category>
    </item>
  </channel>
</rss>
