$30 off During Our Annual Pro Sale. View Details »

Reminiscing a crazy journey: building an event sourced ERP system

Reminiscing a crazy journey: building an event sourced ERP system

A decade ago, AFAS started to work on a crazy idea: let’s build ERP software in a completely different way. Instead of three layers and a relational database, we set out to develop a proprietary low-code platform (‘Focus’) to create a new event-sourced ERP system (‘SB+‘).
Today we are hosting the accounting of a thousand companies.
The ride from the initial idea to our current state was bumpy and had a lot of turns. In this keynote, we share stories of our journey and correlate them with results from the scientific research we have conducted.

Michiel Overeem

September 22, 2022
Tweet

More Decks by Michiel Overeem

Other Decks in Technology

Transcript

  1. Reminiscing a crazy journey:
    building an
    event sourced
    ERP system
    @michielovereem
    [email protected]
    https://movereem.nl

    View Slide

  2. Industry
    Science
    @michielovereem
    [email protected]
    https://movereem.nl

    View Slide

  3. The
    starting
    point

    View Slide

  4. Cloud Technology

    View Slide

  5. The journey

    View Slide

  6. Data
    QueryModel Object
    Logic
    Aggregate
    EventHandler
    Projector
    Command
    Event (#1)
    Event (#2)
    Event (#3)
    Query

    View Slide

  7. Person
    Entity
    Customer
    Role
    Order
    Agreement
    party
    Spending limit
    Address
    Organisation
    Entity
    Delivery
    BusinessAc tivity
    party
    Invoice
    BusinessAc tivity
    party
    Address
    Address
    Spending limit
    Spending limit
    Own Organisation
    Workarea
    workarea
    Spending limit
    • Functional model, suitable for ERP
    • Variability in the model
    • Contains 25 years of knowledge

    View Slide

  8. View Slide

  9. Person
    Entity
    Customer
    Role
    Order
    Agreement
    party
    Spending limit
    Address
    Organisation
    Entity
    Delivery
    BusinessAc tivity
    party
    Invoice
    BusinessAc tivity
    party
    Address
    Address
    Spending limit
    Spending limit
    Own Organisation
    Workarea
    workarea
    Spending limit

    View Slide

  10. ?
    Full history!

    View Slide

  11. Projections

    View Slide

  12. Separation of data

    View Slide

  13. Duplication 🤐

    View Slide

  14. No
    separation
    anymore

    View Slide

  15. Replay

    View Slide

  16. Sync
    events

    View Slide

  17. Partial replay?

    View Slide

  18. Reuse data for replay?

    View Slide

  19. Upgrades
    without
    downtime

    View Slide

  20. v1.0

    View Slide

  21. v1.0
    v2.0

    View Slide

  22. v1.0
    v2.0

    View Slide

  23. v1.0
    v2.0

    View Slide

  24. v2.0

    View Slide

  25. Repairs

    View Slide

  26. View Slide

  27. v1.0
    v2.0

    View Slide

  28. So what?

    View Slide

  29. The future
    is event-
    driven
    @michielovereem
    [email protected]
    https://movereem.nl

    View Slide