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

gigacommerce

Aimeos
March 22, 2019

 gigacommerce

How to build online shops with 1 billion items on you notebook with 100ms response time

Aimeos

March 22, 2019
Tweet

More Decks by Aimeos

Other Decks in Technology

Transcript

  1. #gigacommerce

    View Slide

  2. 1 Milliarde Artikel
    in einem Shop

    View Slide

  3. Aimeos
    &
    ElasticSearch

    View Slide

  4. Aimeos

    View Slide

  5. Open Source
    E-Commerce Framework

    View Slide

  6. aimeos.org
    github.com/aimeos

    View Slide

  7. Laravel
    Slim
    a micro framework for PHP

    View Slide

  8. Eine Codebasis
    + Adapter für native Integration

    View Slide

  9. JSON API
    jQuery
    VueJS
    JsonAdm
    JQAdm
    Import
    E-Mail
    ...
    HTML
    Client
    JsonApi
    Cache
    Database
    Config
    Filesys
    Logger
    I18n
    MQueue
    View
    Session
    Data access (MShop)
    Admin
    Controller
    Jobs
    Controller
    Frontend
    Controller
    PHP
    Cron
    Scheduler
    HTML
    CSS
    JSON
    REST API
    Backend application
    Frontend application

    View Slide

  10. Domain driven design

    View Slide

  11. Neo4J
    Catalog
    ES
    Product
    ES
    Index
    Oracle
    Order
    ...
    Für jede Domäne ein anderes Storage möglich
    Aimeos Datendomänen

    View Slide

  12. Vollständiges Shopsystem
    Vergleichbar mit Magento Core

    View Slide

  13. ElasticSearch

    View Slide

  14. Optimiert für
    Suche und Analyse

    View Slide

  15. Clusterfähig
    für Petabytes an Daten

    View Slide

  16. View Slide

  17. Nodes, Indizes,
    Shards, Segments

    View Slide

  18. Cluster
    Node
    Index
    Shard
    Segment
    Doc
    Segment
    Doc
    Shard
    Segment
    Doc
    Segment
    Doc
    Index
    Shard
    Shard
    Node
    Index
    Shard
    Segment
    Doc
    Segment
    Doc
    Shard
    Segment
    Doc
    Segment
    Doc
    Index
    Shard
    Shard

    View Slide

  19. Extrem schnell
    wenn man es richtig macht

    View Slide

  20. #gigacommerce

    View Slide

  21. Standardserver
    16 Cores, 48GB RAM, 600GB SSD

    View Slide

  22. 1 ElasticSearch Node
    1 Produktindex, 8 Shards,
    ~40GB/Shard, 1 Segment/Shard

    View Slide

  23. 1 Milliarde Artikel
    in 10 Millionen Produkten
    mit Attributen, Bildern, Preisen, Texten

    View Slide

  24. Kundendaten
    Bestellungen
    Katalog
    Sonstiges
    Bestände
    Produkte
    Index
    MySQL ElasticSearch

    View Slide

  25. 1. Fallstrick
    Unlimitierte Suchanfragen

    View Slide

  26. 2. Fallstrick
    Match statt Filter

    View Slide

  27. 3. Fallstrick
    Versionskonflikte

    View Slide

  28. 4. Fallstrick
    Persistierung neuer Daten

    View Slide

  29. 25 50 75 100 185 280 366 455 540 600
    0
    20
    40
    60
    80
    100
    120
    140
    160
    180
    200
    Laravel/Symfony TYPO3
    Requests / Sekunde
    Response in ms
    Performance

    View Slide

  30. Aimeos
    aimeos.com/gigacommerce
    Twitter: @aimeos
    facebook.com/Aimeos

    View Slide