~/talk

Full Stack Flux (was" The future of JavaScript layout systems")

Talkat React.js Conf 2015 · on Wednesday, 2015-01-28· [microservices]
name:Pete Hunt
github:petehunt
slides:none on file

Argues for running Flux on the server: every update becomes a replayable message log and stores act like a store-as-reducer that persist derived state, letting rebuilds and migrations be trivial. Implements stores consuming a message queue (RabbitMQ today, moving to Kafka), enriches actions to avoid unsafe cycles, shards work per-store, and accepts eventual consistency. Demo uses a photo site to show reduced cache invalidation, faster feature rollout, and what worked versus what needed tuning.

AI-written summary · about

  1. 0:00Intro
  2. 1:09Interesting abstraction
  3. 1:32Solvers are unpredictable
  4. 1:59Full-stack Flux
  5. 2:32The current state of the backend
  6. 2:44A review of Flux
  7. 3:11The old way
  8. 4:21A new question
  9. 5:03A new action
  10. 6:10Alternative: observe a data model
  11. 7:39Shared mutable state is the root of all evil.
  12. 8:28Flux helps you scale actions and questions
  13. 8:42What about the backend?
  14. 12:19Your app == derived data ...using the history of every action that ever happened
  15. 13:09Process every action for every query request.
  16. 13:24Can we make it fast enough?
  17. 17:41Lots of advantages Manage the trade-atts of your data store granularly
  18. 18:04Choose the best data store for your question.
  19. 19:12Closing the loop
  20. 21:16Things that don't work
  21. 23:16Option 2: Enrich data Consume action, emit new action with additional data.
  22. 24:35Strong consistency Only individual answers to questions may be consistent
  23. 25:12Strong consistency Lack of strong consistency is a more accurate worldview
  24. 26:01Read about stream processing frameworks.
  25. 26:11Turning the Database Inside Out
~/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.