×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 11/22/2010 4:05 PM, Nathan Andelin wrote:
Could we explore that idea a little further? And just to reiterate a little bit
of background to keep things in context, we're talking about using a single IBM
i box to handle requests for multiple tenants who each have their own separate
database collection (library). So we're exploring the idea of writing a
connection pool manager to return a connection to a DB server instance which
would use the appropriate library list for the requesting tenant.
It's getting late and I must be getting confused, because AFAIK a
connection pool only returns a connection which matches the parameters
you are requesting. Those parameters typically include user ID,
password, and the connection URL, which in turn contains the connection
properties. The properties can be used to set up, for example, the
default schema. So in this case a connection would by definition only
return a connection for the correct tenant. The work on your part is to
identify the correct connection string for each tenant.
The premise also cuts off some plausible alternatives. There absolutely
is no one-size-fits-all strategy. For example, persistent connections
don't need any of this. The connection sets its library list at the
time it is created and you use unqualified table names and system naming.
Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.