~/talk

Activating Your Site: A Look at Activity Streams

Talkat DjangoCon US 2014 · 2014-08-30..09-06· [web-platform, api-design]
links:none on file
links:none on file
slides:none on file

Shows two working approaches and what actually shipped: django-activity-streams stores actions with generic foreign keys, renders streams at request time, uses prefetch_related to avoid N+1 queries and leaves caching to you; Horizon (Neo4j + Redis + Storm) stores minimal node properties, uses Neo4j for relationship queries, Redis for caching/sockets and Storm/Kafka for precompute topologies. Requires each content model to expose an API endpoint. Covers celebrity-vs-sparsity limits, real-time vs precompute tradeoffs, query limitations of generic FKs, and front-end snippets/streams that cache remote model data.

AI-written summary · about

  1. 0:00Diamond Sponsor
  2. 1:42Activities increase engagement
  3. 7:16Anatomy of The Spec
  4. 8:43django-activity-stream
  5. 10:00Models up close
  6. 11:24Builtin Streams
  7. 12:12User Stream Query
  8. 12:40Custom Streams
  9. 13:26Custom Stream Query
  10. 13:49Templatetags
  11. 15:38DB Problems
  12. 18:33Storage Considerations
  13. 19:30Complexity (Neo4j)
  14. 21:16Apache Storm: Pre-Computation
  15. 22:47Horizon API
  16. 23:08Example Call
  17. 23:45More Examples
  18. 24:11Direction Matters
  19. 26:23Horizon Ecosystem
  20. 27:31My Web Application
  21. 30:12The Stream
  22. 31:28Request Response Cycle
  23. 32:44Engineering Considerations
  24. 35:19Open Source
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.