Hi Danny,

As far as I understood, MarkLogic does a kind of pre-compile, and puts that
into cache. It should be doing that for both modules from db and modules
from file-system.

Next to what Mike mentioned, one big difference is that you can apply
execute permissions on modules if there are in a modules db. Modules on
file-system are always accessible to anyone..

Kind regards,
Geert

-----Oorspronkelijk bericht-----
Van: [email protected]
[mailto:[email protected]] Namens Michael Blakeley
Verzonden: dinsdag 13 mei 2014 18:07
Aan: MarkLogic Developer Discussion
Onderwerp: Re: [MarkLogic Dev General] App performance when using code in
Filesystem

There are some minor performance trade-offs for various use-cases, but any
difference will be small enough that I wouldn't worry about it.

The main reasons to use one or the other are operational. A filesystem is
something that everyone knows how to work with. A modules database is
available throughout a cluster without doing any extra work, and the modules
can be updated transactionally.

-- Mike

On 13 May 2014, at 05:27 , Danny Sinang <[email protected]> wrote:

> Hi,
> 
> Would an ML app-server app run slower if it used code on the file system
rather than on a modules DB ?
> 
> 
> Regards,
> Danny
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to