Decoupling an application with message queues

16.11.2017
Conference: Symfony Con 2017, Cluj, Romania
Title: Decoupling an application with message queues
Links: slides, joind.in

Quick response times are crucial. Time consuming tasks triggered in web requests should be executed asynchronously, if at all possible. In this talk I will give a short overview of what message queues are and then show a case study how we split up an application into smaller services and how we use message queues to coordinate the services.

message queues rabbitmq symfony architecture conference


Going crazy with caching: Caching pages of logged in users

28.1.2017
Conference: PHP Benelux Conference 2017, Antwerp, Belgium
Title: Going crazy with caching: Caching pages of logged in users
Links: joind.in, slides
You know how HTTP caching works but need more? In this talk we look into ways to cache personalized content. We will look at Edge Side Includes (ESI) to tailor caching rules of fragments, and at the user context concept to differentiate caches not by individual user but by permission groups. A big help to leverage this concept is the FOSHttpCache in combination with either Varnish or the Symfony HttpCache class.

caching http performance varnish conference


Confoo: HTTP Caching with Varnish

7.12.2016
Conference: Confoo Vancouver 2016, Canada
Title: HTTP Caching with Varnish
Links: Slides

With the Varnish caching proxy, you can greatly increase the speed of websites and handle a lot more load. The basics are quite simple once you understand how the cache handling in HTTP works, so we will look into that first. Then I will go into advanced topics like cache tagging and cache invalidation or using Edge Side Includes.

varnish conference


Confoo: Symfony Introduction

6.12.2016
Conference: Confoo Vancouver 2016, Canada
Title: Symfony Introduction
Links: Slides

Symfony is a powerful and very flexible framework for building web applications. Symfony is also a collection of base components that you can use separately in any PHP application. This modular nature allows many frameworks to build on top of it, the most notable being Drupal 8 and Laravel. In this talk, I will give an overview of the fundamental Symfony components and show how to use the full stack framework.

symfony conference


Abstracting HTTP Clients in PHP - article in PHP Architect magazine

1.12.2016

Publication: PHP Architect magazine
Title: Abstracting HTTP Clients in PHP
Links: Article

Many PHP applications are designed as server applications which receive a request and return a response to the client. However, PHP is also used to write API clients. This can be CLI tools written in PHP or server applications which need to talk to another system over HTTP. In this article, we’ll look at a library to abstract out the HTTP client used in your code to keep it flexible and future-proof.

I made the full article available here.

http architecture article


Elastic Meetup Switzerland: Data Import Strategies

16.11.2016
Meetup: Elastic Meetup #15, Bern, Switzerland
Title: Data Import Strategies
Links: Slides (my talk only)
Co-Presenter: My work collegue Martin Janser did the second part about querying

Liip AG provides a data API for one of the largest swiss retail companies. Elasticsearch is the main data store. Martin Janser and David Buchmann will share some learnings and patterns from the project.

Read more

elasticsearch architecture meetup conference


IPC Munich: REST

25.10.2016
Conference: International PHP Conference 2016, Munich, Germany
Title: Jenseits von REST-Maturitätsleveln: Erkenntnisse aus einem REST-API-Projekt
Links: Slides (German)

Für REST-APIs braucht es nicht (nur) sauber designte URLs für die Ressourcen. Ich spreche über den Software-Engineering-Aspekt beim Bau eines Daten-API. Ich zeige konkrete Beispiele aus einem Projekt, bei dem wir aus dutzenden von Quellen Daten aggregieren und für Echtzeitanfragen aufbereiten. Der Technologiestack ist Symfony, Elasticsearch und Varnish. Im Talk zeige ich Rezepte für die Datenaggregation, die Serialisierung mit Symfony, und für den Gebrauch von Elasticsearch und Varnish.

rest rabbitmq german elasticsearch conference


IPC Munich: HTTP Caching mit Varnish

24.10.2016
Conference: International PHP Conference 2016, Munich, Germany
Title: HTTP Caching mit Varnish
Links: Slides (German)

Mit dem Varnish Cache Proxy werden Webseiten richtig schnell. Der Einsatz von Varnish ist simpel, wenn man die Cacheregeln von HTTP verstanden hat. Zum Einstieg schauen wir uns deshalb HTTP und die Varnish-Konfiguration an. Der Hauptgang ist das Integrieren des FOSHttpCacheBundle in ein Symfony-2-Projekt. Wir schauen uns Caching-Regeln, Cache-Tagging, Integrationstests und andere leckere Funktionen an. Zur Nachspeise gibt es eine Einführung in Edge Side Includes (ESI).

varnish german conference