Slide 1

Slide 1 text

Supercharging your Webshop with ONGR.io and elasticsearch Simonas Šerlinskas

Slide 2

Slide 2 text

Simonas Šerlinskas ONGR Team lead [email protected]

Slide 3

Slide 3 text

Trend

Slide 4

Slide 4 text

Seperating frontend from backend

Slide 5

Slide 5 text

Advantages • slim frontend • no unused features • implement stuff the correct way • you decide about performance • more control

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Disadvantages • need to learn new framework • full relaunch • while still maintaining existing shop

Slide 8

Slide 8 text

Here’s a simple 
 solution

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

Routing in Loadbalancer local http = require "resty.http" local httpc = http.new() local res, err = httpc:request_uri(http://your-service, { method = "GET" }) upstream = "shopware-"..res.body:match( "^%s*(.-)%s*$" ) ngx.var.upstream = upstream

Slide 14

Slide 14 text

http://ONGR.io

Slide 15

Slide 15 text

http://dl.ongr.rocks/ongr.tar.gz

Slide 16

Slide 16 text

It’s a performance upgrade for transactional websites

Slide 17

Slide 17 text

Combined from • Elasticsearch DSL library (OOP Elasticsearch query builder) • Elasticsearch Bundle • Filter manager bundle • Router • API generator for the data import • and more….

Slide 18

Slide 18 text

https://github.com/ongr-io

Slide 19

Slide 19 text

Risk free CMS example

Slide 20

Slide 20 text

Wordpress

Slide 21

Slide 21 text

BUGS

Slide 22

Slide 22 text

Demo

Slide 23

Slide 23 text

http://github.com/saimaz/ONGR-wordpress- example

Slide 24

Slide 24 text

Simonas Šerlinskas ONGR Team lead [email protected] Questions??