Skip to content

Discussion: Data layer

arthur00 edited this page Aug 6, 2012 · 1 revision

  • DB for state backups (write-only in general, read-only for loading objects in a server's cache)
  • objects in the cache have their state + methods together. App is used for inter object interactions. Versus: app has object methods and cache has object data.
  • object stickiness (hence client stickiness)
  • object timeout in cache; flush object to DB when timeout expires
  • data connector provides abstraction to update objects: dataconn.update('ball.pos', 5). Not sure a string is the best to update object attributes ... ?

Clone this wiki locally