• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EOF Multi-tenancy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOF Multi-tenancy


  • Subject: EOF Multi-tenancy
  • From: Dov Rosenberg <email@hidden>
  • Date: Fri, 19 Oct 2012 09:08:26 -0400

We are looking into converting our existing EOF based apps to support multi-tenancy. Today we can support multiple customers in a single schema using relationships to separate the data. EOF works fine in this model. We even implemented the multiple EOObjectStore coordinators for additional scalability.

Has anyone figured out how to support separate schema based multi-tenancy with EOF? i.e. each customer gets a separate schema and requests for that customer load data from that schema only? I know we can deploy our app multiple times - each time pointing to a different schema. Ideally though we would be able to share binaries and swap schemas on a per request basis.

I am thinking some mojo would have to occur along the lines of the following:

  • Load the EOModel once - this assumes that all customers would share the same DB structure
  • DO NOT pre-load any data at start up unless it is stored in per customer caches
  • As each request comes in - 
    • identify the customer
    • either create a new connection or grab one from a pool. In the case of EOF I think that implies that there would be separate object store coordinators per customer
    • Hook the object store up with the model
    • execute the request
    • break everything back down

Is this even possible with EOF/Project Wonder?

Thanks

Dov Rosenberg
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: EOF Multi-tenancy
      • From: Pascal Robert <email@hidden>
  • Prev by Date: Re: Automatic Long (8 byte) Primary Key?
  • Next by Date: Re: EOF Multi-tenancy
  • Previous by thread: Re: WOSessionStore deadlocks
  • Next by thread: Re: EOF Multi-tenancy
  • Index(es):
    • Date
    • Thread