<?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 sarmilan on Medium]]></title>
        <description><![CDATA[Stories by sarmilan on Medium]]></description>
        <link>https://medium.com/@sarmilansam06?source=rss-9106212d6391------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xv8g0rkQjtbBOdBlOjBqGQ.jpeg</url>
            <title>Stories by sarmilan on Medium</title>
            <link>https://medium.com/@sarmilansam06?source=rss-9106212d6391------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:04:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sarmilansam06/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[What is the Server? and How does it work?]]></title>
            <link>https://medium.com/@sarmilansam06/what-is-the-server-and-how-does-it-work-b1f5fcb4a993?source=rss-9106212d6391------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1f5fcb4a993</guid>
            <category><![CDATA[file-server]]></category>
            <category><![CDATA[servers]]></category>
            <dc:creator><![CDATA[sarmilan]]></dc:creator>
            <pubDate>Mon, 20 Jun 2022 15:47:57 GMT</pubDate>
            <atom:updated>2022-06-20T15:47:57.037Z</atom:updated>
            <content:encoded><![CDATA[<h3>Server</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/0*7hAj7Sg6AQWKnMV_.jpg" /></figure><p>A <strong>server</strong> is a software or hardware device that accepts and responds to requests made over a network. The device that makes the request, and receives a response from the server, is called a Client. On the Internet, the term “server” commonly refers to the computer system that receives requests for web files and sends those files to the client.</p><h3>What are they used for?</h3><p>Servers manage network resources. For example, a user may set up a server to control access to a network, send/receive an e-mail, manage print jobs, or host a website. They are also proficient at performing intense calculations. Some servers are committed to a specific task, often called dedicated. However, many servers today are shared servers that take on the responsibility of e-mail, DNS, FTP, and even multiple websites in the case of a web server.</p><h3>Examples of servers</h3><p>The following list contains links to various server types.</p><ul><li>Web server: a computer program that serves requested HTML pages or files. In this case, a web browser acts as the client.</li><li><strong>Application serve</strong>r: a program in a computer in a disturbed network that provides the business logic for an application program.</li><li><strong>proxy server</strong>: software that acts as an intermediary between an endpoint device, such as a computer, and another server from which a user or client is requesting a service.</li><li><strong>Mail server</strong>: an application that receives incoming emails from local users — people within the same domain — and remote senders and forwards outgoing emails for delivery.</li><li><strong>Virtual server</strong>: a program running on a shared server that is configured in such a way that it seems to each user that they have complete control of a server.</li><li><strong>File server</strong>: a computer responsible for the central storage and management of data files so that other computers on the same network can access them.</li><li><strong>Policy server</strong>: a security component of a policy-based network that provides authorization services and facilitates tracking and control of files.</li><li><strong>Database server</strong>: this server is responsible for hosting one or more databases. Client applications perform database queries that retrieve data from or write data to the database that is hosted on the server.</li></ul><p><strong>How does the server work?</strong></p><p>A server <strong>stores , sends, and receives data</strong>. In essence, it “serves” something else and exists to provide services. A computer, software program, or even a storage device may act as a server, and it may provide one service or several.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*Ct2_9GtjNvhXnW4bvcbpoQ.jpeg" /></figure><h3>What Does a Server Do?</h3><p>Servers can do everything a standard desktop computer can do and more. Vice-versa, computers can run server processes, but do so far less productively. Generally, servers offer the following features to the networks they serve:</p><ul><li><strong>Scalability</strong> to serve a growing or fluctuating number of devices, users, and workloads</li><li><strong>High processing power</strong> with rising CPU and RAM specs to handle network workloads</li><li><strong>Reliability</strong> to ensure critical systems remain online and available</li><li><strong>Collaboration</strong> between personnel with access to shared network resources</li><li><strong>Cost savings</strong> over time because servers can reduce stress on network devices</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1f5fcb4a993" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is NoSQL?]]></title>
            <link>https://medium.com/@sarmilansam06/mongodb-is-a-source-available-cross-platform-document-oriented-database-program-e94c6b7c0eb?source=rss-9106212d6391------2</link>
            <guid isPermaLink="false">https://medium.com/p/e94c6b7c0eb</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[mongodb]]></category>
            <dc:creator><![CDATA[sarmilan]]></dc:creator>
            <pubDate>Sun, 05 Jun 2022 13:13:32 GMT</pubDate>
            <atom:updated>2022-06-10T02:58:23.978Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*2tE8wxAPbDgDuLnL11ARcg.png" /></figure><p><strong>What is NoSQL?</strong></p><p>NoSQL is also known as “not only SQL”. They are non-tabular databases. They store data in a different manner than SQL databases. These kinds of databases come in various types based on their data model, such as document, key-value, wide-column, and graph. They are more flexible, scalable, distributed databases. Most of the NoSQL databases are open source.</p><p>There are mainly four types of NoSQL database systems that exist. Each of them uses different types of data models.</p><ul><li>Document databases</li><li>Graph databases</li><li>Key-value stores</li><li>Wide-column stores</li></ul><p><strong>Advantages of NoSQL</strong></p><ul><li>The workload for interactive real-time web applications is simplified.</li><li>NoSQL caters to flexibility for data that is not normalized and requires flexible data models.</li><li>They provide great scalability for large data sets.</li><li>They are greatly suited for cloud applications, mobile, and big data requirements.</li></ul><p><strong>Disadvantages of NoSQL</strong></p><ul><li>NoSQL has its own querying languages. Which is in contrast to SOL.</li><li>As NoSQL databases are newer, there are no standards as relational databases.</li><li>There is no such schema as relational databases have.</li></ul><h3>What is MongoDB?</h3><p>MongoDB is a No SQL database. It is an open-source document database that uses a flexible schema to store data and is built on a horizontal scale-out architecture. MongoDB, which was founded in 2007, has a large development community all around the world.</p><p>Each entry in a MongoDB database is a document described in BSON, a binary representation of the data, rather than tables of rows or columns like SQL databases. This data can then be retrieved in JSON format by applications.</p><p>Document databases are extremely adaptable, allowing for changes in document structure and the storage of partially completed documents. Others can be embedded in one document. Fields in a document are similar to columns in a SQL database in that they can be indexed to improve search performance.</p><p>MongoDB has been developed on a scale-out architecture since its inception, which allows many tiny machines to collaborate to create fast systems and process large volumes of data.</p><p>MongoDB has always prioritized delivering an outstanding developer experience, which, in addition to its other features, has made it a favorite among developers worldwide for a wide range of applications.</p><h3>Why Use MongoDB?</h3><p>Document databases are extremely adaptable, allowing for changes in document structure and the storage of partially completed documents. Others can be embedded in one document. Fields in a document are similar to columns in a SQL database in that they can be indexed to improve search performance.</p><p>MongoDB has been developed on a scale-out architecture since its inception, which allows many tiny machines to collaborate to create fast systems and process large volumes of data.</p><p>MongoDB is based on a scale-out architecture, which has grown popular among developers of all types for creating scalable systems with changing data schemas.</p><p>MongoDB makes it simple for developers to store structured and unstructured data as a document database. It makes use of a JSON-like format.</p><h3>Advantages of MongoDB?</h3><p>MongoDB has become one of the most popular databases in the world because it makes it simple for developers to store, manage, and retrieve data while using most programming languages to create apps.</p><p>Let’s have a look at the benefits of MongoDB for developers to see if it’s perfect for you. Also, have a look at the top five MongoDB features.</p><h3>*starting server</h3><p>sudo mongod</p><h3>*starting clint</h3><p>sudo mongo</p><h3>*Show All Databases</h3><p>show dbs</p><h3>*Select Database or create database to Work With</h3><p>use databaseName</p><h3>*List Down Collections, Users, Roles, etc.</h3><p>//<br>// List down collections of the current database<br>//<br>show collections;<br>db.getCollectionNames();<br>//<br>// List down all the users of current database<br>//<br>show users;<br>db.getUsers();<br>//<br>// List down all the roles<br>//<br>show roles</p><h3>*Create a Collection</h3><p>db.createCollection(“collectionName”);</p><h3>*Insert</h3><p><strong>db.collection.insertOne() -&gt;</strong>This operation is used when we need to insert a single document in the collection.</p><p><strong>db.collection.insertMany()-&gt;</strong>This operation is used when we need to insert multiple documents in the collection.</p><h3>*Update</h3><p>db.collection.updateOne() -&gt;Updates a single field in the document where the provided criteria or filter meets the condition. Updating a field will not delete the existing one, but will create a new field that will be added to the document.</p><p>db.collection.updateMany()-&gt;This command will update all fields in the document where the provided criteria or filter matches the condition.</p><p>db.collection.replaceOne()-&gt;This command replaces the whole document. It will replace the old fields and values with new ones.</p><h3>*Delete Operations</h3><p><strong>db.collection.deleteOne()-&gt;</strong>Deletes just one document from the collection that meets the given criteria</p><p><strong>db.collection.deleteMany()-&gt;</strong>Deletes multiple document from the collection that meet the given criteria</p><p><strong>db.collection.remove()-&gt;</strong>Deletes one or multiple documents that meet the given criteria</p><h3>*Read Operations</h3><p>db.collection.find()-&gt;You will be able to define query filters or criteria that pinpoint the documents to be returned.</p><p><strong>Conclusion</strong></p><p>By using this article, you learned NoSQL and the notation of CRUD operations using MongoDB and the characteristics of MongoDB.</p><p>Thank you so much for reading my article and I hope you have a better idea from this article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e94c6b7c0eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Databases]]></title>
            <link>https://medium.com/@sarmilansam06/databases-e446e3757586?source=rss-9106212d6391------2</link>
            <guid isPermaLink="false">https://medium.com/p/e446e3757586</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[mongodb]]></category>
            <dc:creator><![CDATA[sarmilan]]></dc:creator>
            <pubDate>Sun, 05 Jun 2022 04:53:22 GMT</pubDate>
            <atom:updated>2022-06-05T04:53:22.106Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, we’ll learn the basics of Data &amp; an introduction to databases (what, why, and DBMS)</p><p>What is data?</p><p>In general, <strong>data</strong> is any set of <a href="https://www.computerhope.com/jargon/c/charact.htm">characters</a> gathered and translated for some purpose, usually analysis. If data is not put into context, it doesn’t do anything to a human or computer.</p><p>There are multiple types of data. Some of the more common types of data include the following:</p><ul><li>Single character</li><li><a href="https://www.computerhope.com/jargon/b/boolean.htm">Boolean</a> (true or false)</li><li>Text (<a href="https://www.computerhope.com/jargon/s/string.htm">string</a>)</li><li>Number (<a href="https://www.computerhope.com/jargon/i/integer.htm">integer</a> or <a href="https://www.computerhope.com/jargon/f/floapoin.htm">floating-point</a>)</li><li><a href="https://www.computerhope.com/jargon/p/picture.htm">Picture</a></li><li><a href="https://www.computerhope.com/jargon/s/sound.htm">Sound</a></li><li><a href="https://www.computerhope.com/jargon/v/video.htm">Video</a></li></ul><p>In a computer’s storage, digital data is a series of <a href="https://www.computerhope.com/jargon/b/bit.htm">bits</a> (<a href="https://www.computerhope.com/jargon/b/binary.htm">binary digits</a>) that have the value of one or zero. Data is processed by the <a href="https://www.computerhope.com/jargon/c/cpu.htm">CPU</a>, which uses <a href="https://www.computerhope.com/jargon/l/logic.htm">logical</a> operations to produce new data (<a href="https://www.computerhope.com/jargon/o/output.htm">output</a>) from source data (<a href="https://www.computerhope.com/jargon/i/input.htm">input</a>).</p><p>what is Database?</p><p>A database is an organized collection of structured information, or data, typically stored electronically in a computer system. A database is usually controlled by a <a href="https://www.oracle.com/database/what-is-database/#WhatIsDBMS">database management system (DBMS)</a>. Together, the data and the DBMS, along with the associated applications, are referred to as a database system, often shortened to just a database.</p><p>Data within the most common types of databases in operation today is typically modeled in rows and columns in a series of tables to make processing and data querying efficient. The data can be easily accessed, managed, modified, updated, controlled, and organized. Most databases use structured query language (SQL) for writing and querying data.</p><p>Why Do We Need A Database?</p><p>Databases support good data access because: <strong>Large volumes of data can be stored in one place</strong>. Multiple users can read and modify the data at the same time. Databases are searchable and sortable, so the data you need can be found quickly and easily.</p><p>This takes us to the next question, “When do we need a database?”. Consider the following potential problems:</p><p>Size</p><p>You may have thousands or millions of rows of customers, or any piece of information.</p><p>Accuracy</p><p>“Do you care if someone entered incorrect data?”. If yes, nothing could prevent me from typing incorrect data into a spreadsheet.</p><p>Security</p><p>If the data is sensitive, and you need to restrict access to the data; It doesn’t need to be shared with everyone. In addition, “Do you need to know who made every change at every point?”.</p><p>Redundancy</p><p>If the redundant data (having multiple copies of the same data) will lead to conflict, you would need to have only non-repeated unique data.</p><p>Importance</p><p>“What if you had a disconnect or a crash, and you lost your data?”. You’ve probably felt that pain before. And it’s unacceptable to lose important data like orders of a customer, allergies of a patient, flight bookings, …etc.</p><p>Overwriting</p><p>How about having more than one person overwriting the same data at the same time. How about 10 at the same time or 100 people at the same time?. You’ll end up with everybody overwriting everybody else’s changes.</p><h3><strong>Database Management System</strong>Database</h3><h3>Management Systems (DBMS) are software systems used to store, retrieve, and run queries on data. A DBMS serves as an interface between an end-user and a database, allowing users to create, read, update, and delete data in the database.</h3><p>DBMS manages the data, the database engine, and the database schema, allowing for data to be manipulated or extracted by users and other programs. This helps provide data security, data integrity, concurrency, and uniform data administration procedures.</p><p>DBMS optimizes the organization of data by following a database schema design technique called normalization, which splits a large table into smaller tables when any of its attributes have redundancy in values. DBMS offers many benefits over traditional file systems, including flexibility and a more complex backup system.</p><p>Database management systems can be classified based on a variety of criteria such as the data model, the database distribution, or user numbers. The most widely used types of DBMS software are relational, distributed, hierarchical, object-oriented, and network.</p><h3>Distributed database management system</h3><p>A distributed DBMS is a set of logically interrelated databases distributed over a network that is managed by a centralized database application. This type of DBMS synchronizes data periodically and ensures that any data change is universally updated in the database.</p><h3>Hierarchical database management system</h3><p>Hierarchical databases organize model data in a tree-like structure. Data storage is either a top-down or bottom-up format and is represented using a parent-child relationship.</p><h3>Network database management system</h3><p>The network database model addresses the need for more complex relationships by allowing each child to have multiple parents. Entities are organized in a graph that can be accessed through several paths.</p><h3>Relational database management system</h3><p>Relational database management systems (RDBMS) are the most popular data model because of their user-friendly interface. It is based on normalizing data in the rows and columns of the tables. This is a viable option when you need a data storage system that is scalable, flexible, and able to manage lots of information.</p><h3>Object-oriented database management system</h3><p>Object-oriented models store data in objects instead of rows and columns. It is based on object-oriented programming (OOP) that allows objects to have members such as fields, properties, and methods.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e446e3757586" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NEWS]]></title>
            <link>https://medium.com/@sarmilansam06/news-e610e6b23775?source=rss-9106212d6391------2</link>
            <guid isPermaLink="false">https://medium.com/p/e610e6b23775</guid>
            <dc:creator><![CDATA[sarmilan]]></dc:creator>
            <pubDate>Fri, 20 Aug 2021 12:06:34 GMT</pubDate>
            <atom:updated>2021-08-20T12:23:58.744Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong><em>Afghanistan War</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*eMiOlHBz7LxJg3iP1O1YnA.jpeg" /></figure><p>we will be addressing what the new Taliban government in Afghanistan has promised its citizen Afghans. And how Afghans are reacting to it. The Kabul airport is still busy with the inflow of afghans trying to immigrate to other countries. Meanwhile, the US, China, Pakistan, and Indian governments are reconsidering their stakes in the game with the formation of the new Taliban government in Afghanistan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G5Lc9S96IywYkp_QSBGBXA.jpeg" /></figure><p><strong>Afghanistan-Taliban crisis Live Updates: </strong>More than 18,000 people have been flown out of Kabul since the <a href="https://indianexpress.com/article/world/afghanistan-crisis-taliban-take-kabul-president-ashraf-ghani-flees-america-absconds-7455382/">Taliban took over Afghanistan’s capital</a>, news agency Reuters reported citing a NATO official on Friday. Thousands of people, desperate to flee the country, were still thronging the airport, the official who declined to be identified told Reuters, even though the Taliban have urged people without legal travel documents to go home.</p><p>Meanwhile, the Taliban has urged unity ahead of Friday prayers, the first since they seized power, calling on imams to persuade people not to leave Afghanistan amid the chaos at the airport, <a href="https://indianexpress.com/article/world/taliban-afghanistan-protest-kabul-7461834/">protests, and reports of violence</a>. At least 12 people have died in and around Kabul since the Taliban took over the capital city on Sunday, according to a Reuters report.</p><p>Earlier today, a United Nations report said that Taliban members have been <a href="https://indianexpress.com/article/world/hunted-by-the-taliban-us-allied-afghan-forces-are-in-hiding-7462221/">conducting door-to-door searches</a> to track down their opponents, especially ones who have helped US and NATO forces in the past. The report, written by the Norwegian Center for Global Analyses, said militants were also screening people on the way to Kabul airport, according to AFP.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e610e6b23775" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>