A Ph.D. is the culmination of many years of study and effort. It has been undoubtedly one of the most challenging endeavours of my life and, even though a Ph.D is ultimately a single person objective, I was not alone at any point. I have to thank to all those now forgotten teachers from school and high school, and all the friends along the way. More importantly my family, specially my parents and my brother, have been a constant rock all this time, I deeply appreciate that. More recently my family grew, I got married to Eva my awesome wife, to whom I am specially grateful for supporting me through the last years of my Ph.D. I could not have made it without her. I want to extend my sincere thanks to Joerg Widmer, a supervisor is probably the most important figure during a Ph.D. and he was more than up to the task. He guided me through difficult times, with patience and good advice. I also want to extend my gratitude to everyone from IMDEA Networks Institute. People feel so close to you when you are going through challenges that are similar, even if they are not the same. I have enjoyed meeting and getting to know so much people over the years, over coffee breaks