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

Supercharging your Webshop with ONGR.io and ela...

Webconf Riga
November 15, 2015

Supercharging your Webshop with ONGR.io and elasticsearch

You want to supercharge your Webshop? ONGR.io is an extremly fast solution based on Symfony 2 and elasticsearch which can be used to speed up e-commerce websites. The main advantage compared to other solutions is that you don’t need a full relaunch. With ONGR.io it’s possible to speed up a single pagetype of your shop while everything else stays just like it is. In this talk I’ll show you how to do this and how easy it is to use ElasticSearch with ONGR.io. Lots of code, lots of examples, that’s gonna be fun ;)

Author: Simonas Šerlinskas
WebConf Riga 2015

Webconf Riga

November 15, 2015
Tweet

More Decks by Webconf Riga

Other Decks in Programming

Transcript

  1. Advantages • slim frontend • no unused features • implement

    stuff the correct way • you decide about performance • more control
  2. Disadvantages • need to learn new framework • full relaunch

    • while still maintaining existing shop
  3. 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
  4. Combined from • Elasticsearch DSL library (OOP Elasticsearch query builder)

    • Elasticsearch Bundle • Filter manager bundle • Router • API generator for the data import • and more….