OpenXTalk CGI Server?
Posted: Sat Oct 23, 2021 4:32 pm
Hi,
after some hours of fighting LC server again I had the idea that an "OpenXTalk CGI Server" might be the solution to the lack of intent to provide such, by LC Ltd.
Background:
Tests showed that LC Server is actually quite fast & useful (in CGI mode) - slower still compared to PHP 8, but not this much. Being able to use LC Server instead of PHP would be a "gift from heaven", because - well, no PHP needed ;-)
Problem:
LC Ltd., as so often. See this bug report. From 2014. Money quote from it:
Additional problem:
Since LC Server is so crammed with dependencies (listed in this bug report) it will not run on typical shared servers. These usually are Debian or Ubuntu (some still CentOS) servers, configured as LAMP, but often stripped to the vital necessity to maximize performance & minimize attack vectors.
Such shared servers are widely used by small to middle companies - they provide email, webspace, databases, ftp and various services (ERP, CMS, blog, forum, shop, wiki ...), some even cloud services.
I don't talk of the < $3 "consumer providers" - but starting at ~$10/month there's quite some serious offers, with good performance, reliable, automated backUp, SSH & professional service. This is, for many companies, an offer too god to ignore.
But LC Server will not run on these servers, where it would be most useful. LC Ltd., when imagining a "linux server", obviously thinks of Panos' old Linux box that's mostly used to play Tux Racer.
Btw., LC Server 8 works on such "real servers" (fewer dependencies), but for whatever reasons most often still will not load "revDB.so", so has no database connection :/
Question & suggestion:
How much effort would it be to compile a "bare bone Linux-64 Server version", stripped of as many dependencies as possible, suited to run as CGI on as many servers as possible?
This would be a "unique point of selling" for the whole OpenXTalk project!
It's not that all the Jane Users & their cats would come frolicking, but there's quite some ppl that might rejoice - and quite some of these might be able to contribute here, in one way or another.
(Search terms to estimate demand would be "livecode" && "middleware", "CGI", "PHP" etc. ...)
I don't have the slightest idea of how much work this might be. But I think that a working "OpenXTalk CGI Server" would be, at this time, one of the most beneficial side-projects possible. Possibly not this much work (compared to other aspects), but maybe a relatively quick result with a huge benefit, and thus "visibility & merit" for the whole project.
I'd be ready to provide a testing ground (in one way or another, to be determined), and any help possible with testing. I could even imagine that it's possible to (moderately) charge for a "ready-to-rock" compiled version later, when it's sufficiently tested & released.
What do you think of it?
after some hours of fighting LC server again I had the idea that an "OpenXTalk CGI Server" might be the solution to the lack of intent to provide such, by LC Ltd.
Background:
Tests showed that LC Server is actually quite fast & useful (in CGI mode) - slower still compared to PHP 8, but not this much. Being able to use LC Server instead of PHP would be a "gift from heaven", because - well, no PHP needed ;-)
Problem:
LC Ltd., as so often. See this bug report. From 2014. Money quote from it:
This corrected, LC Server should come very close to PHP 8's performance (you really don't need any fonts when running as CGI!). But what happens? Nothing. Since 2014.Profiling with callgrind suggests that approximately 75% of LC server startup instructions are used on font loading.
Additional problem:
Since LC Server is so crammed with dependencies (listed in this bug report) it will not run on typical shared servers. These usually are Debian or Ubuntu (some still CentOS) servers, configured as LAMP, but often stripped to the vital necessity to maximize performance & minimize attack vectors.
Such shared servers are widely used by small to middle companies - they provide email, webspace, databases, ftp and various services (ERP, CMS, blog, forum, shop, wiki ...), some even cloud services.
I don't talk of the < $3 "consumer providers" - but starting at ~$10/month there's quite some serious offers, with good performance, reliable, automated backUp, SSH & professional service. This is, for many companies, an offer too god to ignore.
But LC Server will not run on these servers, where it would be most useful. LC Ltd., when imagining a "linux server", obviously thinks of Panos' old Linux box that's mostly used to play Tux Racer.
Btw., LC Server 8 works on such "real servers" (fewer dependencies), but for whatever reasons most often still will not load "revDB.so", so has no database connection :/
Question & suggestion:
How much effort would it be to compile a "bare bone Linux-64 Server version", stripped of as many dependencies as possible, suited to run as CGI on as many servers as possible?
This would be a "unique point of selling" for the whole OpenXTalk project!
It's not that all the Jane Users & their cats would come frolicking, but there's quite some ppl that might rejoice - and quite some of these might be able to contribute here, in one way or another.
(Search terms to estimate demand would be "livecode" && "middleware", "CGI", "PHP" etc. ...)
I don't have the slightest idea of how much work this might be. But I think that a working "OpenXTalk CGI Server" would be, at this time, one of the most beneficial side-projects possible. Possibly not this much work (compared to other aspects), but maybe a relatively quick result with a huge benefit, and thus "visibility & merit" for the whole project.
I'd be ready to provide a testing ground (in one way or another, to be determined), and any help possible with testing. I could even imagine that it's possible to (moderately) charge for a "ready-to-rock" compiled version later, when it's sufficiently tested & released.
What do you think of it?