server vs not server

Mike Kerner MikeKerner at roadrunner.com
Wed Jan 20 15:56:20 CET 2016


Roger,
But why do it in server instead of just having another instance of LC
running, sitting off in its own space?  Since you don't have a message box,
any output is going to require email, push, or writing to a file.  Is
Server just a beast for speed?  You can't possibly save enough memory from
avoiding the GUI to make it worth while.

Server managing several other server instances is sexy, but I'm trying to
gage when switching over is the thing to do.

On Wed, Jan 20, 2016 at 9:36 AM, Roger Eller <roger.e.eller at sealedair.com>
wrote:

> 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
> >
> _______________________________________________
> 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
>



-- 
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."


More information about the use-livecode mailing list