<?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: Ritika Kumar</title>
    <description>The latest articles on DEV Community by Ritika Kumar (@ritz_17).</description>
    <link>https://dev.to/ritz_17</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%2F3921898%2F5c4e0750-d821-47ef-918e-d5aea928917c.jpg</url>
      <title>DEV Community: Ritika Kumar</title>
      <link>https://dev.to/ritz_17</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ritz_17"/>
    <language>en</language>
    <item>
      <title>Why Edge Computing Matters in the AI Era</title>
      <dc:creator>Ritika Kumar</dc:creator>
      <pubDate>Tue, 12 May 2026 16:49:09 +0000</pubDate>
      <link>https://dev.to/ritz_17/why-edge-computing-matters-in-the-ai-era-f3h</link>
      <guid>https://dev.to/ritz_17/why-edge-computing-matters-in-the-ai-era-f3h</guid>
      <description>&lt;p&gt;Cloud Computing is a well-known term and a concept that almost every organization uses today. Previously, every firm faced the issue of setting up its own data centers, and of course, it was a tedious task to maintain servers and bear huge infrastructure costs.&lt;br&gt;
Then came Cloud Computing.&lt;/p&gt;

&lt;p&gt;Cloud Computing helped organizations save costs by providing only the services they required, such as servers, storage, networking, databases, and computing power, without managing the physical infrastructure themselves.&lt;/p&gt;

&lt;p&gt;But with the evolution of AI, cloud computing alone is no longer a complete solution.&lt;/p&gt;

&lt;p&gt;Why?&lt;/p&gt;

&lt;p&gt;Because AI today is not just powering websites and applications. It is running:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;self-driving cars&lt;/li&gt;
&lt;li&gt;IoT devices&lt;/li&gt;
&lt;li&gt;smart cameras&lt;/li&gt;
&lt;li&gt;drones&lt;/li&gt;
&lt;li&gt;robotics&lt;/li&gt;
&lt;li&gt;intelligent assistants&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These systems require real-time information and instant decision-making. Sending every request to a distant cloud server and waiting for the response introduces latency, which is not practical for modern AI-driven systems.&lt;/p&gt;

&lt;p&gt;And this is where &lt;strong&gt;Edge Computing&lt;/strong&gt; enters the picture.&lt;/p&gt;

&lt;p&gt;Honestly, I used to ignore this topic during my college days, thinking, “It’s not important.” 🤭&lt;/p&gt;

&lt;p&gt;But as usual, whatever we ignore somehow appears in exams🫣.&lt;br&gt;
So, without beating around the bush😜, let’s understand edge computing in the simplest way possible.&lt;/p&gt;

&lt;p&gt;Imagine you own a shop and want to get your car washed. But the car washing station is very far from your home.&lt;/p&gt;

&lt;p&gt;Now think about the problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It takes time to travel&lt;/li&gt;
&lt;li&gt;You waste energy&lt;/li&gt;
&lt;li&gt;Lose customers because the shop is closed😣&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But if the car washing station is near your home, things become much easier:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Less travel time&lt;/li&gt;
&lt;li&gt;Quicker service&lt;/li&gt;
&lt;li&gt;Manage your customers efficiently😊&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Edge computing works in the exact same way.&lt;/p&gt;

&lt;p&gt;Instead of sending data all the way to centralized cloud servers for processing, the computation happens near the device itself.&lt;/p&gt;

&lt;p&gt;For example, imagine having an AI assistant on your smartphone that works even without internet connectivity using a dedicated AI chip from companies like &lt;strong&gt;NVIDIA&lt;/strong&gt;, &lt;strong&gt;Qualcomm&lt;/strong&gt;, or &lt;strong&gt;Apple&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;When you ask the assistant a question:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The processing happens locally on the device&lt;/li&gt;
&lt;li&gt;The AI model runs directly on the chip&lt;/li&gt;
&lt;li&gt;You get a response almost instantly&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now compare this with cloud-only processing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your request travels to cloud servers&lt;/li&gt;
&lt;li&gt;GPUs process the request&lt;/li&gt;
&lt;li&gt;The response travels back to your device&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This round trip may only take seconds, but for real-time systems, even milliseconds matter.&lt;/p&gt;

&lt;p&gt;Imagine a self-driving car waiting for cloud instructions before applying the brakes.&lt;/p&gt;

&lt;p&gt;Scary, right? 🤦‍♀️&lt;/p&gt;

&lt;p&gt;That is why edge computing is becoming extremely important for modern AI systems. It helps reduce:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Latency&lt;/li&gt;
&lt;li&gt;Bandwidth Consumption&lt;/li&gt;
&lt;li&gt;Internet Dependency&lt;/li&gt;
&lt;li&gt;Response Time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In the next blog, we will discuss how the future of AI is hybrid.😎. Stay tuned.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cloudcomputing</category>
      <category>edgecomputing</category>
      <category>aiops</category>
    </item>
    <item>
      <title>Create your first Docker Image</title>
      <dc:creator>Ritika Kumar</dc:creator>
      <pubDate>Sat, 09 May 2026 16:58:33 +0000</pubDate>
      <link>https://dev.to/ritz_17/create-your-first-docker-image-1fpi</link>
      <guid>https://dev.to/ritz_17/create-your-first-docker-image-1fpi</guid>
      <description>&lt;p&gt;Imagine you and your team have built an app. Now the testing team wants to test it.&lt;br&gt;
Normally, they may need to install:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Node.js&lt;/li&gt;
&lt;li&gt;npm packages&lt;/li&gt;
&lt;li&gt;dependencies&lt;/li&gt;
&lt;li&gt;environment setup&lt;/li&gt;
&lt;li&gt;configurations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Even after all that, errors can still happen because their system may be different from yours.&lt;br&gt;
Docker solves this problem by packaging your app, runtime, dependencies, and configuration into one image. The tester only needs Docker installed. They can run your image directly and test the app.&lt;/p&gt;

&lt;p&gt;Follow these steps to create your own Docker image:&lt;/p&gt;

&lt;p&gt;Create the folder structure displayed in the image.&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%2Fwqdoq8togho4uffepxfw.png" 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%2Fwqdoq8togho4uffepxfw.png" alt="folder hierarchy" width="497" height="231"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Create a &lt;strong&gt;server.js&lt;/strong&gt; file and add the following code inside the file.&lt;br&gt;
It is a demo code that displays the OS information when the user opens the URL in the browser.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;http&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;http&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;os&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;os&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;server&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;http&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;createServer&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;writeHead&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Content-Type&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;text/html&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;

  &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;end&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`
    &amp;lt;html&amp;gt;
      &amp;lt;body style="font-family:sans-serif;padding:40px;"&amp;gt;
        &amp;lt;h1&amp;gt;Running Inside Docker&amp;lt;/h1&amp;gt;
        &amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Container Name:&amp;lt;/strong&amp;gt; &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;hostname&lt;/span&gt;&lt;span class="p"&gt;()}&lt;/span&gt;&lt;span class="s2"&gt;&amp;lt;/p&amp;gt;
        &amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;OS:&amp;lt;/strong&amp;gt; &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;platform&lt;/span&gt;&lt;span class="p"&gt;()}&lt;/span&gt;&lt;span class="s2"&gt;&amp;lt;/p&amp;gt;
        &amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Architecture:&amp;lt;/strong&amp;gt; &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;arch&lt;/span&gt;&lt;span class="p"&gt;()}&lt;/span&gt;&lt;span class="s2"&gt;&amp;lt;/p&amp;gt;
        &amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Node Version:&amp;lt;/strong&amp;gt; &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;version&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;&amp;lt;/p&amp;gt;
        &amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Current Time:&amp;lt;/strong&amp;gt; &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;()}&lt;/span&gt;&lt;span class="s2"&gt;&amp;lt;/p&amp;gt;
      &amp;lt;/body&amp;gt;
    &amp;lt;/html&amp;gt;
  `&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="nx"&gt;server&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;listen&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Server running on port 3000&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Add the following information to the &lt;strong&gt;package.json&lt;/strong&gt; file.&lt;br&gt;
The &lt;strong&gt;package.json&lt;/strong&gt; file contains information about the Node.js project, such as its name, version, main file, and dependencies.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"docker-identity"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"1.0.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"main"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"server.js"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Add the following code to your dockerfile:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;FROM&lt;/strong&gt; defines the base image. Here, node:trixie already includes Linux, Node.js, npm, and required system libraries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WORKDIR&lt;/strong&gt; sets /app as the working directory inside the container.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;COPY&lt;/strong&gt; copies files from your local system into the container.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RUN&lt;/strong&gt; executes a command while building the image. Here, it runs npm install.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CMD&lt;/strong&gt; defines the command that runs when the container starts.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="s"&gt; node:trixie&lt;/span&gt;
&lt;span class="k"&gt;COPY&lt;/span&gt;&lt;span class="s"&gt; package.json /app/&lt;/span&gt;
&lt;span class="k"&gt;COPY&lt;/span&gt;&lt;span class="s"&gt; src /app/src&lt;/span&gt;
&lt;span class="k"&gt;WORKDIR&lt;/span&gt;&lt;span class="s"&gt; /app/&lt;/span&gt;
&lt;span class="k"&gt;RUN &lt;/span&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt;
&lt;span class="k"&gt;CMD&lt;/span&gt;&lt;span class="s"&gt; ["node", "src/server.js"]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run the following command to build the Docker image.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;build&lt;/strong&gt;: It is used to build the custom image.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;.&lt;/strong&gt; : It is the current directory&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;-t&lt;/strong&gt;: It is the tag flag that is used to give name and version to the application
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker build &lt;span class="nt"&gt;-t&lt;/span&gt; node-app:1.0 &lt;span class="nb"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After the build is successfully completed, run the following command to containerize your app.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;run&lt;/strong&gt;: It is used to run the image as a container.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;-p&lt;/strong&gt;: It is a flag that is used in port binding. Here, 3000 is the port of the container, whereas 8080 is the port of your system. So, we set 8080 as the port where you can publicly access the application.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;node-app&lt;/strong&gt;: It is the name of the application.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run &lt;span class="nt"&gt;-p&lt;/span&gt; 8080:3000 node-app:1.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After the container runs successfully, open localhost://8080 to see your app.&lt;br&gt;
The following output is displayed:&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%2Fq1pffzg6gifbvz0p9gsu.png" 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%2Fq1pffzg6gifbvz0p9gsu.png" alt="output" width="800" height="288"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Is Useful
&lt;/h2&gt;

&lt;p&gt;Now this image can run on any system that has Docker installed.&lt;/p&gt;

&lt;p&gt;The tester does not need to install Node.js, npm, or project dependencies manually. Everything required to run the app is already packed inside the Docker image.&lt;/p&gt;

&lt;p&gt;Even if the tester is using Windows, macOS, or Linux, the container will run the same way.&lt;/p&gt;

</description>
      <category>documentation</category>
      <category>docker</category>
      <category>containers</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
