gamasak / pooper

Notificator
0 stars 0 forks source link

create abstract layer to manage connections on global and session cache #11

Open AlexGr2 opened 6 years ago

AlexGr2 commented 6 years ago

Abstract layer (more like interface for plugging different modules) for a basic CRUD for global and session cache

cawak commented 6 years ago
cawak commented 6 years ago

I think our global session (or cache) should be consist of an array with an object that contains:

  1. id (user or device)
  2. started - when the session was initiated

I don't think we should have a status member because as I understood, we agreed that we will store only active sessions in this cache.