Open agiertli opened 11 years ago
How should we implement this? I am thinking of Infinispan again. It is possible to store this into DB as well, the question is if we want it there. I am not sure, what do you think is the best approach?
First of all we need some working Infinispan demo, so we can see what it is capable of. We still need to persist those request somehow below Infinispan - it can't really stay just in memory, can it ? So you are thinking Infinispan and as a storage filesystem ?
Infinispan doesn't mean stored in memory. Infinispan does have a functionality to persist the data on some datastore (filesystem, DB, ...). I was thinking of file system store (because of pictures), but there may be some better store. We probably need a Infinispan demo app to test it a bit more, thats a good idea.
Infinispan == cache, I think you need to explicitely define the storage beneath it otherwise data will be stored only in cache. I think it is possible to use Infinispan without persistent storage defined, isn't it ? Filesystem for pictures, thats for sure. Database only for storing paths and metadata for these pictures.
I would say Infinispan with db for storing pending request.
After implementing searching on Members there has to be possibility to SEND REQUEST for a friendship.