Skip to content

Cache session active_at in Redis for periodic job processor#340

Open
jace wants to merge 1 commit intomainfrom
sessions-in-redis
Open

Cache session active_at in Redis for periodic job processor#340
jace wants to merge 1 commit intomainfrom
sessions-in-redis

Conversation

@jace
Copy link
Copy Markdown
Member

@jace jace commented Jun 3, 2016

This branch introduces two new patterns that need some discussion and consensus on:

  1. Models that store frequently changing data (like active_at timestamps) in Redis, for periodic job processors to flush to database. Should we override the column property to transparently write to Redis instead of custom code each time? Should the flush to db have a standardised name like say flush_from_redis?
  2. Models that use UUID keys and must expect queries with either UUID or string parameters. Where exactly is type safety enforced?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant