<?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 Suraj Kumar on Medium]]></title>
        <description><![CDATA[Stories by Suraj Kumar on Medium]]></description>
        <link>https://medium.com/@howdysuraj?source=rss-55ea8a42c273------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EdcGlPAlkaMwNHp87zqFLQ.jpeg</url>
            <title>Stories by Suraj Kumar on Medium</title>
            <link>https://medium.com/@howdysuraj?source=rss-55ea8a42c273------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 01:57:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@howdysuraj/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[Deploying Frontend Apps for Global Scalability and minimum cost. (ft. AWS)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/codingurukul/deploying-frontend-apps-for-global-scalability-and-minimum-cost-ft-aws-37aaa35e01b7?source=rss-55ea8a42c273------2"><img src="https://cdn-images-1.medium.com/max/1350/1*iKevWAWBT_j4TvF7QO5Czg.jpeg" width="1350"></a></p><p class="medium-feed-snippet">The Modern software development evolved a lot in last decade, In this article we are more specific to Single Page Client side apps&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/codingurukul/deploying-frontend-apps-for-global-scalability-and-minimum-cost-ft-aws-37aaa35e01b7?source=rss-55ea8a42c273------2">Continue reading on CodinGurukul »</a></p></div>]]></description>
            <link>https://medium.com/codingurukul/deploying-frontend-apps-for-global-scalability-and-minimum-cost-ft-aws-37aaa35e01b7?source=rss-55ea8a42c273------2</link>
            <guid isPermaLink="false">https://medium.com/p/37aaa35e01b7</guid>
            <category><![CDATA[website]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Suraj Kumar]]></dc:creator>
            <pubDate>Thu, 15 Apr 2021 01:33:31 GMT</pubDate>
            <atom:updated>2021-04-15T01:38:42.134Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Enterprise vs Consumer Products — The Engineering Difference]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://howdysuraj.medium.com/enterprise-vs-consumer-products-the-engineering-difference-900dd140355e?source=rss-55ea8a42c273------2"><img src="https://cdn-images-1.medium.com/max/2600/1*xTJtSQEGM4gkapqbeMRhAA.jpeg" width="4928"></a></p><p class="medium-feed-snippet">First things First, What&#x2019;s difference between a Enterprise Product and Consumer product.</p><p class="medium-feed-link"><a href="https://howdysuraj.medium.com/enterprise-vs-consumer-products-the-engineering-difference-900dd140355e?source=rss-55ea8a42c273------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://howdysuraj.medium.com/enterprise-vs-consumer-products-the-engineering-difference-900dd140355e?source=rss-55ea8a42c273------2</link>
            <guid isPermaLink="false">https://medium.com/p/900dd140355e</guid>
            <category><![CDATA[enterprise-technology]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[hiring]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Suraj Kumar]]></dc:creator>
            <pubDate>Sat, 10 Oct 2020 06:28:15 GMT</pubDate>
            <atom:updated>2020-10-10T06:28:15.736Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Engineering Management like a Pro — 101]]></title>
            <link>https://medium.com/codingurukul/engineering-management-like-a-pro-101-3e89706a16da?source=rss-55ea8a42c273------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e89706a16da</guid>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[engineering-mangement]]></category>
            <category><![CDATA[user-experience]]></category>
            <dc:creator><![CDATA[Suraj Kumar]]></dc:creator>
            <pubDate>Sun, 12 Apr 2020 03:05:06 GMT</pubDate>
            <atom:updated>2020-04-12T04:01:12.012Z</atom:updated>
            <content:encoded><![CDATA[<h3>Engineering Management like a Pro — 101😮</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NiQBQdOFDnvqUwoRtyIu7Q.jpeg" /></figure><blockquote>In this era of technology everything from ordering foods to transferring money, everything is available in just single tap, of course thanks to tech.</blockquote><p>But building technology solution is not a <strong>piece of cake</strong> it requires tons of efforts to bring that food ordering or banking app in your smartphone.</p><p>Now, Straight to the point in this article talks about good practices and hacks that can help you in building a great software product with maximum productivity and efficiency in less time and cost.</p><p>Let’s start from the step <strong>zero</strong> of product development:-</p><ol><li>It is very important for any product team to understand the idea behind the product and <strong>its impact and goal</strong>.</li><li>Analyse all the consumer needs and discuss it with the engineering and development team about the feasibility and cost of development, this will make your engineering team aware of <em>what they have to develop, the user segment and other constrains.</em></li></ol><p>Now, Focus on engineering and development segment:-</p><ol><li><strong>Higher level application architecture:- </strong>Decide a highly <strong>scalable</strong> and easy to <strong>maintain</strong> application architecture for whole application which includes Backend, Frontend, DevOps and other segments if any.</li><li><strong>Technology selection:- </strong>Decide the technology and tools we are going to use to develop our application, and make sure that the technology we selected must satisfy the<strong> needs and goals</strong> of our application.</li><li><strong>Analyse resources:- </strong>Have a look at your human resource weather they are <strong>enough skilled</strong> on your selected technology stack, if not first get your workforce skilled on those technology, so that each team member can decide between<strong> good practice and bad practices</strong>, don’t start development just by relying on stackoveflow🚀</li><li><strong>Segment level architecture:- </strong>Now define micro level architecture of every segment of your application i.e Frontend, Backend, DevOps etc. make sure to discuss with engineering team and give opportunity to all your members to find <strong>pros and cons</strong> of the decided architecture.</li><li><strong>Application performance from day 1:- </strong>No body want to use slow or buggy application, that’s why <strong>performance</strong> consideration really matters and each and every developer should implement the best <strong>optimized </strong>feature(where ever possible), because rework can be more costly.</li><li><strong>Define a code standard:- </strong>Defining a code standard and <strong>design pattern</strong> and ask every developer to follow that <strong>code standards</strong>, doing this can decrease the development <strong>time and maintenance</strong> effort to a larger extent.</li><li><strong>Decide a success matrix:-</strong> Analyzing the result is most important, similarly define a <strong>minimum threshold</strong> for every feature of your application, it will help you in delivering more perfect features and less bugs.</li><li><strong>Setup a proper test environment:- </strong>Analyse all the <strong>edge cases</strong> and provide a proper <strong>testing environments</strong> to developers so that they can test each and every feature while developing, this will help in decreasing the <strong>number of iterations.</strong></li><li><strong>Test everything from min scale to max scale:- </strong>Let’s understand this with help of a example, suppose we are having a table in our application then test it when when zero records and then thousands of records, if the table lags then you need to change the strategy, this will not only help in <strong>performance and stability</strong>, but also help in improving the UX of application.</li><li><strong>Decide and test deployment architecture:- </strong>Deployment is really crucial part of any software product, don’t try to be conservative here because if your <strong>deployment infrastructure</strong> is not good, then well developed application cannot give good performance and may leave your user frustrated.</li></ol><p>This it all about Engineering Management in this article in my upcoming article i will talk about each one of the above points in depth.</p><blockquote>Loved it, then show some love by clapping and sharing, In case of any query feel free to reach out to me at : <a href="https://surajkumar.info/">https://surajkumar.info/</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e89706a16da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codingurukul/engineering-management-like-a-pro-101-3e89706a16da">Engineering Management like a Pro — 101😮</a> was originally published in <a href="https://medium.com/codingurukul">CodinGurukul</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Future of Music Streaming Services from eyes of Product Engineer]]></title>
            <link>https://medium.com/codingurukul/future-of-music-streaming-services-from-eyes-of-product-engineer-5e765f3f46b7?source=rss-55ea8a42c273------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e765f3f46b7</guid>
            <category><![CDATA[spotify]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[online-music-streaming]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[product-design]]></category>
            <dc:creator><![CDATA[Suraj Kumar]]></dc:creator>
            <pubDate>Sat, 23 Nov 2019 03:54:45 GMT</pubDate>
            <atom:updated>2019-11-23T03:54:45.970Z</atom:updated>
            <content:encoded><![CDATA[<p>Music is an essential part of our daily life weather one belongs to any Age or Gender.Everyone loves music and everyone has different taste. In earlier days when data is so costly people used to download them.But with decrease in cost of data given an extra boost to the cloud based music streaming service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*OPWZK-ZP_3H6W66G_WO6Gw.png" /></figure><p>In this article i am going to talk about the only Indian sub-continent, If we look at the major music streaming players available in the market are <strong>JioSaavn, Gaana, Amazon Music, YouTube Music and Spotify.</strong></p><p><strong>Let’s first discuss the similarity among them:</strong></p><ol><li>All are available on Web as well as Mobile App.</li><li>All are having a large collection of music and songs.</li><li>All are having free and paid version with extra features like offline download,Better audio quality and no advertisement.</li><li>All of them requires internet connection.</li></ol><p><strong>Now Talk about the publicly available source of revenue generation of these apps:</strong></p><ol><li>Premium/Paid Subscription</li><li>Advertising in Free Subscription.</li></ol><p>If we look at the above points both kinds of users are generating revenue for the service provider.It means if a user with Free Subscription is not liking your service then he/she may leave you and it indirectly affect your revenue.</p><p>Points to keep in mind before developing a music streaming product for India:</p><ol><li><strong>Keep Diversity in Mind</strong></li></ol><p>India is known for its diversity either in terms of Language,Culture or Tradition. It means People in Gujarat may/only look for Gujarati song or song by a Gujarati artist, and it goes same with all the states with different art,culture and tradition. So before launching your service make sure to have proper balance of all kind of songs based on diversity and keep it improving with time.</p><p><strong>2. Keep Network in Mind(Urban vs Rural)</strong></p><p>Although, All major Indian Urban cities(except some) have great connectivity and their is no issue of Internet, But If we talk about Rural cities and villages their is still a connectivity issue. Then here comes the balance of network and audio quality, if your audio quality is not adaptive as per network then it is not going to work in areas with average connectivity. and some goes with advertisements, your advertisements should be adaptive.</p><p>If network is slow then show smaller ads and no banner, if the network is average then show smaller ads with banner and if if the network is excellent then show what ever you want.</p><p><strong>3. Keep State of your listeners in mind</strong></p><p>We use to listen to songs in various situations and moods. Maybe while travelling, running, workout and many more and all these factors affect our network quality.</p><p>For example while travelling network always keeps fluctuating and sometime the song freezes due to network issues.and we end up by closing the app.</p><p><strong><em>Then the question is how can we give user a better experience with fluctuating network.Here is a solution that comes in my mind is instead of streaming songs one by one keep the ten last played songs in buffer memory and when the network issue arises give the user option to play last 10 songs, this way it will retain the user to your app and improve the user experience as well.</em></strong></p><p><strong>4. Keep User device/platform in mind</strong></p><p>Their was a time when user only use smartphone to listen to music, Now we have Desktops, Smart TV, Cars, Smart Speakers(Google home,Amazon echo etc.) and people are really adapting these platforms to enjoy their music while working. So it is necessary to make your app available on all these platforms and it should be easily accessible.</p><p>I hope you enjoyed reading this article , if you liked it do share and clap and don’t forget to follow for upcoming articles.</p><p>Thanks</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e765f3f46b7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codingurukul/future-of-music-streaming-services-from-eyes-of-product-engineer-5e765f3f46b7">Future of Music Streaming Services from eyes of Product Engineer</a> was originally published in <a href="https://medium.com/codingurukul">CodinGurukul</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UI/UX Beyond Design and Animations]]></title>
            <link>https://medium.com/codingurukul/ui-ux-beyond-design-and-animations-38823087f017?source=rss-55ea8a42c273------2</link>
            <guid isPermaLink="false">https://medium.com/p/38823087f017</guid>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[application-development]]></category>
            <dc:creator><![CDATA[Suraj Kumar]]></dc:creator>
            <pubDate>Wed, 06 Nov 2019 10:15:04 GMT</pubDate>
            <atom:updated>2019-11-06T10:17:11.402Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L8z_JEcb8SIg2Xr4orad2Q.png" /></figure><p>From last few i was reading a lot of blogs and articles on User Experience Design so i thought of writing a article on UX for Software Products.</p><p>When we design any App/Software our main agenda is to fulfil the goals of that product, but we don’t think too much about the end user experience.</p><p>Few Days back i Visited a Showroom of “Hero MotoCorp”, and the person siting on sales counter was facing some difficulty with the accounting software so he asked me for help, i went their and seen the software he is using and for a moment i started thinking this is the condition of software development companies, The things i noticed are mentioned below:<br>1. The UI is super messy.<br>2. Nothing Self-explanatory in the UX.<br>3. Taking Much numbers of clicks for single tasks.<br>4. Improper use of UI Components.<br>5. No User Manual/Help integrated in the Software for quick assistant.</p><p>Although this software is fulfilling all the needs, but it is also generating a chances of errors.</p><p>Here are my views on Developing a Great UX for your Product.</p><ol><li><strong>Always Think like a End User</strong></li></ol><p>While Developing any product always think of all the use cases and all the states, For example when we insert a button we should must define its design for all the state( When is hovered on it or when it is clicked) for event feedback and better understanding of user without any confusion.</p><p>2. <strong>Always try to make Self Explanatory UI</strong></p><p>In Modern application you may have seen great UI containing Hamburger Menus and Icons Instead of text. These things really gives a super cool and modern looks but if the user is not able to understand what that icon is for without trying it once it means your UI is Good looking but not self explanatory. But we can combine modern UI and Great UX by using helping components like tooltips and helper texts.</p><p>3<strong>. Minimise the Number of actions done for Completing a Task.</strong></p><p>Every One in this world wants more productivity in less investment and same goes with user of your product if you user needs to click 5 buttons and fill 2 input fields for login, then their is probability that he/she will not login until extremely needed. so as a good ux practice we should always keep minimum number of steps required to complete an action.</p><p><strong>4. Avoid Confusion</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*DdBH4bTTzyZvOwWUrcl5Dw.png" /></figure><p>Which button you will press to Cancel the Download “Cancel or OK”, these both are self conflicting and they will create confusion for the user and it may leads the user to take some danger action or the revers of action he/she wants to do. so mind this kind of mistakes.</p><p>5. <strong>Optimise your Application UI/UX for all screen Sizes.</strong></p><p>You may have heard of Responsive and Adaptive Design, You always need to insure that the UX is same across all screen sizes. If Your UI is more Data Intensive then follow ADAPTIVE Design Principal otherwise use Responsive Pattern. Make sure usability of your application does’t decreases on Small screen sizes. and keep in mind the typography of different elements.</p><p><strong>6. Keep in Mind the Hardware of End user.</strong></p><p>Always make sure if your application works fine on your system then it should work same for user regardless of what kind of hardware they are using, anyhow the hardware will impact the perfomance index but always try to minimise the Performance Difference.</p><p><strong>7. Keep Network In Mind.</strong></p><p>Generally your application uses Networks in many ways either fetching a webpage from a server or getting data from a API. and Application performance varies based on network Speed. but make sure it does not create a lot difference in UX. for that you can use technologies like Service Workers and offline cashing for better performance in slow connection.</p><p><strong>8. Always add user manual/help guide.</strong></p><p>Many companies develop really complex software products with tons of feature but they don’t make effort in writing a user manual, and indirectly it is affecting the usage of your application.</p><p>I hope you liked this article, any suggestion/Questions are most welcome.</p><p>Keep Creating Awesome Experiences!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38823087f017" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codingurukul/ui-ux-beyond-design-and-animations-38823087f017">UI/UX Beyond Design and Animations</a> was originally published in <a href="https://medium.com/codingurukul">CodinGurukul</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Online Courses to Learn Angular for Different kind of Learners]]></title>
            <link>https://medium.com/codingurukul/3-online-courses-to-learn-angular-for-different-kind-of-learners-9f7c2517ad09?source=rss-55ea8a42c273------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f7c2517ad09</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[online-courses]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Suraj Kumar]]></dc:creator>
            <pubDate>Sun, 20 Oct 2019 07:05:51 GMT</pubDate>
            <atom:updated>2019-10-20T07:18:36.180Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Best Online Courses to learn angular in 2019" src="https://cdn-images-1.medium.com/max/576/1*9yfan4glbJWu2ObxApdhaA.png" /></figure><p>From last couple of decades web engineering is dominating how we use softwares to make our life easier or to solve a business problem, Web has solution for everything. Web is one of the evergreen field of this digital era. But with the time web engineering also evolved and getting mature day by day. In old times we used to develop web apps with just static HTML and then JS come into action and helped us in making Dynamic Web apps but the development is tough and not cost effective to overcome this issue many JavaScript frameworks were made and Angular is one of them which is developed by <strong>Google</strong> for effortlessly building dynamic web apps.</p><p>In this article we are going to find the best courses to learn Angular for different kind of learners.</p><h4><a href="https://click.linksynergy.com/deeplink?id=xjcZ/EPGlyk&amp;mid=39197&amp;murl=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fthe-complete-guide-to-angular-2%2F">1). Angular 8 — The Complete Guide (2019+ Edition) by <strong>Maximilian Schwarzmüller</strong></a></h4><blockquote>If you are looking for a course that takes you from <strong>ground zero to cloud nine </strong>then this course is for you but make sure you <strong>good amount of patience</strong> and <strong>time </strong>because in this course you learn everything from higher level to very deep concepts, apart from all these this course will first teach you the theory of every concept with small examples then it goes to larger and complex project, so if you have plenty of time, clear insight of JavaScript basics, and eager to learn angular completely then surely go for this course. <a href="https://click.linksynergy.com/deeplink?id=xjcZ/EPGlyk&amp;mid=39197&amp;murl=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fthe-complete-guide-to-angular-2%2F"><strong><em>Explore this course now</em></strong></a></blockquote><h4><a href="https://click.linksynergy.com/deeplink?id=xjcZ/EPGlyk&amp;mid=39197&amp;murl=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fangular-4-front-to-back%2F">2). Angular Front To Back by Brad Traversy</a></h4><blockquote>If you are a <strong>beginner</strong> looking for a <strong>fast track</strong> course which teaches Angular in very<strong> less time</strong> and in a <strong>Project oriented</strong> manner then this course is for you because it will not overwhelm you by directly introducing deep and complex concept, it will explain everything during different phase of the the project so that you can learn every concept one by one instead of learning all at once, so if you are a beginner and want a <strong>working knowledge</strong> of angular in less time then surely go for this course.<a href="https://click.linksynergy.com/deeplink?id=xjcZ/EPGlyk&amp;mid=39197&amp;murl=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fangular-4-front-to-back%2F"><strong><em>Explore this course now</em></strong></a></blockquote><h4><a href="https://click.linksynergy.com/deeplink?id=xjcZ/EPGlyk&amp;mid=39197&amp;murl=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fthe-complete-angular-master-class%2F">3). The Complete Angular Course: Beginner to Advanced by Mosh Hamedani</a></h4><blockquote>If you have some very basic knowledge of web development and want to get your hand dirty with angular in a <strong>moderate amount of time</strong> with a proper balance of <strong>time and real life projects</strong> then this course is for you, this course will go from very <strong>basic to the peak</strong>, along the journey you will learn the usage of various third party <strong>libraries</strong> and third party services like <strong>firebase</strong> etc. More often this course is also focused on following <strong>best practices </strong>in <strong>development </strong>and <strong>production</strong>. so if you have moderate amount of time , Basic understanding of JavaScript and want to acquire <strong>complete knowledge</strong> then surely go for this course.<em> </em><a href="https://click.linksynergy.com/deeplink?id=xjcZ/EPGlyk&amp;mid=39197&amp;murl=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fthe-complete-angular-master-class%2F"><strong><em>Explore this course now</em></strong></a></blockquote><blockquote><strong>Why you should purchase a online course.</strong></blockquote><p>Although we are aware of the fact that online course gives you flexibility to learn from anywhere, anytime and on any device, but the best thing is the life support they provide when you are stucked somewhere then you can get your problem solved in no time. That’s why we encourage you to purchase the course and don’t try to acquire them illegally.</p><p>Thanks, and follow us for more amazing articles related to technology.</p><ul><li><a href="https://www.facebook.com/CodinGurukul/">Coding Gurukul</a></li><li><a href="https://twitter.com/codingurukul">Coding Gurukul</a></li><li><a href="https://www.linkedin.com/company/codingurukul">Coding Gurukul | LinkedIn</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f7c2517ad09" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codingurukul/3-online-courses-to-learn-angular-for-different-kind-of-learners-9f7c2517ad09">3 Online Courses to Learn Angular for Different kind of Learners</a> was originally published in <a href="https://medium.com/codingurukul">CodinGurukul</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular 8 — Making Progressive Web Apps]]></title>
            <link>https://medium.com/codingurukul/angular-8-making-progressive-web-apps-4e349ddaa8df?source=rss-55ea8a42c273------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e349ddaa8df</guid>
            <category><![CDATA[web-apps]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[pwa]]></category>
            <category><![CDATA[mobile]]></category>
            <dc:creator><![CDATA[Suraj Kumar]]></dc:creator>
            <pubDate>Thu, 11 Jul 2019 04:18:44 GMT</pubDate>
            <atom:updated>2019-09-30T15:01:54.981Z</atom:updated>
            <content:encoded><![CDATA[<h3>Effortlessly build Progressive Web Apps (PWA) with Angular</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*Kmb1oX1p6P-NG_knJLf_Ag.png" /></figure><p>A <strong>Progressive Web App</strong> (PWA) is a <strong>web app</strong> that uses modern <strong>web</strong> capabilities to deliver an <strong>app</strong>-like experience to users. These <strong>apps</strong> meet certain requirements (see below), are deployed to servers, accessible through URLs, and indexed by search engines. if you google it you will find similar definition of PWA.</p><p>In this article we are going to setup PWA essentials in a angular project.the best thing about angular is that their is already a package delivered by angular team which reduces our tons of effort.</p><p>As always, before we can dive into anything else, we need to fulfill our installation prerequisites. I’ll guide you through everything:</p><p>Step 1: Be sure to verify that the Angular CLI installed by running this command:</p><pre>ng -v</pre><blockquote>If Angular CLI is not installed just install it by running the following command</blockquote><pre>npm install -g @angular/cli</pre><p>Step 2. Instead of creating a new project we are going to clone a none PWA version of our news app from Github by running the following command:</p><blockquote>This Command will only Clone Master branch instead of cloning all branches.</blockquote><pre>git clone -b master --single-branch <a href="https://github.com/singhsugga/Newslar.git">https://github.com/singhsugga/Newslar.git</a></pre><p>Step 3. Now open command line/terminal in cloned project folder and install all the dependencies by running npm install</p><p>Step 4. Now open the project in your favorite IDE, make sure to keep the terminal open in the project folder.</p><p>Step 5. Build the project by running the following command:</p><pre> ng build --prod</pre><p>It will create final production build in “dist” folder, cd into this folder and run your http server here (you can use <a href="https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb/related?hl=en"><em>web server for chrome extension</em></a>). you will see the None PWA version of our app as shown in the screenshot below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ld2DRMwHqj2TE1B4EK-XUQ.jpeg" /><figcaption>None PWA version of our application Newslar.</figcaption></figure><p>Step 6. Now its time to convert this app to a PWA by installing angular package for PWA you can do this by running the following command:</p><pre>ng add @angular/pwa</pre><p><em>Link to angular pwa package on npm: </em><a href="https://www.npmjs.com/package/@angular/pwa?activeTab=dependencies"><em>https://www.npmjs.com/package/@angular/pwa</em></a></p><p>This Command will create two files:</p><ul><li>Manifest.json — This file contails all the design and location specifications for your web app, including the color, name, URL, and icon size</li><li>Nsgw-config.json — This JSON file is the heart of a Angular PWA, and it defines a PWA, and This file is like the central control for your PWA, and it’s what we’ll be using to add the offline functionality</li></ul><p>Now rebuild the project the http server in “dist” as shown in <strong>Step 5</strong></p><p>Now open Dev tools and go to application tab you will see a manifest and a Service worker registered it means our PWA is up and running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hpJaIiU9HrWXj_0sD6w_mw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l3a_S7LogbqwlOcs3kxH-g.jpeg" /><figcaption>Service Worker is registered (Left) and Web App Manifest is detetcted (Right)</figcaption></figure><p>Now lets check weather app works in offline mode or not lets check the offline checkbox in Service Worker Tab and then reload the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I-yYQrnwuu3cYOwflTae0Q.jpeg" /></figure><p>Opps! Instead of Showing “You are offline” its showing all the Static HTML content like the header and the footer but it is not caching the dynamic content fetched from a Web API. So we need to configure our service worker to cache dynamic content too, So lets do it.</p><p>Step 7 . Open “ngsw-config.json” file located in the root of the project folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L7rToX2NVMwq3ls_SmZuAQ.jpeg" /><figcaption>Default Service worker configuration file created by installing PWA Package</figcaption></figure><p>This Service Worker Configuration file is a file that contains all the configuration and behavior related to the service worker, the actual service worker JavaScript file is created during build time.</p><p>So lets first understand different configurations settings in “ngsw-config.json” file</p><ol><li><strong>“index” property</strong></li></ol><pre>“index”: “/index.html”</pre><p>Specifies the file that serves as the index page to satisfy navigation requests. Usually this is /index.html.</p><p><strong>2. “assetGroups” property</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f26f87009dedc4dc18fd9cb064a3c524/href">https://medium.com/media/f26f87009dedc4dc18fd9cb064a3c524/href</a></iframe><p><em>Assets</em> are resources that are part of the app version that update along with the app. They can include resources loaded from the page’s origin as well as third-party resources loaded from CDNs and other external URLs. As not all such external URLs may be known at build time, URL patterns can be matched.</p><p>This field contains an array of asset groups, each of which defines a set of asset resources and the policy by which they are cached.</p><p>By Default the service worker config contains only assetsGroup for Caching Static Assets.</p><p>But to Cache Dynamic Assets we need to use a new group called dataGroups</p><p><strong>3. “dataGroups” Property</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/768ca087f5a94badab155b7089f34bee/href">https://medium.com/media/768ca087f5a94badab155b7089f34bee/href</a></iframe><p>Unlike asset resources, data requests are not versioned along with the app. They’re cached according to manually-configured policies that are more useful for situations such as API requests and other data dependencies.</p><p><strong><em>Explore more Details about Service worker configuration </em></strong><a href="https://angular.io/guide/service-worker-config"><strong><em>here</em></strong></a></p><p>Our final Service worker code looks like following:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/83d5f200f2b8809d61c683d48dd1a184/href">https://medium.com/media/83d5f200f2b8809d61c683d48dd1a184/href</a></iframe><p>Now again build your app and deploy it on favorite platform, and open it in a your android phone.</p><p>You are able to see Install banner and the App can be installed like a native app. with offline caching ability and native share API working.</p><p>The final Code can be found on PWA branch of following Repo: <a href="https://github.com/singhsugga/Newslar/tree/PWA">https://github.com/singhsugga/Newslar/tree/PWA</a></p><p>Final App Can be found at: <a href="https://newslar.web.app/">https://newslar.web.app/</a></p><p>If You liked this article do Clap and Share with others.</p><p>Keep Coding! Keep Exploring !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e349ddaa8df" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codingurukul/angular-8-making-progressive-web-apps-4e349ddaa8df">Angular 8 — Making Progressive Web Apps</a> was originally published in <a href="https://medium.com/codingurukul">CodinGurukul</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular 8 Differential loading — behind the scene]]></title>
            <link>https://medium.com/codingurukul/angular-8-differential-loading-behind-the-scene-d7299e64a57c?source=rss-55ea8a42c273------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7299e64a57c</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Suraj Kumar]]></dc:creator>
            <pubDate>Wed, 10 Jul 2019 17:20:09 GMT</pubDate>
            <atom:updated>2019-07-10T17:26:39.900Z</atom:updated>
            <content:encoded><![CDATA[<h3>Angular 8 Differential loading — behind the scene</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ikI6zV0qFAn2gS0ii-ElkQ.png" /></figure><p>If we look at the war of JavaScript frameworks and libraries the list is huge but the major 3 competitors are Angular, React and Vue.</p><p>Although angular is a complete framework which has its own package for network request, form validation and many more but the one one down side of angular apps is the app/bundle size.</p><p>In Angular 8, the team decided to find some new ways to fix this and reduce the bundle size and then the concept of differential loading comes into action.</p><p>What is happening till angular 7 when we build our apps with “ng build” command, our all the typescript files are converted to js and then the final application bundle is created for all browsers either modern or older one considering the application should run properly of older browser. which results in larger bundle size because all the modern JS/TS code need to be converted in JS which can be easily supported by older browsers.</p><p>Now Whats happening in angular 8 when we build an app with “ng build” command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*Y0-yUCxZRjfHkBVfTj8G0Q.png" /><figcaption>output of ng build command</figcaption></figure><p>when we build the project it created two different bundles one is for older browser(marked with red) and another is for browsers that supports modern javascript(marked with blue), and have a look at the file size of both the bundles.</p><p>During deployment both the bundles are deployed and when a client opens your web app then based on browser compatibility the JS bundle is loaded.</p><p><strong>But the question is how the application knows weather the browser is older or modern?</strong></p><p>Have a look at at index.html where scripts are imported.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MzrYOtu93znFc6WpPgGTZQ.png" /></figure><p>from the above image you can easily understand how it is working . when <strong>nomodule </strong>is true then it will load js for older browser and ignore the next script otherwise it will load the js for modern browsers. if you are still confused have a look at this nice video <a href="https://www.youtube.com/watch?v=lEmN5YpcFKQ">tutorial on Demos with Angular Channel on youtube.</a></p><p>Keep Exploring!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7299e64a57c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codingurukul/angular-8-differential-loading-behind-the-scene-d7299e64a57c">Angular 8 Differential loading — behind the scene</a> was originally published in <a href="https://medium.com/codingurukul">CodinGurukul</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Google Drive / Dropbox Works behind the scenes ]]></title>
            <link>https://medium.com/codingurukul/engineering-inside-google-drive-dropbox-its-not-simple-a305792393eb?source=rss-55ea8a42c273------2</link>
            <guid isPermaLink="false">https://medium.com/p/a305792393eb</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[google-drive]]></category>
            <category><![CDATA[system-architecture]]></category>
            <category><![CDATA[cloud-storage]]></category>
            <category><![CDATA[dropbox]]></category>
            <dc:creator><![CDATA[Suraj Kumar]]></dc:creator>
            <pubDate>Fri, 21 Jun 2019 07:18:15 GMT</pubDate>
            <atom:updated>2019-10-02T13:21:02.737Z</atom:updated>
            <content:encoded><![CDATA[<p>Technology is evolving everyday and it is becoming a major part of our daily life, everyday we capture a lot of photos and videos and share it with our loved once located anywhere by using services/apps like Google Drive,Dropbox etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*x5rvpKCWnB0l4IbWXDS2gw.png" /></figure><p>But have you ever thought how these apps works behind the scenes,in this article we will explore everything about technology behind apps like Google Drive,Dropbox or in general any file hosting and sharing apps.</p><p><strong>First make a list of basic features we want in our file sharing system/service:</strong></p><ol><li>Upload/Download files.</li><li>Sync with local folders of one or more devices/clients.</li></ol><p>3. History of Updates(Keeping record of various changes occurred in different versions of same file).</p><p><strong>Now lets define at what scale our application is going to be used:</strong></p><p>1).10 + million users.</p><p>2). 100 million requests per day.</p><p>3). Very High read and write operations.</p><p>Before developing any application we need a proper combination of features and what scale the application is going to be used.</p><p>Let’s start small with an example of simple example of a wireless external hard drive attached to a computer:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*y5jiyUuCi2ain6GQEAhMSw.png" /></figure><p><strong>Understanding this simple scenario:</strong></p><p>We have a local file named “<strong><em>My_resume.doc</em></strong>” and we edited it many times and uploaded to our wireless hard drive. After every edit it is a new version and we are saving all the version to keep a record of different version changes and updates history. Bandwidth usage is the amount of network resources used to upload that file to hard drive.lets make a table to calculate the resource utilized by this single file for its storage to the external wireless hard drive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*vuN6TZfNo-zrnZZuFShQqA.png" /></figure><p>Let’s take the sum of total resources used after 3 Versions:</p><p><strong>Network Bandwidth: 5 MB + 6 MB + 8 MB = 19 MB</strong></p><p><strong>Storage Space on Hard drive: 5 MB + 6 MB + 8 MB = 19 MB</strong></p><p>In our example it is a small file so resource cost is not a big issue but the problem arises when the file size huge(like 20 GB) then the resource cost will really hurt.</p><p><strong>From the above approach we found the following Problems:</strong></p><ol><li>Excessive Bandwidth Utilization.</li></ol><p>2. Redundant Data in Storage.</p><p>3. Network Latency.</p><p>4. Concurrency issue during upload and download over network.</p><p><strong>Now we have to find the solution. Lets see how??</strong></p><p>Instead of uploading the complete file the file is broken into smaller chunks and then uploaded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*C1scmWc0oNxjG1nopWiKPA.png" /><figcaption>A File is broken into various smaller chunks.</figcaption></figure><p>Till now we used a wireless hard drive as storage but in reality this kind of apps uses highly scalable cloud storage in this article we are going to use Amazon S3(Simple storage service) as our storage unit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*nV4IRFTz_-sLFqbehzgiYw.png" /><figcaption>Scenario When the file uploaded for first time</figcaption></figure><p>When we upload the file for the first time all the chunks are uploaded and a meta data file is created which keeps the address of all the chunks with their arrangement sequence.</p><p>Now here comes the interesting part. What will happen when we update the file, Actually we rarely update something in all the chunk.</p><p>Suppose we updated something in Chunk 7 and 8 of the file, then only these chunks are uploaded as Version 2 and a new Meta Data is created with the latest information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*ydiV0QV-6_pJpCaZUN6sxQ.png" /><figcaption>Scenario when a file is edited/updated and then uploaded.</figcaption></figure><p>With this approach we solved have solved the following problems:</p><ol><li>Excessive Bandwidth Utilization.</li><li>Redundant Data in Storage.</li></ol><p>Now lets again calculate the resource utilization.</p><p>File Size: 24 MB (Previously 40 MB)</p><p>Network Bandwidth Used: 24 MB (Previously 40 MB)</p><p>Now we have to Solve 2 other problems i.e Network latency and concurrency.</p><p>Let’s Suppose our network speed is 1 MBPS on single thread then it will take 20 Seconds to upload the file. So introduced a script file “<strong>multi_thread.py</strong>” in between the chunking and uploading mechanism, this can upload 5 files by establishing 5 threads then the time required to upload a 20 MB it will take 4 Seconds which was 20 Seconds in single threaded model.</p><p>So till now we have solved the issues we listed above.</p><p>Now let’s dive in real system design and functioning:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*J2QB6IDHL4coAQq_NvW-Zg.png" /><figcaption>Complete System design of a file hosting/sharing service</figcaption></figure><p>From the above diagram on client side their are 4 components.</p><p><strong>Watcher: </strong>It is responsible for watching changes in local files.</p><p><strong>Chunker:</strong> It is responsible for breaking a large file into smaller chunks.</p><p><strong>Indexer: </strong>It is responsible for creating the metadata and storing it into internal database.</p><p><strong>Internal Database:</strong> It is responsible for storing the metadata.</p><p>Let’s understand it with more real life example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*PGtMHfKCsXrO8vBbJJgUag.png" /></figure><p>From the above image let’s suppose we are logged in into 3 different devices and our files are synchronized in all the devices but the question is how??</p><p>Let’s go step by step, first we uploaded a file from our smart phone,the chunker makes the smaller chunks and upload it to the storage, after upload storage service returns the address of each chunk to the indexer and it stores it in the internal database.At the same time the storage service also updates the Metadata DB and when something is changes in Metadata DB informs the Messaging and Synchronization service to update other clients(on Laptop and tablet in this case) to fetch the latest metadata and update their Internal Database with latest file information.this is how synchronization works between multiple devices.</p><p>For every update this process repeats.</p><p>In this whole article we talked a lot about Metadata but in simpler way it is just a JSON object contains info of each chunk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/1*jEdcQbNUTypEYy82M473XQ.png" /><figcaption>Sample metadata format of a chunk</figcaption></figure><p><strong>So, This is all about the engineering behind a file sharing/hosting platform like Google Drive/Dropbox.</strong></p><p><strong>I hope you enjoyed it, feel free to Share and Clap, In future, I will be writing this kind of articles only at Coding Gurukul</strong></p><p><strong>Happy Exploring!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a305792393eb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codingurukul/engineering-inside-google-drive-dropbox-its-not-simple-a305792393eb">How Google Drive / Dropbox Works behind the scenes 💡</a> was originally published in <a href="https://medium.com/codingurukul">CodinGurukul</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WhatsApp-Engineering Inside-2]]></title>
            <link>https://medium.com/codingurukul/whatsapp-engineering-inside-2-bdd1ec354748?source=rss-55ea8a42c273------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdd1ec354748</guid>
            <category><![CDATA[system-architecture]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[whatsapp]]></category>
            <category><![CDATA[application-architecture]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Suraj Kumar]]></dc:creator>
            <pubDate>Sun, 27 Jan 2019 17:30:44 GMT</pubDate>
            <atom:updated>2019-09-27T17:23:09.254Z</atom:updated>
            <content:encoded><![CDATA[<p>In “<a href="https://medium.com/codingurukul/whatsapp-engineering-inside-1-1ef4845ff784">WhatsApp-Engineering Inside-1</a>” we talked about the system and network architecture of WhatsApp, in this article we are going to deep dive into the messaging server and other components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*VfUrKOg6HtyT2qYxO46scg.png" /></figure><p>One thing which needs to be known is that the connection is always initiated by the client because the server does not know the address of the client but the client knows the address of the server.</p><p><strong>How <em>Sent, Delivered</em> and <em>Seen</em> Works?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*YvTi-ovbS4e31gJQ3x_xdw.png" /><figcaption>WhatsApp message status symbols</figcaption></figure><p><strong>Sent: </strong>When we send a message and that message is received by Whatsapp server.</p><p><strong>Delivered:</strong> When the message is delivered to the receiver from the Whatsapp server.</p><p><strong>Seen: </strong>When the message is seen/opened by the receiver.</p><p><em>To Incorporate all these status changes, every message has a unique ID to identify each message and acknowledgement from the various events (sent / delivered /seen).</em></p><p><strong>What happens inside the Whatsapp server when a client connects to the server?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*KIo2e5Op_iUb4j-6z_SkKQ.png" /></figure><p>When a client connects to the WhatsApp server, a process (or thread) is created with respect to that client. This process is responsible for handling all the operations related to that client.</p><p>With every process, a queue(Highlighted with light green colour) is associated which act as a buffer for that process. After process creation, a table is created in the database to maintain the record of PID(Process ID) and the associated Client.</p><p><strong>How Last Seen Work?</strong></p><p>Implementation of this feature is very simple and straightforward, It is just about maintaining a record with Client ID and Timestamp.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*KWR0NAiGqnU-HzuFP-Zurg.png" /><figcaption>A table containing client id and their last seen status</figcaption></figure><p>When we open Whatsapp in our smartphone, our application sends a pulse to server every 5 seconds, and with every pulse last seen time is updated in the table. As the client disconnects the last seen time exists in the record that is updated by the last pulse sent before closing the app.</p><p><strong>How the media sharing works?</strong></p><p>For sharing, we don’t use the connection which is used for sending text messages because it is a very lightweight connection and it cannot handle this much load.</p><p>Instead, WhatsApp uses a different server(like HTTP) to share media.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*pkKmT7Rtl1l9DKfZQAB_nA.png" /><figcaption>System design with HTTP Server</figcaption></figure><p>When we share a media, it gets uploaded to an HTTP Server over a different connection, after successful upload, the HTTP server returns a hash or unique ID associated to that media and that hash value is sent to the WhatsApp server. At the receiver end, the same thing works in a reverse way, the receiver receives the hash value then it downloads the media from HTTP server associated to that hash value.</p><p>The Telephony services also work in the same way just like media services, for this, we also use a different server and use a different kind of connection like socket etc. for real-time communication.</p><p><strong><em>This is all about the overview of a real-time messaging system.</em></strong></p><p><strong>Let&#39;s Talk about the actually Technology used by Whatsapp :)</strong></p><p><strong>-&gt; Programming Language: Erlang</strong></p><p>Erlang is a super fast programming language which supports features like Hot Reload/Update on Fly etc. It also has a concept of the lightweight thread which makes it capable of handling millions of connections at a time. This is the reason Erlang is an ideal choice for WhatsApp.</p><p><strong><em>In Actual, Whatsapp handles 10 million connection on a single server, which seems to be impossible but the WhatsApp team able to achieve this. And it is only possible if you know all the things about the system like Server kernel, networking library, infrastructure configuration etc.</em></strong></p><p><strong>-&gt; Operating System on Servers:</strong> FreeBSD is the OS used by all the messaging servers of WhatsApp. As it is open source OS and the developer knows all the in and out. so that they can get maximum performance out of it.</p><p><strong>-&gt; Database: AMNESIA</strong> is the database which is used for storing data, it is also a key-value pair based DB which couples really good with Erlang<strong>.</strong></p><p><strong>-&gt; Web Server: </strong>The Web Server used in all the messaging server is <strong>YAWS </strong>— Yet Another Web Server.</p><p><strong>So, This is all about the engineering behind a real-time messaging platform like WhatsApp.</strong></p><p><strong>I hope you enjoyed it, feel free to Share and Clap, In future, I will be writing this kind of articles only at Coding Gurukul</strong></p><p><strong>Happy Exploring!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdd1ec354748" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codingurukul/whatsapp-engineering-inside-2-bdd1ec354748">WhatsApp-Engineering Inside-2</a> was originally published in <a href="https://medium.com/codingurukul">CodinGurukul</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>