0

Using Delphi 11 latest version.

Is there a switch to let WebBroker use Windows built-in http.sys server instead of Indy Webserver? If so, how to turn on the SSL certificate as well? I imagine Microsoft's built-in http/https engine would be more robust.

For some reason, I wish to skip ISAPI so would prefer a command-line or Gui version of Webbroker running on Windows.

How robust is the built-in Indy webserver for commercial deployment - meaning up to how many simultaneous connections per second?

I'm asking because DMVC Delphi has an option to use http.sys and it is based on Webbroker, so I thought WebBroker would have supported http.sys by now.

Thanks.

Peter Jones
  • 451
  • 2
  • 12
  • "*How robust is the built-in Indy webserver for commercial deployment - meaning up to how many simultaneous connections per second?*" - the *number* of simultaneous connections is limited only by available memory. The *performance* of those connections is likely to suffer the higher you go though, since Indy uses 1 thread per client connection, which is fine when dealing with hundreds of connections, but asynchronous overlappedIO/IOCP is far more scalable and performant when dealing with thousands of connections. – Remy Lebeau Aug 03 '22 at 00:08
  • Thanks for the reply. I suppose if I switch to Isapi or Apache module, it will automatically use the IOCP? is there any way to switch WebBroker to use http.sys instead of Indy webserver when running as gui/commandline? – Peter Jones Aug 03 '22 at 08:06
  • "*is there any way to switch WebBroker to use http.sys instead of Indy*" - I have no idea. I've never worked with WebBroker. That is a question you should ask Embarcadero. – Remy Lebeau Aug 03 '22 at 15:48
  • If you're considering an alternative to WebBroker, I've [used HTTPSYS API directly before...](https://github.com/stijnsanders/xxm/tree/master/Delphi/hsys) – Stijn Sanders Aug 03 '22 at 18:24
  • @StijnSanders Thank you for the link. It even has websockets support! however, I was hoping for something more straight-forward to use with Webbroker. – Peter Jones Aug 04 '22 at 11:38

1 Answers1

0

Maybe you can try mORMot. Really high-performance framework. You can find almost everything you need to build webservices.

BlankXu
  • 11
  • 2