-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jamie,

On 4/12/13 7:08 AM, Jamie wrote:
> I would like some advice with regards to deploying a web app in a 
> multi-tenant scenario. A while back, we had a few cloud service 
> providers ask us if they could host our web app as a service.
> Under pressure to come with a quick solution, we responded by
> implementing a manager like application (much like the Tomcat
> manager app), that could deploy additional web apps by copying the
> contents of our WAR file to a new directory under webapps .

So a vendor came to you -- unsolicited -- and asked if they could
deploy your webapp to the cloud and instead of saying "you figure it
out", you decided to instead spend your own resources to "come to a
quick solution"? Talk about the wail wagging the dog...

I'm shocked that the cloud provider didn't simply suggest that you
deploy thousands of separate webapps. That would certainly run-up the
cost and make them very happy.

Honestly, if the webapp wasn't built with multi-tenancy in mind,
there's no magic you can add to it from the outside in order to make
it multi-tenant friendly.

You can play tricks with ClassLoaders to minimize memory usage, but
you'd better be careful that there aren't static caches or other nasty
surprises that will cause the walls to come crumbling down.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRba0pAAoJEBzwKT+lPKRY/vEQAJwb1A4rc7Y5Au9zK7RLRiB9
yiBogKO2/gOHlpSaBVm3wmzpo2/D8fqlGkooWMl2WctshzEJSt8Q40TSkn28vfhw
3FZDIIoVFThqBwi1fcipKxRiGEmiyfvfo9o2uO7XtGhoE0dcdhSykmLHWrRCcI5Q
Od6QCoC3Nn/sblvGSQsWQ64WQvinvZJr3mNbSqt8K6i6pK9ysf/nwGEmLCx4PWxh
1s9Z8qKKGlJLsD4l8OG4UHvlFJ51iMITK+23rpj+SmmUKGFRlsdivkPhtK67634D
xe+2UWD0t/nvVRh0QUFrv3r3d3oSzg1/LtVtKcdjEHG79FcN15ZGxWUR7e4WXIhe
cMSbkqYk3I1+emKJyl4AWABclEfriO7AQEYHapnRjdZ65Vz2aPJdY5Jr/BJ7WZIh
Zkl9M2XHRvVCJQHmtqvYEH6iun4vIcZXt6Euby0dwfNdvTb+Z5p2eNFN/wi8D/1o
qwLQ8LGpsGffuwatriB9rxA69YJ+6FdN6LLmcGG2Qjb1K3Fgp3wBWceqQ89yfblI
z8iNXfLxnRoGqm2H72q6wozQgkbMpdSD37o6Q8dQ5+6WiHDSdI680k3EsgFxzm6Y
q4ZLmne2S3zJxjLUGHPK/Fa8sfg8szhHIQQGqm7JcESc5J4MKgVBMwXBignnOvgz
YNsIauMPh8LRZdZytS3g
=2EuS
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to