<

Daniel Szoboszlay

Lead Engineer at Klarna

Dániel fell in love with Erlang a decade ago, working for Ericsson in Budapest. After his project got outsourced to India he tried himself as a consultant. Unfortunately, it turned out that kicking off many projects but hardly ever seeing them finish is not everyone's dream job, and working for short periods of time in far away places is not everyone's wife's dream scenario either. So he moved to Stockholm to join Klarna, and ever since he's happily tweaking a big and old system for scalability and stability.

Upcoming Activities

Daniel Szoboszlay
Code BEAM STO V

Consensus Protocols in OTP

TALK LEVEL: ADVANCED

Are consensus algorithms in OTP based on Paxos? Raft?

A home-grown solution?

Are they the secret sauce of the language or its dark secret instead?

Are global locks and Mnesia transactions as reliable as you believe?

Consensus protocols are essential to distributed systems, yet they are always constrained by theoretical limits. Trade-offs between consistency and ensuring progress are inevitable.

This talk will peek into OTP libraries such as "global" to better understand their guarantees and failure modes.

THIS TALK IN THREE WORDS

Consensus

Protocol

Analysis

OBJECTIVES

  • Help developers better understand the capabilities and limits of key OTP modules driving distributed systems.
  • Demonstrate the importance of exploring failure modes.

TARGET AUDIENCE

Developers of distributed systems who are interested in guarantees, failure modes and edge cases.

Past Activities

Daniel Szoboszlay
Code BEAM Lite Budapest
20 Sep 2019
14.50 - 15.30

Testing for race conditions in real world software

Race conditions are a programmer’s worst enemy: hard to catch in tests, almost impossible to reproduce. But there came a new tool, and changed everything! This talk is about Klarna's experience with testing for race conditions using Concuerror. They were among the first industrial users of it, and it has been quite a journey! They ironed out some rough edges, learnt a whole new mindset about testing, discovered best practices, and even wrote a tool for testing distributed systems under Concuerror.

OBJECTIVES

Give developers a head start on using Concuerror for testing their systems. To learn what’s possible and what’s not, and how to avoid common pitfalls.

AUDIENCE

Developers of concurrent systems.

Daniel Szoboszlay
Code BEAM STO 2019
17 May 2019
16.15 - 17.00

Useless performance optimisations on the BEAM for fun and... fun?

The race between Man and Machine for writing The Fastest Code is on since the first compiler has been invented. Now, I'm afraid when it comes to targeting x64, our chances of beating the Machine are negligible. But maybe with the BEAM we still hold a chance? Let's dig into BEAM assembly and find out whether we can show erlc a lesson or two!

OBJECTIVES

Teach about how the BEAM VM works under the hoods and show some examples on what the compiler can and cannot optimise for you.

TARGET AUDIENCE

Anyone interested in low-level BEAM stuff. Or maybe compilers.