Re: Factoring over Scaling (was: Another server question (mixing node.js and LC))

2018-03-02 Thread Bob Sneidar via use-livecode
The sum total of any scaling I have done is to finally get my company to adopt my application in it's workflow. :-) Bob S > On Mar 1, 2018, at 22:13 , Richard Gaskin via use-livecode > wrote: > > TL;DR: Relax about scaling, go cut some code. :) > > -- > Richard Gaskin

Re: Another server question (mixing node.js and LC)

2018-03-02 Thread jbv via use-livecode
Indeed, on sage the engine version is 7.1 I did a few quick tests last evening and things like "create btn" or "export snapshot" work. I need to do more tests, but so far it's a nice surprise. jbv On Thu, March 1, 2018 11:33 pm, Alex Tweedly via use-livecode wrote: > On 01/03/2018 18:48, Richard

Factoring over Scaling (was: Another server question (mixing node.js and LC))

2018-03-01 Thread Richard Gaskin via use-livecode
It's easy to get excited about C10k problems, and I got caught up in it myself. Geeks love this stuff. It's hard to resist. But once the coffee wore off, I changed hats and reconsidered this problem from the standpoint not of an implementer, but a business owner. Here's the core of the busi

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Alex Tweedly via use-livecode
On 01/03/2018 18:48, Richard Gaskin via use-livecode wrote: jbv wrote: > And is this feature already available on the LC version of on-rev > accounts ? Hard to say. I have an on-rev account, but haven't set it up.  I would imagine that the mother ship is using the latest Stable build, no?

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Brian Milby via use-livecode
If you just need community, should be pretty easy to compile a copy without that feature. I have not looked at the source though. On Thu, Mar 1, 2018 at 10:38 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > > Can that be turned off? > > Not yet. I have a request f

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Richard Gaskin via use-livecode
jbv wrote: > On Thu, March 1, 2018 5:38 pm, Richard Gaskin via use-livecode wrote: >> It's nice that we now have >> graphics capabilities in Server, > > Is there any doc on this somewhere ? I think it was in the Release Notes for whatever version it was enabled in (v7?), but I haven't checked t

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread jbv via use-livecode
On Thu, March 1, 2018 5:38 pm, Richard Gaskin via use-livecode wrote: > It's nice that we now have > graphics capabilities in Server, Is there any doc on this somewhere ? And is this feature already available on the LC version of on-rev accounts ? Thanks, jbv __

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Richard Gaskin via use-livecode
jonathandlynch wrote: > I certainly don’t need to load fonts in the LC process. Most people doing server work don't. It's nice that we now have graphics capabilities in Server, and I can imagine some CGIs that maybe generate postcard or other output where fonts would be needed. But probably

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Jonathan Lynch via use-livecode
Is it possible to solve the C10k problem with simple CGI? LC has a relatively small footprint in RAM. If each LC process takes up 7 meg, then 10,000 processes would take 70 gig of ram. NginX can manage that no problem on a dedicated server. Is there any reason why that would not work? Sent fro

Re: Another server question (mixing node.js and LC)

2018-02-28 Thread Jonathan Lynch via use-livecode
I think you might be right, Mike. I have been reading about benchmark tests between node, Apache, and ningx. Node does not seem to live up to the hype at all. Sent from my iPhone > On Feb 28, 2018, at 2:27 PM, Mike Bonner via use-livecode > wrote: > > One thing you might do if you were to d

Re: Another server question (mixing node.js and LC)

2018-02-28 Thread Mike Bonner via use-livecode
One thing you might do if you were to decide to stick with apache would be to make sure you use either the worker mpm or events mpm (sounds like events would be the one you wanted for this) (read more on this page... https://httpd.apache.org/docs/2.4/misc/perf-tuning.html ) to get better performanc

Re: Another server question (mixing node.js and LC)

2018-02-28 Thread Jonathan Lynch via use-livecode
In reading about fastCGI and LC, it seems rather experimental. I am just wondering if replacing Apache with node.js as the http server would give us the necessary concurrency capacity for using LC server on a large scale. Basically, I am soon going to start pitching augmented tours (idea suggest

Re: Another server question (mixing node.js and LC)

2018-02-28 Thread Jonathan Lynch via use-livecode
Thank you, Richard A given transaction involves processing a user request, making two or three requests to the database, and returning around 500 kB to the user. I certainly don’t need to load fonts in the LC process. Can that be turned off? I like the idea of maintaining a queue of running LC

Re: Another server question (mixing node.js and LC)

2018-02-28 Thread Richard Gaskin via use-livecode
jonathandlynch wrote: > I have another server question. I really like scripting with LC, > because I can make improvements very quickly. This is important > because of my very limited free time. > > But, I want to be able to handle many many concurrent server requests, > the way node.js does. Go

Another server question (mixing node.js and LC)

2018-02-28 Thread Jonathan Lynch via use-livecode
Hello, I have another server question. I really like scripting with LC, because I can make improvements very quickly. This is important because of my very limited free time. But, I want to be able to handle many many concurrent server requests, the way node.js does. Would it work to have nod