Aloha Swami and all,

That "speed penality" is not theoretical at all. It is very real and the reason why most of the cutting-edge web ecosystem moved away from CGI. The main technical appeal of NodeJS, WSGI, OpenResty, and others is that they are FAST, non-blocking and don't require new process spawning for each connection.

The one reason we don't notice this problem in our work and in most of the work our community does is that we're not working in the scale where it becomes a problem. We don't have enough users to make process spawning an issue. But, that is a problem at scale, a very real problem and it is very easy to quantify once you measure the amount of requests per seconds you're able to handle, there is a point where you can't handle as much requests as you need to make your web service responsive and thats when such issues become very real.

There are mitigations with the modern web patterns such as PWAs which will cache most of the front-end stuff onto the client thus making the server load much lighter if you have recurring users.

Yes, RevIgniter is wonderful and LC Server is quite nice tool too, I really like them both and they have a use case which is very clear, but don't believe that just because it works for our scale, that the problems of larger players are theoretical. Also, people paying for servers based on CPU usage can benefit a lot from other approaches as smaller servers can handle larger loads.

Cheers

andre

On 11/7/2018 11:18 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
On 11/1/18 5:02 PM, Stephen MacLean via use-livecode wrote:
LC server, can do it, but also suffers, from what I’ve read in my research, a 
speed penalty from CGI implementation vs direct sockets, etc.
Well that "speed penality" is theoretical. Our web site

https://www.himalayanacademy.com

uses Livacode server, and for all "gorilla dust" about LC's one thread,
open multiple CGIs, and how it is "old fashioned"

I don't ever see a speed penalty. Of course RevIgniter is beautifully
executed, thanks to Ralf Bitter.

Brahmanathaswami
Get the SivaSiva app, it's free:
https://www.himalayanacademy.com/apps/sivasiva

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to