We won't center our attention on PHP this time !

Nowadays, more and more PHP professional ignore how the network works. But PHP is in the middle of the network !

Abstracted down in the low level of our OS, the network can be responsible of many failures.

This talk will quickly recall how the overall network (Internet) works, with OSI layers ; and will quickly converge on concrete case : TCP/IP

How does TCP/IP works ? How does TCP dynamically measures network congestion and adapts itself to avoid it and share fairly the underlying pipe ? How does that impact your code in userland ?
What is slow-start ? What is Reno ? What are those Linux tcp_*** settings for and those socket() options I can use ? How can I tune them ?

Understanding the network helps a lot in debugging uncommon but especially troublesome scenarios. It also helps in understanding why and how a PHP script could fail due to network problem.

We'll use tcpdump and WireShark GUI to debug network scenarios, and to find a guilty part : network , or app ?


Comments are closed.

Sander vT at 18:07 on 30 Jun 2017

Too bad there was no time for tcpdump/Wireshark. You spent too much time on the many slides of theory. You clearly enjoy talking about this subject, so compliments for making this talk less dull than the subject!

Pulkit Swarup at 23:37 on 30 Jun 2017

The presenter was highly enthusiastic about the topic and that was clearly visible during his presentation.

It would have been really nice if the slides were prepared for the presentation covering important topics and demo, rather than referring old slides used for training, maybe within the company or other event's