Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Data-Oriented Architecture (LambdaDays 2016)

Data-Oriented Architecture (LambdaDays 2016)

Norbert Wójtowicz

February 19, 2016
Tweet

More Decks by Norbert Wójtowicz

Other Decks in Programming

Transcript

  1. ǡ

  2. MVC

  3. MVC

  4. SOA

  5. 1. Not understanding the domain. 2. Not modeling the domain.

    3. Breaking #1 or #2, and failing to adapt.
  6. / .

  7. [1 :name “Bob” 100 true] [1 :likes “Cats” 100 true]

    … [1 :likes “Cats” 111 false] [1 :likes “Dogs” 111 true]
  8. [1 :name “Bob” 100 true] [2 :name “Mary” 100 true]

    … [1 :likes 2 111 true] … [2 :likes 1 222 true]
  9. LOG

  10. [:find ?title :in $db ?first ?second :where [?a1 :actor/name ?first]

    [?a2 :actor/name ?second] [?a1 :actor/movies ?m] [?a2 :actor/movies ?m] [?m :movie/title ?title]]
  11. [:find ?m ?title ?score :in $db ?query :where [(fulltext $db

    :movie/title ?query) [[?m ?title _ ?score]]]]
  12. ROI

  13. EOF