You are not logged in.
Hi @mpv, it is posible to use THTTPAPIWebSocketServer with TSQLRestServer in the same way that TSQLHTTPServer ?
Thanks.
Esteban
Offline
Yes, but a thin layer should be implemented: onAccept, onMessage, onConnect, onDisconnect as in sample
But I don't work with TSQLRestServer in my projects, so - contribution is welcome.
BTW performance of HTTP.SYS is very good - it's our stress test result:
Last edited by mpv (2017-11-21 15:35:10)
Offline
I don't think to have the enough knowledge base to implement this new feature, I'll think about this.
Thanks.
Esteban
Offline
Yes, but a thin layer should be implemented: onAccept, onMessage, onConnect, onDisconnect as in sample
But I don't work with TSQLRestServer in my projects, so - contribution is welcome.BTW performance of HTTP.SYS is very good - it's our stress test result:
https://unitybase.info/api/server-V41/i … yGraph.png
Those are quite impressive stats! Could you tell some details about the stress test? http.sys thread pool size, use of http or https, how many physical clients or tested on local machine only...
Offline
We did it 2 years ago, unfortunately I lost the sources. But as far as I remember Server: core i7, http.sys thread pool size 12. 3 client. 100 Mb network (all net ports in the same physical router). On the server side a single WebSocket connection take at last 5Kb of memory (on client TWinHTTPWebSocketClient - much more, so we need 2 physical client to create 25000 connection)
Offline
Thanks for the informations @mpv!
Offline