Question about production configuration for a multi-tenant application.
We have one single code shared by many tenants (virtual hosts). Application context configure different environment, mapping ensure that single base code is shared.
The difference I see from ColdFusion is that CF compile a cfm page and that the compiled page is used by all tenants.
On the other side Lucee, at least in my install configuration, compile the same cfm page for each tenant (in each WEB-INF web context).
I don’t understand the pros/cons of such configuration.
Each tenant will have its own copy, so less concurrent accesses, but on the other side if all tenants hit the same page, the first time the server will be busy compiling the same page for all tenants. Can it be a problem?
Am I missing something here? or there are better configurations?