Multi-Tenant plugin. Incredible!
Today I was reading the old mails that I couldn’t read from last week and I read about the Multi-Tenant plugin for grails.
It’s an awesome plugin that solves your biggest problem if you have an simple application that you’ll sell its service for a bunch of people. You always think about having multiple instances of it, one for each user, correct? And you say:
– Ohhh no, I’ll have to have a lot of app servers!
So you start thinking about having a “customerId” for each domain class of your application. You’ll be lucky if you do not forget to use this identifier in some query…
Multi-Tenant plugin does all this boring job for you, you just annotate your domain class and configures a DNS resolver, telling the plugin that any request coming from www.xpto1.com will be the first customer and www.xpto2.com the second one.
Everything will be carefully watched so you’ll not have to worry about.
Don’t forget about this plugin, will save me. Hope it can help you! Read all docs about it here: http://grails.org/plugin/multi-tenant
Comments(0)