Would it possible to host multiple app deployments on the same
domain, under different subfolders? E.g.
domain.com/app1
domain.com/app2
Since each app is on a different IP, I guess it would have to be run through a proxy / load balancer, if at all possible?
#1 Posted by friism Support staff on 13 Jul, 2011 12:09 AM
I think it is unlikely that we would support a routing scenario like the one you outline. You might want to consider making you one app multi-tenant so that it can support multiple tenants, if that is your use case.
Otherwise you can use subdomains, e.g.
app1.domain.com
app2.domain.com
Let us know if you have other questions.
Michael
friism closed this discussion on 13 Jul, 2011 12:09 AM.
freshcode re-opened this discussion on 13 Jul, 2011 11:13 AM
#2 Posted by freshcode on 13 Jul, 2011 11:13 AM
Thanks, Michael. Will go for multi-tenancy.
What's the limit on the number of 20MB MSSQL databases per app?
Best
P.
#3 Posted by balexandre on 13 Jul, 2011 01:28 PM
Hi P.
you can see my answer on Multi tenancy apps on StackOverflow maybe it would help you starting...
#4 Posted by rune Support staff on 13 Jul, 2011 04:04 PM
Hi P,
The current limit is one database of each type (MySQL or MSSQL) per application. We might increase this later on, but until then you could try and use a 10GB database if that'll fit with your database architecture.
Best,
Rune
rune closed this discussion on 13 Jul, 2011 04:04 PM.
freshcode re-opened this discussion on 13 Jul, 2011 04:20 PM
#5 Posted by freshcode on 13 Jul, 2011 04:20 PM
Hi Rune
The space is not a problem, but I would like to have a separate database for each tenant (presently 3). If I have start dealing with table naming schemas, then database version control gets really messy and I might as well deal with deployment on my dedicated servers.
I really don't want to move to sub-domains (tenant1.site.com, tenant2.site.com) to keep SEO and pre-existing links (site.com/tenant1, site.com/tenant2).
Could we sort something out to allow multiple, small MSSQL databases? It's a light load and 20MB per DB is plenty.
If not, please quote me on a dedicated database server.
Best
P.
#6 Posted by friism Support staff on 13 Jul, 2011 08:38 PM
We don't want to give you a hard time on this, but if you're making you app multi-tenant, you should probably do the same for the database. All your tenants will be running of the same codebase now, so they should be able run using the same database and schema (perhaps with a tenant-table or something). This would save you the headache of having to maintain multiple databases with varying schemas.
Let us know if you have any concerns.
Michael
friism closed this discussion on 13 Jul, 2011 08:38 PM.