<?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 Abhishek Anand on Medium]]></title>
        <description><![CDATA[Stories by Abhishek Anand on Medium]]></description>
        <link>https://medium.com/@anandabhishek090?source=rss-6000d9949bb8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*cbLiLYq_pTxwDKKO</url>
            <title>Stories by Abhishek Anand on Medium</title>
            <link>https://medium.com/@anandabhishek090?source=rss-6000d9949bb8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 14:00:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anandabhishek090/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[Open Short Path First(OSPF) Routing Protocol implemented using Dijkstra Algorithm]]></title>
            <link>https://anandabhishek090.medium.com/open-short-path-first-ospf-routing-protocol-implemented-using-dijkstra-algorithm-935dff44a0fa?source=rss-6000d9949bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/935dff44a0fa</guid>
            <dc:creator><![CDATA[Abhishek Anand]]></dc:creator>
            <pubDate>Sun, 26 Sep 2021 12:00:04 GMT</pubDate>
            <atom:updated>2021-09-26T12:00:04.301Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>According to Wikipedia,</em></strong></p><p><strong><em>OSPF stands for Open Short Path First. It is One of the Routing Protocol.</em></strong></p><p>The OSPF (Open Shortest Path First) protocol is one of a family of IP Routing protocols, and is an Interior Gateway Protocol (IGP) for the Internet, used to distribute IP routing information throughout a single Autonomous System (AS) in an IP network</p><p>The OSPF protocol is a link-state routing protocol, which means that the routers exchange topology information with their nearest neighbors. The topology information is flooded throughout the AS, so that every router within the AS has a complete picture of the topology of the AS. This picture is then used to calculate end-to-end paths through the AS, normally using a variant of the <strong>Dijkstra algorithm</strong>. Therefore, in a link-state routing protocol, the next hop address to which data is forwarded is determined by choosing the best end-to-end path to the eventual destination.</p><p>The main advantage of a link state routing protocol like OSPF is that the complete knowledge of topology allows routers to calculate routes that satisfy particular criteria. This can be useful for traffic engineering purposes, where routes can be constrained to meet particular quality of service requirements. The main disadvantage of a link state routing protocol is that it does not scale well as more routers are added to the routing domain. Increasing the number of routers increases the size and frequency of the topology updates, and also the length of time it takes to calculate end-to-end routes. This lack of scalability means that a link state routing protocol is unsuitable for routing across the Internet at large, which is the reason why IGPs only route traffic within a single AS.</p><p>Each OSPF router distributes information about its local state (usable interfaces and reachable neighbors, and the cost of using each interface) to other routers using a Link State Advertisement (LSA) message. Each router uses the received messages to build up an identical database that describes the topology of the AS.</p><h3>Dijkstra’s algorithm:-</h3><p>Dijkstra’s algorithm is one of the types of Greedy Algorithms that enables us to find the shortest path between any two nodes in a graph.</p><p>Dijkstra’s algorithm can only work with graphs that have positive weights. This is because, during the process, the weights of the edges have to be added to find the shortest path.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/283/0*D_-WhQqqbz_vXQgy" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/283/0*R1H4i1mmlGtLsRrI" /></figure><h3>Working of Dijkstra’s Algorithm:-</h3><ul><li>Dijkstra’s Algorithm basically starts at the node that you choose (the source node) and it analyzes the graph to find the shortest path between that node and all the other nodes in the graph.</li><li>The algorithm keeps track of the currently known shortest distance from each node to the source node and it updates these values if it finds a shorter path.</li><li>Once the algorithm has found the shortest path between the source node and another node, that node is marked as “visited” and added to the path.</li><li>The process continues until all the nodes in the graph have been added to the path. This way, we have a path that connects the source node to all other nodes following the shortest path possible to reach each node.</li></ul><h3>How to find the shortest path in OSPF using Dijkstra’s Algorithm?</h3><p>Dijkstra’s algorithm is graph traversing algorithm. In computer network we have sender and receiver, sender will send some frame or message to receiver, but by the time receiver could receive the message, there are many parts which the message can take, that is the job of this algorithm. It will find the shortest path traversed to carry the message from sender to receiver.</p><p>Consider a network structure given below, the figure contains the nodes between A to H. <em>We need to examine the shortest path, between A to D, where A being the sender and D being the Receiver.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*kWymQL4mrs51qoO2" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/0*JF35famolyz6rfLg" /></figure><ol><li>During the first stage, we need to find the shortest node from the neighbor nodes of source node.</li><li>During the second stage, we need to look for second shortest path node, which can be a neighbor node of source node or to the node found in the first stage.</li><li>During the third stage, the algorithm looks for third shortest path node form the source node. This node can be neighbor of source node or the nearest node found from first stage or second stage.</li><li>The process repeated, until all nodes are visited at least once and if all nodes are visited once, then we can find the shortest path form the source node to destination.</li></ol><p>Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=935dff44a0fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon Simple Queue Service (SQS)]]></title>
            <link>https://anandabhishek090.medium.com/amazon-simple-queue-service-sqs-f7e7148813d4?source=rss-6000d9949bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7e7148813d4</guid>
            <dc:creator><![CDATA[Abhishek Anand]]></dc:creator>
            <pubDate>Sun, 26 Sep 2021 11:47:06 GMT</pubDate>
            <atom:updated>2021-09-26T11:47:06.331Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*tB1SYsrsjmnCdFhA08pLbg.png" /></figure><p>Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. SQS eliminates the complexity and overhead associated with managing and operating message-oriented middleware, and empowers developers to focus on differentiating work. Using SQS, you can send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available. Get started with SQS in minutes using the AWS console, Command Line Interface or SDK of your choice, and three simple commands.</p><p>SQS offers two types of message queues. Standard queues offer maximum throughput, best-effort ordering, and at-least-once delivery. SQS FIFO queues are designed to guarantee that messages are processed exactly once, in the exact order that they are sent.</p><h3>BMW Case Study</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/186/0*FJiJUXSErV4Tfs_o.png" /></figure><p>The BMW Group is using AWS for its new connected-car application that collects sensor data from BMW 7 Series cars to give drivers dynamically updated map information. BMW Group is one of the leading manufacturers of premium cars and mobility services in the world, with brands such as Rolls Royce, BMW, and Mini. BMW built its new car-as-a-sensor (CARASSO) service in only six months leveraging Amazon Simple Storage Service (Amazon S3), Amazon Simple Queue Service (Amazon SQS), Amazon DynamoDB, Amazon Relational Database Service (Amazon RDS), and AWS Elastic Beanstalk. By running on AWS, CARASSO can adapt to rapidly changing load requirements that can scale up and down by two orders of magnitude within 24 hours. By 2018 CARASSO is expected to process data collected by a fleet of 100,000 vehicles traveling more than eight billion kilometers.</p><h3>Environmental Monitoring Solutions (EMS) Case Study</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/199/0*XXsoSyUicKC-98Ml.jpg" /></figure><h3>EMS Delivers 500% ROI through IoT Capabilities Using AWS</h3><p>With our AWS IoT–enabled Fuelsuite solution, customers manage their petrol stations proactively rather than reactively… to dramatically improve efficiencies and detect fuel leaks early to minimize environmental impacts.</p><p>Russell DupuyFounder and Managing Director, EMS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/199/0*BSqfj9EkkVJF_VfR.jpg" /></figure><h3>About Environmental Monitoring Solutions (EMS)</h3><p><a href="https://drivingfueliq.com/">Environmental Monitoring Solutions</a> (EMS) is based in Victoria, Australia. Launched 25 years ago, the company specializes in solutions that help petrol retailers gather and analyze data on the performance of their petrol stations. Its solutions provide remote monitoring and 24/7 support services — helping customers boost sales, reduce maintenance expense, and decrease the risk of accidents. Today, EMS operates with a team of 30 personnel.</p><h3>The Challenge</h3><p>EMS customers such as Viva Energy (Shell), PUMA Energy, BP, and 7-Eleven typically own and operate hundreds of petrol stations across Australia. The stations need to operate highly efficiently because profit margins are small. Yet, at the same time, they have to offer great customer experiences, ensure employee safety, and minimize their environmental impact. Sometimes accidents do occur, and a typical EMS customer is likely to incur annual costs of AU$15 million (US$12.13 million) for cleaning up underground petrol tank leaks or vehicle fuel tank contamination. To help customers maximize efficiencies while addressing the need for service excellence, safety, and environmental protection, EMS developed Fuelsuite, which enables customers to switch from legacy technologies that are largely manual and unify station management — significantly reducing costs. With Fuelsuite, customers can monitor inventories, deliveries, and prices. The solution also raises alarms in event of possible environmental incidents, such as underground tank overfills. After the successful launch of Fuelsuite, EMS focused on product development. It looked to connect sensors in the stations’ underground tanks and pumps and, regardless of the configurations of those sensors, collect all their data at 30-second intervals. The data would then be aggregated on a cloud-computing infrastructure and displayed via a web-enabled interface in Fuelsuite in near-real time. Russell Dupuy, founder and managing director of EMS, says, “Our job was to find an IT partner and cloud-computing provider that could help us re-engineer our Fuelsuite technology and deliver an innovative off-the-shelf product that was user-friendly and easily customizable.”</p><h3>Why Amazon Web Services</h3><p>EMS researched the market for cloud-computing providers, focusing specifically on providers of Internet of Things (IoT) technology. Through IoT, EMS would be able to collect all the sensor data and deliver it to the Fuelsuite interface. In 2015, when EMS first started looking at cloud providers and their IoT services, Dupuy found that Amazon Web Services (AWS) was way ahead of Microsoft Azure. “From what I’d read, I was more confident in the AWS IoT roadmap,” says Dupuy. “We were investing millions of dollars in this project, so I had to be sure of the provider we were going to work with.”</p><p>EMS then engaged with <a href="https://aws.amazon.com/partners/">AWS Partner Network</a> (APN) Advanced Consulting Partner <a href="https://aws.amazon.com/partners/find/partnerdetails/?n=DiUS%20Computing%20Pty%20Ltd&amp;id=001E000000NcH0LIAV">DiUS</a>, which organized a two-day workshop with key stakeholders to agree on a shared vision for Fuelsuite. “The expertise that DiUS has in AWS and IoT gave us a lot of confidence,” says Dupuy. Just as importantly, DiUS agreed to the plan of designing, supporting productization, and launching the IoT-enabled Fuelsuite solution for a major EMS customer retail network within 12 months. “DiUS showed that it was possible to meet our schedule by rolling out the platform at first with just enough AWS IoT capabilities for customers, and then extending those capabilities down the line.”</p><p>DiUS and EMS designed the new version of Fuelsuite so that data from the sensors is aggregated by a custom-built physical device, called Fuelscan®, which is situated inside the petrol stations. Fuelscan then wirelessly transmits the data to the AWS Cloud, where it gets processed and delivered via the Fuelsuite web-based interface. So that EMS is able to offer customized functionality for different customers, DiUS designed the solution to take advantage of <a href="https://aws.amazon.com/iot-device-management/">AWS IoT Device Management</a> to securely onboard, organize, monitor, and remotely manage the Fuelscan devices. It also uses <a href="https://aws.amazon.com/sqs/">Amazon Simple Queue Service</a> (Amazon SQS) to queue messages from the AWS Cloud to Fuelscan devices and relies on <a href="https://aws.amazon.com/ec2/">Amazon Elastic Compute Cloud</a> (Amazon EC2) to process the messages to and from the devices. In addition, the sensor data is stored from the devices in an <a href="https://aws.amazon.com/rds/">Amazon Relational Database Service</a> (Amazon RDS) instance, and <a href="https://aws.amazon.com/elasticsearch-service/">Amazon Elasticsearch Service</a> is used to keep a historical record of all Fuelscan data. Finally, the collected data is archived in <a href="https://aws.amazon.com/s3/">Amazon Simple Storage Service</a> (Amazon S3) buckets.</p><h3>The Benefits</h3><p>At present, more than 1,000 petrol stations in Australia are benefiting from the IoT-enabled Fuelsuite solution. Station operators get near-real-time data on the performance of their stations, including how much petrol is being sold and how much is in the underground storage tanks. It also includes data on the pressure inside the hoses connecting the petrol pumps to the automobiles, and on the temperature and petrol level inside the underground tanks. “With our AWS IoT–enabled Fuelsuite solution, customers manage their petrol stations proactively rather than reactively — gaining a complete picture of petrol station performance to dramatically improve efficiencies and detect fuel leaks early to minimize environmental impacts,” says Dupuy.</p><p>The potential savings from proactive rather than reactive management are significant. Likewise, operators can use the performance data on fuel sales to optimize the distribution of the most heavily used petrol pumps. “We expect that customers gain a 500 percent return on their annual costs of the AWS IoT–enabled Fuelsuite solution,” says Dupuy. Furthermore, EMS expects the return on investment to increase over time. “The AWS IoT Core platform is extensible so that we can incorporate more data from the petrol stations.”</p><p>Dupuy says that without AWS and DiUS, EMS would have found it challenging to take advantage of IoT. “The expertise of DiUS and the total reliability of the AWS infrastructure meant we could develop and roll out our IoT-enabled Fuelsuite in 12 months and be sure it would meet the needs of our customers.”</p><p>EMS, in partnership with DiUS, is now developing Fuelsuite further, adding new services for the fuel industry. It will also be launching the product internationally. Dupuy says, “An advantage of AWS is that machine learning, deep learning, and other new artificial intelligence services can easily be applied to a customer’s aggregated data that is collected through the Fuelsuite solution.”</p><p>Thank you!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7e7148813d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Menu Based Program]]></title>
            <link>https://anandabhishek090.medium.com/python-menu-based-program-6de51e8a267e?source=rss-6000d9949bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6de51e8a267e</guid>
            <dc:creator><![CDATA[Abhishek Anand]]></dc:creator>
            <pubDate>Sun, 26 Sep 2021 11:35:23 GMT</pubDate>
            <atom:updated>2021-09-26T11:35:23.958Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/0*esiYHSZmnOMy7OGM" /></figure><h3>ARTH-2020 Group 10 Team 24 Task-8</h3><p>This is a Python based menu driven code which performs various operations such as yum configurations,webserver,creating hadoop cluster,ansible etc.</p><h3>Task Description :</h3><p><em>Developing Automation Script using Python</em></p><h3>Team Members:</h3><h4>1. Dipaditya Das</h4><h4>* main.py</h4><h4>2. Rishyani Bhattacharya</h4><h4>*basic_linux.py</h4><h4>3. Abhishek Anand</h4><h4>* hadoop.py</h4><h4>4. Niket Ranjan</h4><h4>* docker.py</h4><h4>5. Alok Raj</h4><h4>* aws.py</h4><p>GitHub: <a href="https://github.com/anand-byte/Python-Automation.git">https://github.com/anand-byte/Python-Automation.git</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6de51e8a267e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MongoDB Use-Case]]></title>
            <link>https://anandabhishek090.medium.com/mongodb-use-case-eaa1a66d842d?source=rss-6000d9949bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/eaa1a66d842d</guid>
            <dc:creator><![CDATA[Abhishek Anand]]></dc:creator>
            <pubDate>Sun, 26 Sep 2021 11:01:56 GMT</pubDate>
            <atom:updated>2021-09-26T11:01:56.066Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/299/1*ufoxR77nI6n25lL4sjipEQ.png" /></figure><p>MongoDB is a source-available cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is built on a scale-out architecture that has become popular with developers of all kinds for developing scalable applications with evolving data schemas. As a document database, MongoDB makes it easy for <strong>developers to store structured</strong> or unstructured data. It uses a JSON-like format to store documents.</p><h3>Some Real-World Companies That Use MongoDB</h3><p>1. eBay</p><p>eBay is a multinational company that provides a platform for the customer to customer sales. It is currently running a large number of projects in MongoDB like merchandising categorization, cloud management, metadata storage, search suggestions.</p><p>2. MetLife</p><p>MetLife is a leading company in employee benefit programs, annuities, and insurance. There are more than 90 million customers in the Middle East, Europe, Aisa, Latin America, Japan, United States. MetLife is using MongoDB for its advanced customer service application called The Wall.</p><p>This application provides a combined view of transactions, policy details, and other details of MetLife Customers. It looks like Wall of Facebook, which takes data from 70 legacy systems and merges it into a single record. It stores 24 Terabytes of data and runs across six servers in two data centers. MetLife is working on a series of Big Data projects where MongoDB-based applications are part of it.</p><p>3. Shutterfly</p><p>Shutterfly is one of the most popular online photo sharing, and it is using MongoDB to manage and store more than 6 billion images, which has a transaction rate of up to 10,000 operations per second. Shutterfly earlier used Oracle but later transitioned to MongoDB.</p><p>Shutterfly company realized that moving to a non-relational database will help them to increase their scalability, performance, and productivity of the programmer.</p><p>Shutterfly did consider many other alternate database systems like BerkeleyDB, CouchDB, or Cassandra. The company has confirmed that they are pleased with their decision of transitioning from Oracle to MongoDB.</p><p>4. Aadhar</p><p>It is India’s Unique Identification project, which has the biggest biometrics database in the world. Aadhar Project is using MongoDB as its database to store a massive amount of demographic and biometric data of more than 1.2 billion Indians. MongoDB is being used for the storage of images in the Aadhar project.</p><p>5. EA</p><p>Ea is an online multiplayer game that is using MongoDB Database for its game called FIFA Online 3. MongoDB can easily handle complicated things that need synchronization with each other entirely.</p><h3>Practical MongoDB Use Cases</h3><p>Some documents are called MongoDB Use Case documents, which will help in introducing the operations used, designs, and patterns in MongoDB application development. Data Modeling Strategies and Application Design will be highlighted in these documents.</p><p>It will also give some special attention to scaling, sharding, performance, and indexing. Three case studies will be described, which are: content management case studies, product data management case studies, and operational intelligence case studies.</p><h3>1. Content Management Systems</h3><p>Fundamental of MongoDB approaches and practices are introduced in content management use cases, which would be done using familiar, simple examples and problems. The method for modeling user comments on content like media and blog spots are introduced by “Storing Comments”. A model is proposed for designing a website content management system by “Metadata and Asset Management” in MongoDB. <a href="https://www.upgrad.com/blog/hadoop-vs-mongodb/">Hadoop Vs MongoDB</a></p><h3>2. Product Data Management</h3><p>For e-commerce websites and product data management and solutions, one can use MongoDB to store information because it has the flexible schema well suited for the job. One can also manage a product catalog and learn the practices and methods for modeling from the Product Catalog document.</p><p>They can also determine the pattern to handle interactions between user’s shopping carts and inventory using “Inventory Management.” MongoDB also has a report called “Category Hierarchy,” which will describe the techniques to do interaction with category hierarchies in MongoDB.</p><h3>3. Operational Intelligence</h3><p>MongoDB is beneficial for real-time analytics and operational intelligence use. One can learn “Storing Log Data” Document to know about the approaches and several ways to store and model machine-generated data with MongoDB. They can also determine the Hierarchical Aggregation Method to store and process hierarchical reports from raw event data according to the minute, hour, or day.</p><h3>Top MongoDB Usage</h3><h3>1. Mobility and Scaling</h3><p>MongoDB is very scalable and flexible, which gives fantastic database solutions to deal with different kinds of environments. The schemas of MongoDB will evolve over time, and in this way, mobile application developers can focus their time on developing better customer experience. This will help many companies to deal with varying structures of data that are coming from many different sources in the mobile application development world.</p><h3>2. Real-Time Data Integration</h3><p>There is a lot of value to data if it is consolidated and aggregated into one single view, and MongoDB plays a vital role in doing that. Due to the query capabilities and flexibility of MongoDB, now it is easier to aggregate data and create those tools which will make an organization more efficient.</p><p>With the help of MongoDB, one can see aggregated data in a single view in real-time, which provides massive value to the companies. A developer can also take quick action on specific events and also monitor with the help of MongoDB 3.6.</p><h3>3. Product Catalog</h3><p>There are many attributes to products which are easily stored as an object using MongoDB and can be used to understand the customer better in the digital experience. Nowadays, the quality and volume of data are increasing and are being used to improve the interaction in product catalogs of customers. MongoDB has dynamic schema capability, which helps in bringing relevancy between attributes and product documents. It will provide a better experience for both customers and developers.</p><h3>MongoDB Applications</h3><p>There are many MongoDB applications, and here they are:</p><h3>1. Balanced Features</h3><p>One can use MongoDB to get multiple balanced features. For example, that one wants to use some features like Queuing, Map/Reduce, FTS but don’t require it a lot, which is easily possible through MongoDB.</p><h3>2. Consistency over Availability</h3><p>If one prefers consistency over availability, then he can get a specific version of Consistency in MongoDB applications.</p><h3>3. Denormalizing the Data</h3><p>Re-denormalizing the data is tough to do and also very expensive. Also, you will not be able to change the shard keys when you are running MongoDB.</p><p>The mix of Secondary indexes and Key/Value lookups</p><p>If you want to use a blend of secondary indexes and key/value lookups, then you can use MongoDB. But you cannot use it for too many secondary indexes because it will start scaling poorly.</p><h3>4. Data on Single Server</h3><p>One of the best features of MongoDB is that it was made intentionally sub-optimal to enable sharding on a single server. But you can use PostgreSQl, If the data fits on a single server comfortably.</p><h3>5. Ideal for Querying</h3><p>If the rate of querying is very strong to the database, then Mongo is ideal to be used because it resembles a DWH cube in its basic data structure.</p><h3>6. Ideal for Documented-oriented</h3><p>MongoDB is the right choice only when there are few relations, and one wants to scale it. It might not be suitable to use when there are too many relations, such as a social network. But it can be amazing to see as to how it will handle the document-oriented store. MongoDB is ideal for storing loads of documents that can be sorted by a tag or category.</p><h3>7. Polyglot Database System</h3><p>MongoDB has an excellent capability to pick up the best part of all the databases, which makes it even more amazing to use as large-scale systems that are not using only a single database.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eaa1a66d842d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Openshift Use-case]]></title>
            <link>https://anandabhishek090.medium.com/openshift-use-case-816a6f99cc2d?source=rss-6000d9949bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/816a6f99cc2d</guid>
            <dc:creator><![CDATA[Abhishek Anand]]></dc:creator>
            <pubDate>Sun, 26 Sep 2021 10:53:44 GMT</pubDate>
            <atom:updated>2021-09-26T10:53:44.789Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/217/1*YikfSs5SJHtACV4Tqhev-A.png" /></figure><p>What is Openshift?</p><p>OpenShift is an open source container application platform based on the Kubernetes container orchestrator for enterprise application development and deployment. It is a cloud development Platform as a Service (PaaS) hosted by Red Hat. It’s an open source cloud-based user-friendly platform used to create, test, and run applications, and finally deploy them on cloud.</p><h4>A cloud experience, everywhere</h4><p>Red Hat OpenShift includes an enterprise-grade Linux operating system, container runtime, networking, monitoring, registry, and authentication and authorization solutions. Automate life-cycle management to get increased security, tailored operations solutions, easy-to-manage cluster operations, and application portability.</p><p><strong>Operate containers that scale</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KCczR0D1jlM2abUx.jpg" /></figure><h4>Enterprise Kubernetes</h4><p>You have a lot of choices in Kubernetes solutions. Red Hat OpenShift stands out as a leader with a security-focused, supported Kubernetes platform — including a Red Hat Enterprise Linux foundation. We also offer expert training and consulting for customers that need further support.</p><p><a href="https://www.redhat.com/en/topics/containers/what-is-kubernetes"><strong>What is Kubernetes?</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UaQoSwEzxw31DkCh.jpg" /></figure><h4>On-demand application stacks</h4><p>Develop your apps with the languages and tools you want and deploy through container images. Use pre-created quickstart application templates to build your app languages, frameworks, and databases with 1 click.</p><p><strong>Build your apps faster</strong></p><h3>Outcomes of using Red Hat OpenShift</h3><ul><li>Architecture</li><li>Development</li><li>Operations</li></ul><h3>Consistency across any infrastructure</h3><p>Red Hat OpenShift provides a consistent application platform for the management of existing, modernized, and cloud-native applications that runs on any cloud.</p><p>Red Hat OpenShift provides a common abstraction layer across any infrastructure to give both developers and operations teams commonality in how applications are packaged, deployed, and managed. This allows you to run applications where it makes the most sense, without creating different operational models because of the host environment.</p><p><strong>Whitepaper: Principles of container-based application design</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*-zOr-FUgDF4bvTCg.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*chjwgCDRyEQcjBa3" /></figure><p>OpenShift accelerates application development by including the tools that companies need to be agile and efficient. With OpenShift, your business can deploy applications quickly, become less siloed, be more interactive, and increase collaboration. You’ll be able to go from concept to production faster and ahead of your competition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/38/0*yeNBq5wtqWFQ9P0m" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/0*W9JJYTk8k4AxEWGA.png" /></figure><p>openshift speed</p><h3>Speed</h3><p>With OpenShift, developers have access to a self-service platform that allows them to create, modify, and deploy applications on demand with the click of a button. These new applications are packaged up in containers which makes them extremely lightweight and portable. Plus, applications on OpenShift can be created in virtually any language/framework/DB and best of all, run at that same operational cost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/38/0*4S2kjy24bQrMNuk-" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/0*1w9eKHIaJ0G6QCX1.png" /></figure><p>openshift in devops</p><h3>Organizational Consensus</h3><p>OpenShift allows both Dev and Ops to work together without having to sacrifice their individual concerns. We’ve already gone over how developers can create, modify, and deploy applications on demand and use the languages they prefer, but Operations needs to be able to maintain those applications easily and have them run at the appropriate scale.</p><p>OpenShift brings consensus to your IT organization. Meaning that your organization can be more strategic as well as nimble and can deliver applications to market while maintaining them over their lifecycle with the scalability and stability necessary to win.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/38/0*N5WPFTCW-Bis6vSe" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/0*eIuqHqN2cz07PDK9.png" /></figure><p>openshift solution</p><h3>Holistic Solution</h3><p>IT organizations need a vendor that can enable them through the entire stack, not just one aspect of it. Having a PaaS environment that’s coupled together with supported IaaS services and middleware services, means better agility and interoperability. With our solution, you can incorporate OpenStack, JBoss Middleware, Red Hat Mobile, and others. All of which is backed and supported by Red Hat, whose products and solutions power 50% of the world’s trading volume.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/38/0*-4-QTxvw-s68-amW" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/0*-uwdc0OxQe-IMwLS.png" /></figure><p>openshift scaling</p><h3>Scale</h3><p>Being able to deliver that next big idea is one thing, being able to run it at scale is another. OpenShift leverages the power of containers and a incredibly powerful orchestration engine to make that happen. Containers make sure that applications are packed up in their own space and are independent from the OS, this makes applications incredibly portable and hyper scalable.</p><p><strong>This means that your team spends less time in the weeds and keeping the lights on, and more time being innovative and productive.</strong> OpenShift is more than a PaaS, it’s a robust distributed application system that increases operational efficiency while still being able to handle the external load created by your customers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/38/0*YzuD5rzAplOYLpez" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/0*LSvjn_YmeQihvkN7.png" /></figure><p>openshift security</p><h3>Security</h3><p>The data of your organization is one of your most valuable assets so why trust that with just anyone? In fact, 100% of U.S. government executive departments (DOD, DHS, DOT, etc.) use Red Hat solutions. We know how valuable data is and we understand the importance of protecting it from harm. OpenShift is built on those same principles and applications running on OpenShift have their own “container”allowing for the code and data to separated from each other by default.</p><h3>Openshift CI/CD Pipeline</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*qdiXWsoQcduvWoy7" /></figure><p>Openshift CI/CD Pipeline</p><blockquote><em>With Red Hat OpenShift Pipelines, you can create a customized CI/CD solution to build, test, and deploy your application.</em></blockquote><h3>To create a full-fledged, self-serving CI/CD Pipeline for an application, you must perform the following tasks:</h3><ul><li>Create custom Tasks, or install existing reusable Tasks.</li><li>Create and define the delivery Pipeline for your application.</li><li>Create a PersistentVolumeClaim attached to the Workspace to provide the volume or filesystem for Pipeline execution.</li><li>Create a PipelineRun to instantiate and invoke the Pipeline.</li><li>Add Triggers to capture any events in the source repository.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=816a6f99cc2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes Mobile App]]></title>
            <link>https://anandabhishek090.medium.com/kubernetes-mobile-app-cf02da63ead7?source=rss-6000d9949bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf02da63ead7</guid>
            <dc:creator><![CDATA[Abhishek Anand]]></dc:creator>
            <pubDate>Wed, 08 Sep 2021 15:25:42 GMT</pubDate>
            <atom:updated>2021-09-08T15:25:42.424Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*pLttYrDgcAPUEEi-gIYg1w.jpeg" /></figure><p>In this project we have created App using Flutter which is a cross platform framework for App development. The app uses python API-CGI in the backend and integrated both frontend and backend and build a creative App that control whole Kubernetes.</p><p><strong>Kubernetes</strong>, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications.</p><p><strong>Flutter</strong> is an open-source UI software development kit created by Google. It is used to develop cross platform applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia, and the web from a single codebase.</p><ul><li>User Interface</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*PwVCfuI2jVaAKqC_MIB3uQ.jpeg" /><figcaption><strong>Splash Screen</strong></figcaption></figure><p>This is the splash screen of kubernetes App.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*6cRnq_xKoRVaeV1zgRb1Ng.jpeg" /><figcaption><strong>Home Screen</strong></figcaption></figure><p>This the home screen of our app.</p><ul><li>This App can run all the kubernetes command using “<strong>kubectl</strong>” command line tool.</li><li>The output of the command is shown on the home screen itself like terminal.</li><li>This user interface contain beautiful material icons.</li></ul><p>Example of command:</p><ul><li>kubectl get pods</li><li>kubectl get svc</li></ul><h3>GitHub Code:</h3><p><a href="https://github.com/anand-byte/kubernetes-Mobile-app.git">GitHub - anand-byte/kubernetes-Mobile-app</a></p><h4><strong>Supportive Team Members:</strong></h4><h4><strong>* Niket Ranjan<br>* Ravi Kumar Panchal<br>* Ajay Mory</strong></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf02da63ead7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[License Plate Detection & Owner Recognition using OpenCv]]></title>
            <link>https://anandabhishek090.medium.com/license-plate-detection-owner-recognition-using-opencv-77cb0c36bca9?source=rss-6000d9949bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/77cb0c36bca9</guid>
            <dc:creator><![CDATA[Abhishek Anand]]></dc:creator>
            <pubDate>Wed, 25 Aug 2021 15:49:34 GMT</pubDate>
            <atom:updated>2021-08-25T15:49:34.337Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*-kS8CpE3N1qMIYGOir8Hyg.jpeg" /></figure><p>In this article, created a model using OpenCV.</p><p>Task Description 📄</p><p>📌 In this task :<br>👉Create a model that will detect a car in a live stream or video and recognize characters on the number plate of the car.<br>👉Secondly, it will use the characters and fetch the owner’s information using RTO APIs.<br>👉Create a Web portal where all this information will be displayed (using HTML, CSS, and js)</p><h3>Video Link -</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJCsK2DpOkYY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJCsK2DpOkYY&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e6f60aab3eeddfe13588eb469a8f5dca/href">https://medium.com/media/e6f60aab3eeddfe13588eb469a8f5dca/href</a></iframe><p>Thank You..!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77cb0c36bca9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[K-means Clustering and its Use cases in Security Domain]]></title>
            <link>https://anandabhishek090.medium.com/k-means-clustering-and-its-use-cases-in-security-domain-4f952ee92181?source=rss-6000d9949bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f952ee92181</guid>
            <dc:creator><![CDATA[Abhishek Anand]]></dc:creator>
            <pubDate>Wed, 25 Aug 2021 11:31:49 GMT</pubDate>
            <atom:updated>2021-08-25T11:31:49.021Z</atom:updated>
            <content:encoded><![CDATA[<p>K-means clustering is one of the simplest and popular unsupervised machine learning algorithms. K-means is a centroid-based algorithm, or a distance-based algorithm, where we calculate the distances to assign a point to a cluster. In K-Means, each cluster is associated with a centroid.</p><p>“The objective of K-means is simple: group similar data points together and discover underlying patterns. To achieve this objective, K-means looks for a fixed number (<em>k</em>) of clusters in a dataset.”</p><p><strong>“</strong>A cluster refers to a collection of data points aggregated together because of certain similarities”.</p><h3>K-means Algorithm</h3><p><strong>K-means</strong> algorithm is an iterative algorithm that tries to partition the dataset into <em>K-</em>pre-defined distinct non-overlapping subgroups (clusters) where each data point belongs to <strong>only one group</strong>. It tries to make the intra-cluster data points as similar as possible while also keeping the clusters as different (far) as possible. It assigns data points to a cluster such that the sum of the squared distance between the data points and the cluster’s centroid (arithmetic mean of all the data points that belong to that cluster) is at the minimum. The less variation we have within clusters, the more homogeneous (similar) the data points are within the same cluster.</p><h3>How the K-means algorithm works</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*C9KPq2VKWNE2OOqRmF_e9w.gif" /></figure><ol><li>Specify number of clusters <em>K</em>.</li><li>Initialize centroids by first shuffling the dataset and then randomly selecting <em>K </em>data points for the centroids without replacement.</li><li>Keep iterating until there is no change to the centroids. i.e assignment of data points to clusters isn’t changing.</li></ol><ul><li>Compute the sum of the squared distance between data points and all centroids.</li><li>Assign each data point to the closest cluster (centroid).</li><li>Compute the centroids for the clusters by taking the average of the all data points that belong to each cluster.</li></ul><h3>K-Means Use-Cases in the Security Domain</h3><ol><li><strong>Identifying crime localities-</strong></li></ol><p>With data related to crimes available in specific localities in a city, the category of crime, the area of the crime, and the association between the two can give quality insight into crime-prone areas within a city or a locality.</p><p><strong>2. Call record detail analysis-</strong></p><p>A call detail record (cdr) is the information captured by telecom companies during the call, sms, and internet activity of a customer. This information provides greater insights about the customer’s needs when used with customer demographics. We can cluster customer activities for 24 hours by using the unsupervised k-means clustering algorithm. It is used to understand segments of customers with respect to their usage by hours.</p><p><strong>3. Automatic clustering of it alerts-</strong></p><p>Large enterprise it infrastructure technology components such as network, storage, or database generate large volumes of alert messages. Because alert messages potentially point to operational issues, they must be manually screened for prioritization for downstream processes. Clustering of data can provide insight into categories of alerts and mean time to repair, and help in failure predictions.</p><p><strong>4. Crime document classification-</strong></p><p>Cluster documents in multiple categories based on tags, topics, and the content of the document. This is a very standard classification problem and k-means is a highly suitable algorithm for this purpose. The initial processing of the documents is needed to represent each document as a vector and uses term frequency to identify commonly used terms that help classify the document. the document vectors are then clustered to help identify similarities in document groups.</p><p><strong>5. Cyber-profiling criminals</strong></p><p>Cyber profiling is the process of collecting data from individuals and groups to identify significant correlations. The idea of cyber profiling is derived from criminal profiles, which provide information on the investigation division to classify the types of criminals who were at the crime scene.</p><p><strong>6. Rideshare data analysis</strong></p><p>the publicly available uber ride information dataset provides a large amount of valuable data around traffic, transit time, peak pickup localities, and more. Analyzing this data is useful not just in the context of uber but also in providing insight into urban traffic patterns and helping us plan for the cities of the future.</p><p>Thank You..!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f952ee92181" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript: How Industries Are Using JavaScript To Solve Their Challenges]]></title>
            <link>https://anandabhishek090.medium.com/javascript-how-industries-are-using-javascript-to-solve-their-challenges-c28d2d9df71e?source=rss-6000d9949bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c28d2d9df71e</guid>
            <dc:creator><![CDATA[Abhishek Anand]]></dc:creator>
            <pubDate>Sat, 26 Jun 2021 18:30:40 GMT</pubDate>
            <atom:updated>2021-06-26T18:30:40.257Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*Qhj1LafajQ87e_epZ9U9pQ.jpeg" /><figcaption>source Google</figcaption></figure><p>JavaScript is the world’s most popular programming language. JavaScript is the programming language of the Web. JavaScript is easy to learn. This tutorial will teach you JavaScript from basic to advanced.</p><h3>What is JavaScript?</h3><p>JavaScript is a text-based programming language used both on the client-side and server-side that allows you to make web pages interactive. Where HTML and CSS are languages that give structure and style to web pages, JavaScript gives web pages interactive elements that engage a user. Common examples of JavaScript that you might use every day include the search box on Amazon, a news recap video embedded on The New York Times, or refreshing your Twitter feed.</p><h3>Features Of JavaScript</h3><p>JavaScript is divided into two main features, they are as follows –</p><h3>General JavaScript Features</h3><p>JavaScript language consists of several different features. Some of the general JavaScript features are as follows –</p><h4>1. Validating User’s Input</h4><p>JavaScript is very useful while using forms. It has the capability to validate user input for errors and also saves time. If the user leaves a required field empty or the information is incorrect, JavaScript checks for them before sending the data over to the server.</p><h4>2. Simple Client-side Calculations</h4><p>Since JavaScript is a client-side technology, it can perform basic calculations on the browser. The browser does not need to ask server time for every task. This is especially helpful when a user needs to perform these calculations repeatedly. In these cases, connecting to the server would take a lot more time than performing the actual calculations.</p><h4>3. Greater Control</h4><p>JavaScript provides greater control to the browser rather than being completely dependent on the web servers. JavaScript provides various browsers with additional functionalities that help reduce server load and network traffic.</p><h4>4. Platform Independent</h4><p>Since browsers interpret JavaScript, it solves the problem of compilation and compatibility. Thus it can run on Windows, Macintosh, and other Netscape-supported systems. Also, it is possible to embed them in any other script like <a href="https://en.wikipedia.org/wiki/HTML">HTML</a> that keeps JavaScript into use.</p><h4>5. Handling Dates and Time</h4><p>Unlike other programming languages, JavaScript has built-in functions to determine the date and time. Thus it is very easy to code only by using methods like .getDate().</p><h4>6. Generating HTML Content</h4><p>JavaScript has very handy features to dynamically generate HTML content for the web. It allows us to add text, links, images, tables, etc after an event occurrence (eg — mouse click).</p><h4>7. Detecting the User’s Browser and OS</h4><p>JavaScript is very capable in the detection of the user’s browser and OS information. Though JavaScript runs on every platform, there may occur a situation where we need the user’s browser before processing. This can be helpful for writing code that results in different outputs in different browsers.</p><h3>Modern JavaScript Features</h3><p>If we dive into some more recently added features of JavaScript that makes it unique from other programming languages. There are a lot more modern features of JavaScript invented after some general features. Some of them are as follows –</p><h4>1. Let/Const</h4><p>JavaScript has introduced the keywords ‘let’ and ‘const’ that are available to replace ‘var’. Unlike ‘var’, they are important due to their blocked scope i.e we can only access them in the block we defined them in. Whereas ‘var’, even if we initialize it inside a function, we can access it outside of the function.</p><h4>2. Arrow Functions</h4><p>These functions are very useful in simplifying the syntax and tamp down the lines of codes for the web page or web application. Since these are light-weight in syntax, they can be very easily used in anonymous <a href="https://data-flair.training/blogs/javascript-function/"><em>functions in JavaScript.</em></a></p><h4>3. Template Literal</h4><p>This is a common feature in other programming languages that allows you to save variables directly into strings. This proves to be an important tool for developers as it permits them to focus more on the development of the application rather than spending the time on syntax.</p><h4>4. New Array Functions</h4><p>Though array functions are not necessary for any programming language, they do simplify things for the developer. This also compacts the code and makes it much easier to understand. A regular array and an associative array, JavaScript supports them both. While a regular array contains integer values for its index, indexes can be strings for an associative array.</p><h4>5. Default Parameters</h4><p>This JavaScript feature helps to avoid collapsing the whole code for a simple mistake. It is very useful when the developer needs to check the working of a function without any parameters.</p><h4>6. Property Shorthand</h4><p>Built-in methods like .get() are available for the developer’s use. These methods help avoid writing the same code every time and cut back on various lines of code. These inborn methods are really supportive of cutting back the developing time and cost.</p><h3>Javascript Framework</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*t9jENjueXu6UWuoYpenczA.png" /><figcaption>source Google</figcaption></figure><p>One of the main reasons for the popularity of JavaScript is <strong>JavaScript Frameworks</strong>, they have lots of frameworks available. Here’s a brief introduction of the most trending JavaScript frameworks :</p><p>1. <strong>AngularJS</strong> is Google’s web development framework which provides a set of modern development and design features for rapid application development.</p><p>2. <strong>ReactJS</strong> is another top JavaScript framework mainly maintained by Facebook and it’s behind the User Interface of Facebook and Instagram, showing off its efficiency in maintaining such high traffic applications.</p><p>3. <strong>MeteorJS</strong> is mainly used for providing back-end development. Using JavaScript on the back-end to save time and build expertise is one of the major ideas behind Meteor.</p><p>4. <strong>jQuery</strong> can be used when you want to extend your website and make it more interactive. Companies like Google, WordPress, and IBM rely on jQuery.</p><h3>Major Companies Are Using JavaScript</h3><h3>1. LinkedIn</h3><p>LinkedIn is the social network for professional connections. It is best suited for people looking to make serious career moves who want to get noticed by relevant companies.</p><p>In the same vein, companies looking for competitive candidates for open positions use LinkedIn.</p><p>LinkedIn switched from Ruby on Rails to Node.js in late 2011. This was mainly because Linkedin developers wanted to optimize their mobile app where now everything is written entirely in Node.js.</p><p><strong>They were able to drastically cut down on server resources and the app is said to run 20 times faster than its predecessor.</strong> HTML5 was also a big factor in LinkedIn’s mobile app development.</p><h3>2. Netflix</h3><p>Netflix is a streaming service for television and film serving millions of users worldwide and likely one of the most familiar to you of the companies using Node.js.</p><p>The user interface (UI) of Netflix was built using Node.js.</p><p>According to the Netflix team, the modularity of the framework encouraged them to use Node.js. <strong>Netflix is also almost two times faster during startup as a consequence.</strong></p><h3>3. Uber</h3><p>Uber is a pseudo taxi service for people who need to get somewhere fast but are appalled by the inflated prices of a yellow cab.</p><p>The people who work for Uber are regular joes who must go through background checks.</p><p>Of the companies that use Node.js, Uber was one of the first to use the framework to its fullest extent by building the bulk of the Uber platform in Node.js.</p><p>There are three main reasons why Uber chose <strong>Node.js: ease of error-checking; fast processing speeds; and continuous development thanks to the open-source community.</strong></p><p><strong>4. Trello</strong></p><p>Trello is a collaborative online tool that businesses use to organize projects and ideas using virtual boards.</p><p>The typical Trello dashboard can tell its user what is being worked on, who’s working on it, and what step the project is on in the development process.</p><p>The server-side of Trello uses Node.js. It is important for Trello and its users to have immediate updates and <strong>Node.js has the capacity to hold many open connections at once</strong>.</p><p>The Trello team also appreciates the many libraries of Node.js and its functionality for single-page apps.</p><h3>5. PayPal</h3><p>PayPal is the go-to online platform for making electronic payments through a trustworthy service. PayPal uses Node.js to build user-facing content.</p><p>The PayPal software team likes that Node.js empowers developers to build both server-side and client-side with JavaScript.</p><p>It unifies the developer experience in a way that is helpful to the development process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c28d2d9df71e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CONFUSION MATRIX AND CYBER SECURITY]]></title>
            <link>https://anandabhishek090.medium.com/confusion-matrix-and-cyber-security-a60fb60b9dd8?source=rss-6000d9949bb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/a60fb60b9dd8</guid>
            <dc:creator><![CDATA[Abhishek Anand]]></dc:creator>
            <pubDate>Sun, 06 Jun 2021 13:41:28 GMT</pubDate>
            <atom:updated>2021-06-06T13:41:28.443Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SU2lMA4aJRgtbqbB8zhTIA.jpeg" /><figcaption>source: google</figcaption></figure><p>Confusion matrix is a table which tell us about the performance of our classification model on the test data for which the true result is known.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*MAqF-90RlLemfvRvqoyKnQ.png" /><figcaption>source: google</figcaption></figure><p><strong>Definition of the Terms:</strong></p><p><strong>True Positive</strong>: You predicted positive and it’s true.</p><p><strong>True Negative</strong>: You predicted negative and it’s true.</p><p><strong>False Positive</strong>: You predicted positive and it’s false.</p><p><strong>False Negative</strong>: You predicted negative and it’s false.</p><p>Let’s start with an <strong>example confusion matrix for a binary classifier</strong> :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/0*xQzdB1M1EJ_uYxxT.png" /></figure><p>What can we learn from this matrix?</p><ul><li>There are two possible predicted classes: “yes” and “no”. If we were predicting the presence of a disease, for example, “yes” would mean they have the disease, and “no” would mean they don’t have the disease.</li><li>The classifier made a total of 165 predictions (e.g., 165 patients were being tested for the presence of that disease).</li><li>Out of those 165 cases, the classifier predicted “yes” 110 times, and “no” 55 times.</li><li>In reality, 105 patients in the sample have the disease, and 60 patients do not.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/0*2v5IoJQPOh5rqnNt.png" /></figure><p>This is a list of rates that are often computed from a confusion matrix for a binary classifier:</p><ul><li><strong>Accuracy:</strong> Overall, how often is the classifier correct?</li><li>(TP+TN)/total = (100+50)/165 = 0.91</li></ul><p>— — — — — — — — — — — — — — — — — — — — — — — — — -</p><ul><li><strong>Misclassification Rate:</strong> Overall, how often is it wrong?</li><li>(FP+FN)/total = (10+5)/165 = 0.09</li><li>equivalent to 1 minus Accuracy</li><li>also known as “Error Rate”</li></ul><p>— — — — — — — — — — — — — — — — — — — — — — — — — — -</p><ul><li><strong>True Positive Rate:</strong> When it’s actually yes, how often does it predict yes?</li><li>TP/actual yes = 100/105 = 0.95</li><li>also known as “Sensitivity” or “Recall”</li></ul><p>— — — — — — — — — — — — — — — — — — — — — — — — — — -</p><ul><li><strong>False Positive Rate:</strong> When it’s actually no, how often does it predict yes?</li><li>FP/actual no = 10/60 = 0.17</li></ul><p>— — — — — — — — — — — — — — — — — — — — — — — — — —</p><ul><li><strong>True Negative Rate:</strong> When it’s actually no, how often does it predict no?</li><li>TN/actual no = 50/60 = 0.83</li><li>equivalent to 1 minus False Positive Rate</li><li>also known as “Specificity”</li></ul><p>— — — — — — — — — — — — — — — — — — — — — — — — — — -</p><ul><li><strong>Precision:</strong> When it predicts yes, how often is it correct?</li><li>TP/predicted yes = 100/110 = 0.91</li></ul><p>— — — — — — — — — — — — — — — — — — — — — — — — — — -</p><ul><li><strong>Prevalence:</strong> How often does the yes condition actually occur in our sample?</li><li>actual yes/total = 105/165 = 0.64</li></ul><h3>Need for Confusion Matrix in Machine learning</h3><ul><li>It evaluates the performance of the classification models, when they make predictions on test data, and tells how good our classification model is.</li><li>It not only tells the error made by the classifiers but also the type of errors such as it is either type-I or type-II error.</li><li>With the help of the confusion matrix, we can calculate the different parameters for the model, such as accuracy, precision, etc.</li></ul><h3>What is Cyber Security?</h3><p>Cybersecurity is the practice of protecting systems, networks, and programs from digital attacks, here digital attacks can be stealing information or spying on another system, and much more. There are cybersecurity experts present whose work is to protect users or prevent the digital attack, here digital attack is also known as cybercrime.</p><h3>Cyber Attack Detection and Classification using Parallel Support Vector Machine</h3><p>Support Vector Machines (SVM) are the classifiers that were originally designed for binary c1assification. The c1assificatioin applications can solve multi-class problems. The result shows that pSVM gives more detection accuracy for classes and comparable to the false alarm rate.</p><p>Cyberattack detection is a classification problem, in which we classify the normal pattern from the abnormal pattern (attack) of the system.</p><p>The SDF is a very powerful and popular data mining algorithm for decision-making and classification problems. It has been using in many real-life applications like medical diagnosis, radar signal classification, weather prediction, credit approval, and fraud detection, etc.</p><p>A parallel Support Vector Machine (pSVM) algorithm was proposed for the detection and classification of cyber attack datasets.</p><p>The performance of the support vector machine is greatly dependent on the kernel function used by SVM. Therefore, we modified the Gaussian kernel function in a data-dependent way in order to improve the efficiency of the classifiers. The relative results of both the classifiers are also obtained to ascertain the theoretical aspects. The analysis is also taken up to show that PSVM performs better than SDF.</p><p>The classification accuracy of PSVM remarkably improve (accuracy for Normal class as well as DOS class is almost 100%) and comparable to false alarm rate and training, testing times.</p><h3>KDD CUP ‘’99 Data Set Description</h3><p>This data set is prepared by Stolfo et al and is built based on the data captured in the DARPA’98 IDS evaluation program . DARPA’98 is about 4 gigabytes of compressed raw (binary) TCP dump data of 7 weeks of network traffic, which can be processed into about 5 million connection records, each with about 100 bytes.</p><p>For each TCP/IP connection, 41 various quantitative (continuous data type) and qualitative (discrete data type) features were extracted among the 41 features, 34 features (numeric), and 7 features (symbolic).</p><p>To analysis the different results, there are standard metrics that have been developed for evaluating network intrusion detections. Detection Rate (DR) and false alarm rate are the two most famous metrics that have already been used. DR is computed as the ratio between the number of correctly detected attacks and the total number of attacks, while the false alarm (false positive) rate is computed as the ratio between the number of normal connections that is incorrectly misclassified as attacks and the total number of normal connections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*mk-cVOIvp4tK8AcgN9iFJA.jpeg" /></figure><p>In parallel SVM machine first we reduced nonclassified features data by distance matrix of binary pattern. From this concept, the cascade structure is developed by initializing the problem with a number of independent smaller optimizations and the partial results are combined in later stages in a hierarchical way, as shown in figure 1, supposing the training data subsets and are independent among each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*2ITNFAvhlJKKYI8O" /></figure><ul><li>True Positive (TP): The amount of attack detected when it is actually attack.</li><li>True Negative (TN): The amount of normal detected when it is actually normal.</li><li>False Positive (FP): The amount of attack detected when it is actually normal (False alarm).</li><li>False Negative (FN): The amount of normal detected when it is actually attack.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*8Sr4igFiJlgc3EXvlMgDDA.jpeg" /></figure><p>THANK YOU!</p><p>SOURCE: <a href="https://www.ee.ryerson.ca/~">https://www.ee.ryerson.ca</a> , wikipedia</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a60fb60b9dd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>