<?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"><channel><title><![CDATA[Can I leverage socket.io via the API Builder or Page builder?]]></title><description><![CDATA[<p dir="auto">Hey AppDrag Team,</p>
<p dir="auto">I'm interested in implementing a simple chat app where users on my webapp can talk to each other. Normally I would be using express.js  and then I would just pass app into server and server into io.</p>
<p dir="auto">However, with appdrag it's not like I'm using express to handle my serve configurations so I don't really know how routes, paths and other server configurations are being handled behind the scenes.</p>
<p dir="auto"><strong>Is there any way to make a use <a href="http://socket.io" rel="nofollow ugc">socket.io</a> to facilitate an online chat feature in my appdrag app</strong>? If not any advice on how I could implement some other solution for my online chat use case?</p>
]]></description><link>https://community.appdrag.com/topic/43/can-i-leverage-socket-io-via-the-api-builder-or-page-builder</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 12:14:28 GMT</lastBuildDate><atom:link href="https://community.appdrag.com/topic/43.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 May 2020 17:00:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can I leverage socket.io via the API Builder or Page builder? on Sun, 04 Apr 2021 06:38:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/16">@Joseph-Benguira</a> your plans around cloudgate sound phenomenal <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/263a.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--relaxed" title=":relaxed:" alt="☺" />️ +1</p>
]]></description><link>https://community.appdrag.com/post/3216</link><guid isPermaLink="true">https://community.appdrag.com/post/3216</guid><dc:creator><![CDATA[Linda MacDonald]]></dc:creator><pubDate>Sun, 04 Apr 2021 06:38:22 GMT</pubDate></item><item><title><![CDATA[Reply to Can I leverage socket.io via the API Builder or Page builder? on Fri, 08 Jan 2021 12:16:11 GMT]]></title><description><![CDATA[<p dir="auto">Bumping this up, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/16">@Joseph-Benguira</a> any progress on this? I'm starting to have use cases for <a href="http://socket.io" rel="nofollow ugc">socket.io</a> piling up <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":-)" alt="🙂" /></p>
<p dir="auto">If not <a href="http://sockets.io" rel="nofollow ugc">sockets.io</a>, is something like this<br />
<a href="https://www.serverless.com/blog/realtime-updates-using-lambda-websockets-iot" rel="nofollow ugc">https://www.serverless.com/blog/realtime-updates-using-lambda-websockets-iot</a><br />
compatible with PageBuilder/CloudBackend?</p>
]]></description><link>https://community.appdrag.com/post/2543</link><guid isPermaLink="true">https://community.appdrag.com/post/2543</guid><dc:creator><![CDATA[Daniel Mulroy]]></dc:creator><pubDate>Fri, 08 Jan 2021 12:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to Can I leverage socket.io via the API Builder or Page builder? on Wed, 13 May 2020 14:43:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/16">@Joseph-Benguira</a> Thanks, Joseph! I'll look into those links and play around with them in the meanwhile.</p>
]]></description><link>https://community.appdrag.com/post/112</link><guid isPermaLink="true">https://community.appdrag.com/post/112</guid><dc:creator><![CDATA[Konrad Hylton]]></dc:creator><pubDate>Wed, 13 May 2020 14:43:41 GMT</pubDate></item><item><title><![CDATA[Reply to Can I leverage socket.io via the API Builder or Page builder? on Wed, 13 May 2020 10:57:07 GMT]]></title><description><![CDATA[<p dir="auto">Hey Konrad,</p>
<p dir="auto">Short answer:<br />
Not currently, but we are working on it <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
<p dir="auto">Long answer:<br />
Currently we are using AWS Lambda serverless technology to execute at any scale ... but they don't directly support websockets, they do have an integration with API Gateway ... we have tested it and this solution do not meet our requirements in terms of latency. We are working on another approach for long lived process and websocket servers, we expect to have something available this summer.</p>
<p dir="auto">You can check our early publication of the open source core of this here:<br />
<a href="https://github.com/elestio/cloudgate" rel="nofollow ugc">https://github.com/elestio/cloudgate</a></p>
<p dir="auto">You might be interested by this sample basic chat app:<br />
App definition: <a href="https://github.com/elestio/cloudgate/blob/master/apps/Websocket/appconfig.json" rel="nofollow ugc">https://github.com/elestio/cloudgate/blob/master/apps/Websocket/appconfig.json</a><br />
Frontend: <a href="https://github.com/elestio/cloudgate/blob/master/apps/Websocket/public/wsChat.html" rel="nofollow ugc">https://github.com/elestio/cloudgate/blob/master/apps/Websocket/public/wsChat.html</a><br />
Backend: <a href="https://github.com/elestio/cloudgate/blob/master/apps/Websocket/API/websocket/Chat.js" rel="nofollow ugc">https://github.com/elestio/cloudgate/blob/master/apps/Websocket/API/websocket/Chat.js</a></p>
<p dir="auto">You can run this right now on your computer or a VM, but this summer you will be able to create it &amp; publish it to our serverless platform <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
]]></description><link>https://community.appdrag.com/post/111</link><guid isPermaLink="true">https://community.appdrag.com/post/111</guid><dc:creator><![CDATA[Joseph Benguira]]></dc:creator><pubDate>Wed, 13 May 2020 10:57:07 GMT</pubDate></item></channel></rss>