Application as a service

Vance Shipley vances@REDACTED
Fri Jul 25 01:28:00 CEST 2003


On Thu, Jul 24, 2003 at 04:22:18PM +0200, Eduardo Figoli wrote:
}  
}  Is it necessary to use " -mode embedded "  flag to run an 
}  application as a service ?

Eduardo,

No, it is not.  It affects only the code loading strategy used.  Once
the code is loaded it will run the same in either case.

If you use this flag every module installed will be loaded at startup.
This spells trouble if you haven't pruned the system to only include
those modules which you will actually use, memory use will go through
the roof.  

	-Vance

}  Does someone know the benfits of embedded and interactive mode ?

I guess if you use embedded the response time of the system would be
consistent whereas if you use interactive the first time a module is
referenced it would take slightly longer as the code must be loaded 
first.

	-Vance




More information about the erlang-questions mailing list