<?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 shubham yadav on Medium]]></title>
        <description><![CDATA[Stories by shubham yadav on Medium]]></description>
        <link>https://medium.com/@shubham2896yadav?source=rss-5f1537395f6d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*T0L9zTfVS3-wEhSE.jpg</url>
            <title>Stories by shubham yadav on Medium</title>
            <link>https://medium.com/@shubham2896yadav?source=rss-5f1537395f6d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 11:56:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shubham2896yadav/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[Implement the real-time user-sessions recording and streaming of the webpage using Node js mongodb…]]></title>
            <link>https://medium.com/@shubham2896yadav/implement-the-real-time-user-sessions-recording-and-streaming-of-the-webpage-using-node-js-mongodb-a7bde8440cb2?source=rss-5f1537395f6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7bde8440cb2</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[streaming]]></category>
            <category><![CDATA[dom]]></category>
            <category><![CDATA[mutationobserver]]></category>
            <category><![CDATA[socketio]]></category>
            <dc:creator><![CDATA[shubham yadav]]></dc:creator>
            <pubDate>Mon, 21 Oct 2019 12:42:53 GMT</pubDate>
            <atom:updated>2020-06-16T05:14:55.527Z</atom:updated>
            <content:encoded><![CDATA[<p>Implementing the real-time user-session’s recording and streaming of the webpages using Node js,mongodb and rrweb-library</p><p><a href="https://drive.google.com/file/d/1b6_Y25wWiLp6vQOPLEiOUJb7omAY2Bko/view?usp=sharing">out-2.ogv</a></p><p>We will be implementing the sessions recording of the users over a web-page using node.js and socket.io .For data storage purpose we will be using mongodb to store the DOM events fired by rrweb .</p><p>so lets get started with the <strong>server setup in node js .</strong><br>we will temporarily store the events(for streaming purpose ) while the connection is ongoing and then store them after the connection is closed by the web-user clients .</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c94b7ea41ef9fbdd1db286328a72d528/href">https://medium.com/media/c94b7ea41ef9fbdd1db286328a72d528/href</a></iframe><p>Our socket connections and controller file would be like this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/25e54c564adcc3282084b03cc94ff69c/href">https://medium.com/media/25e54c564adcc3282084b03cc94ff69c/href</a></iframe><p>the test web page where the web-users visit will be like this</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6d095b302b8cc208bd4cc115bc9a0236/href">https://medium.com/media/6d095b302b8cc208bd4cc115bc9a0236/href</a></iframe><p>our admin dashboard where the sessions can be seen</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ef1dfa466a57e052514495adcad0dc11/href">https://medium.com/media/ef1dfa466a57e052514495adcad0dc11/href</a></iframe><p>its an example over the project .this kind of stuffs can help website admin to get the mindset and behaviour of there users and other analytics can also be generated with this.link to the repo :-</p><p>git clone <a href="https://shubham2896yadav@bitbucket.org/shubham2896yadav/rrweb-test-streaming.git">https://shubham2896yadav@bitbucket.org/shubham2896yadav/rrweb-test-streaming.git</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7bde8440cb2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>