[英]Using websocket in Banking?
Node.js and Tornado are excellent servers that can be both websockets and http servers, but, how about using them in Banking applications? Node.js和Tornado是出色的服务器,可以同时是websocket和http服务器,但是,如何在Banking应用程序中使用它们呢?
Of course, not for 24h, but they will be used for the time a bank will be opened, for example, for 8 hours. 当然,这不是24小时,但是它们将在银行开门的时间内使用,例如8小时。
Is that a good idea, or keeping the connection opened for 8 hours is so much? 这是个好主意,还是保持连接打开8小时就足够了?
So long as you don't have network issues then keeping a websocket open for 8 hours isn't a problem. 只要您没有网络问题,那么保持Websocket开放8小时就不成问题。
You could also setup your code to reopen the websocket in the background if it dies. 您也可以设置代码以在死后在后台重新打开websocket。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.