Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js AWS serverless中最好的Socket.io替代方案是什么_Node.js_Websocket_Socket.io_Aws Api Gateway_Serverless - Fatal编程技术网

Node.js AWS serverless中最好的Socket.io替代方案是什么

Node.js AWS serverless中最好的Socket.io替代方案是什么,node.js,websocket,socket.io,aws-api-gateway,serverless,Node.js,Websocket,Socket.io,Aws Api Gateway,Serverless,我正在AWS上构建一个自定义的无服务器聊天室。 我想使用WebSocket更新邮件。 我发现Socket.io对于我所需要的东西来说是惊人的,并且它还支持heartbeat作为WebSocket不起作用时的后备方法 我对Socket.io的问题是,它没有用于AWS ApiGateway的服务器 是否有任何库将在无服务器上为我替换Socket.io 2018年12月,AWS在API网关中发布了新的WebSocket API。它是100%无服务器的,AWS有一个关于如何构建聊天应用程序的示例,我知道

我正在AWS上构建一个自定义的无服务器聊天室。
我想使用WebSocket更新邮件。
我发现Socket.io对于我所需要的东西来说是惊人的,并且它还支持heartbeat作为WebSocket不起作用时的后备方法

我对Socket.io的问题是,它没有用于AWS ApiGateway的服务器


是否有任何库将在无服务器上为我替换Socket.io

2018年12月,AWS在API网关中发布了新的WebSocket API。它是100%无服务器的,AWS有一个关于如何构建聊天应用程序的示例,我知道这个示例,但使用它会带来伤害。例如,我需要自己实现回退hartbeat,处理数据库中的会话,等等。