Building an API for the biggest retailer of Switzerland has some challenges. We are an API with a lot of extremely complex data. Our bottleneck is and always has been serializing. It has been a long journey for us to get the most performance out of this. We are proud of what we’ve accomplished.

Let me first share what advanced serialization is, and what tools there are out there to solve any needs you may have, we tried them all.

Then I will share our personal journey trying them out. And in the end: A colleague wrote php-to-go so that we could GO beyond PHP, using PHP and GoLang together, for an amazing performance boost.

(Spoiler alert: We found a solution in PHP that we ended up with, and open sourced)


Comments are closed.

Jos Elstgeest at 17:14 on 24 Jan 2020

Very interesting topic, and solution was pleasantly surprised. Maybe go a bit more into the internals of the liip/serializer and give that a bit more emphasis as it looks very interesting.

Patrick Blom at 08:22 on 26 Jan 2020

inspiriting talk. I like the idea to move the slow operations away from the user.

Interesting topic, though not 100% what I thought it would be.
That is okay though, advanced can go many ways. Maybe the abstract could have a little more detail about the problem?

I was hoping for a solution on a not having a lot of serialisation groups :)

But again, it was still interesting to hear about this use case!

It's always interesting to hear other developers solutions to the problems they encounter and compare them to how you would have done it. I agree with some other comments here that the talk itself was perhaps not a 100% what I expected of it, but it was education nonetheless.

You were sometimes hard to follow, I assume you had some small issue being nervous, but all in all a good talk delivered by a very colourful lady :)

I liked this talk - it was very interesting (although I knew the library already) and Michelle presents in a very calm and comprehensible way - so it is a joy to listen. Thank you!

Stef Liekens at 07:07 on 27 Jan 2020

Thanks for sharing your experience.

It was interesting to see how you solved the performance issue by using something other than PHP.
The only thing I was missing was some info on deserializing using this approach, but I know this wasn't part of the talk's scope.