C
Chris
What's the simplest way to cache an object and make it available across
multiple app servers?
Here's the problem. We have a central database which contains customer
information. When a customer logs in, we'll hit the database once to get the
info. After that, though, we'd like the info cached in memory.
We have multiple app servers, and when a request comes in from a customer,
it can hit any server. If it hits a server which is different from the one
it previously hit, we'd like the system to query the other app servers for
the info before it hits the central database. The amount of customer info
could be as much as 1 mb.
My understanding is that this is the problem that EJBs are designed to
solve, but EJBs are really complex to implement. I'd like something really
simple.
multiple app servers?
Here's the problem. We have a central database which contains customer
information. When a customer logs in, we'll hit the database once to get the
info. After that, though, we'd like the info cached in memory.
We have multiple app servers, and when a request comes in from a customer,
it can hit any server. If it hits a server which is different from the one
it previously hit, we'd like the system to query the other app servers for
the info before it hits the central database. The amount of customer info
could be as much as 1 mb.
My understanding is that this is the problem that EJBs are designed to
solve, but EJBs are really complex to implement. I'd like something really
simple.