server vs not server
Roger Eller
roger.e.eller at sealedair.com
Wed Jan 20 09:36:39 EST 2016
Hey Mike,
Most daemons I have built with LC will poll a folder at a set time
interval, and act accordingly dependent upon what it finds in the folder.
A polling interval set too short can make the server slower. Setting it
too long makes the users complain about waiting 30 seconds or a minute.
Using LC Server for the same tasks makes it on-demand, and much more
efficient. The only con is that some tasks may require elevated
privileges, and since it isn't being run by a normal user, this can be
tricky. I have some of both, but my goal is to port all my daemons to LC
server scripts.
~Roger
On Wed, Jan 20, 2016 at 8:55 AM, Mike Kerner <MikeKerner at roadrunner.com>
wrote:
> I have a bunch of stacks that run, constantly, doing a variety of things.
> Some are even run as daemons by other processes. So, I suppose they could
> run in server, but I'm still unclear as to why I would choose to do that.
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
> and did a little diving.
> And God said, "This is good."
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list