I have a question about second level caching with NHibernate and memcache. Suppose the following configuration:
Website A uses DB_A. Data from table X is being cached. Website B uses DB_B. Data from table X is being cached.
Both web apps share a single memcache server.
Now, table X in DB_A and DB_B while having the same schema have different data, so row with PK = 1 in DB_A will NOT be the same data as row with PK = 1 in DB_B.
My question is, will each application clobber the other's data, or is the second level caching smart enough to create cache keys which don't over lap databases.