Re: Delphi Socket Servers: If you were shown how, would you?



Delphi as web platform is EXCEPTIONAL (IMHO)

You can do CGI, ISAPI DLL, use dozen of frameworks over the mentioned (intraweb, cgiexpert, webbroker...) or code by hand (as you do with C), or using your libraries.

With the new mem manager (fastmm) the server application obtain the famous 99.999% uptime.

Personally I was implementing (in the 2002) a patented TCP engine in Delphi, and a HTTP 1.1 100% compliant RFC 2616: using proactor patterns and some other tricks it was near 500% faster than apache in a P2 450 CPU, and was exhausting the TCP pool (32K connections).

In the real field of applications, for web industry, my favorite combination is:
- IIS 6
- ISAPI DLL/ISAPI FILTERS build by hand with threadvar (TLS) DB connections (every thread associated with a connection to DB, no need to dispatch/close everytime), or using a DB pool (in the case we have a lot of threads)
- MYSQL cluster backend (or firebird/nexusdb for small load)

So you obtain blazingly fast scalability and 100% reliability.

Regards.

Btw. I miss the same power for linux... bad kylix...what a pity.

First of all, I'm very interested in the topic, so please publish those
papers. I've been playing around with RTS and ICS and it is a really
interesting topic.

The reason why I personally don't use Delphi on the webserver is that it
doesn't run on Linux. Plain and simple.

I don't see a reason for using anything else than Apache and Linux on the
webserver.
It's free, it's secure, and it's easy to administrate using (free) remote
tools. Can't really ask for more, can you?

What reasons are there for writing your own webserver?



.



Relevant Pages

  • =?ISO-8859-1?Q?Re:_Delphi_f=FCr_Web-Anwendungen_geeignet=3F?=
    ... den Webserver oder die Datenbank vorzuschreiben bzw. ... Sicher kannst Du theoretisch mit einem neuen Delphi ... Zu .NET mit Mono habe ich leider keinerlei Erfahrungen. ...
    (de.comp.lang.delphi.misc)
  • Re: ASP.NET: Fundementally Flawed Architecture
    ... I wrote my own webserver back in 1998. ... tcp-ip delphi socket servers in the community, so there is no need for you ... I have NexusDB hooked up as a back-end, so even the DB server is 100% ... but hardly a universal platform for building web applications. ...
    (borland.public.delphi.non-technical)
  • Re: ASP.NET: Fundementally Flawed Architecture
    ... There are plenty of 3rd party tcp-ip delphi socket servers in the community, so there is no need for you to roll you own from scratch. ... The unit that integrates a full set of NexusDB services into my webserver for my Flash WebApp amounts to no more than about 400 lines of code. ... It might work well for your flash applications, but having the .NET framework for XML processing, state management, and ease of development to name a few can't be matched by what you describe. ... I've already explained to you that there is no need to handle state management on the server when using Flash, and Flash has a full arsenal of XML services including WebServices. ...
    (borland.public.delphi.non-technical)
  • Debugging a Delphi OCX running inside Internet Explorer
    ... I am familiar with deploying a Delphi OCX to a webserver and having it run ... The problem I'm having is when I try to debug the OCX ... Delphi 6 Runtime Library Update 2 ...
    (alt.comp.lang.borland-delphi)
  • Re: ERRATA CORRIGE
    ... de news: op.s847neqc0zx35j@xxxxxxxxxxxxxxxxxxxx ... And the relevance of your post to Delphi is ??? ... He previously posted he had written the ISAPI DLL in Delphi. ...
    (borland.public.delphi.non-technical)