Why we are still stuck with TDD nowadays? Through several facts & stories from the trenches, we will see why most of us still have not managed to grasp or to sustain the TDD experience.
Wouldn't be a good opportunity to meditate about how we are thinking? And why not, thinking outside of the box to get a better feeling of the TDD soul.
The Velvet Revolution: Modernizing Traditional ASP.NET Apps with DockerElton Stoneman
Using Docker with Windows Server 2016 to modernize ASP.NET applications - a feature-driven approach. Starting with an ASP.NET WebForms apps, how to run the app in Docker and then modernize it using the Docker platform. From NDC London 2017.
Slides présentés avant un Event Storming géant organisé au MS experiences (Palais des Congrès) par Thomas PIERRAIN, Bruno BOUCARD, Tomasz JASKULA et Eric VERNIE.
https://experiences.microsoft.fr/Event/session/atelier-1-decouvrir-son-sujet-grace-a-levent/2a6658ef-4074-e611-80c3-000d3a2229a6
.Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20...Javier García Magna
Good technical practices you can follow with (micro)services but can be applied to almost anything: discovery (microphone/consul), security, resilience (polly), composition, ssecurity (jwt/oauth2)... And then an example with a CQRS application, and how docker can be used in Windows 2016. Lastly a brief summary of what Service Fabric is and its programming models.
Docker and Windows: The State of the UnionElton Stoneman
Session from Docker London, covering Docker on Windows:
- the Docker platform on Windows
- limitations and differences
- Dockerizing Windows applications
- running a hybrid swarm
Decouvrir CQRS (sans Event sourcing) par la pratiqueThomas Pierrain
Introduction à CQRS présentée aux MS experiences 2016 (Palais des Congrès) par Thomas PIERRAIN, en compagnie de Bruno BOUCARD, Tomasz JASKULA et Eric VERNIE.
Faible latence, haut debit PerfUG (Septembre 2014)Thomas Pierrain
vidéo disponible : http://tv.octo.com/videos/les-secrets-de-la-finance-pour-avoir-des-systemes-reactifs/
Comment concevoir des systèmes capables d’encaisser des dizaines de milliers d’updates par seconde sans s’engorger, ni dépasser la milli seconde de traitement ?
Comment écrire du code scalable qui reste lisible –mais garanti 100% sans deadlock ? Que recouvre le reactive manifesto ? et les termes : conflation, sequencer, immutable state ?
Après vous avoir présenté les besoins et contraintes du trading électronique, nous répondrons à toutes ces questions dans une session … résolument réactive.
Note: il s'agit de la présentation que nous avions faîte à DEVOXX France en Avril 2014, mais revue et corrigée pour notre session au PerfUG de Septembre (avec une nouvelle charte graphique donc)
Comment concevoir des systèmes capables d’encaisser des dizaines de milliers d’updates par seconde sans s’engorger, ni dépasser la milli seconde de traitement ? Comment écrire du code scalable qui reste lisible –mais garanti 100% sans deadlock ? Que recouvre le reactive manifesto et les termes : conflation, sequencer, immutable state ? Après vous avoir présenté les besoins et contraintes du trading électronique, nous répondrons à toutes ces questions dans une session qui s'annonce...technique.
The Velvet Revolution: Modernizing Traditional ASP.NET Apps with DockerElton Stoneman
Using Docker with Windows Server 2016 to modernize ASP.NET applications - a feature-driven approach. Starting with an ASP.NET WebForms apps, how to run the app in Docker and then modernize it using the Docker platform. From NDC London 2017.
Slides présentés avant un Event Storming géant organisé au MS experiences (Palais des Congrès) par Thomas PIERRAIN, Bruno BOUCARD, Tomasz JASKULA et Eric VERNIE.
https://experiences.microsoft.fr/Event/session/atelier-1-decouvrir-son-sujet-grace-a-levent/2a6658ef-4074-e611-80c3-000d3a2229a6
.Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20...Javier García Magna
Good technical practices you can follow with (micro)services but can be applied to almost anything: discovery (microphone/consul), security, resilience (polly), composition, ssecurity (jwt/oauth2)... And then an example with a CQRS application, and how docker can be used in Windows 2016. Lastly a brief summary of what Service Fabric is and its programming models.
Docker and Windows: The State of the UnionElton Stoneman
Session from Docker London, covering Docker on Windows:
- the Docker platform on Windows
- limitations and differences
- Dockerizing Windows applications
- running a hybrid swarm
Decouvrir CQRS (sans Event sourcing) par la pratiqueThomas Pierrain
Introduction à CQRS présentée aux MS experiences 2016 (Palais des Congrès) par Thomas PIERRAIN, en compagnie de Bruno BOUCARD, Tomasz JASKULA et Eric VERNIE.
Faible latence, haut debit PerfUG (Septembre 2014)Thomas Pierrain
vidéo disponible : http://tv.octo.com/videos/les-secrets-de-la-finance-pour-avoir-des-systemes-reactifs/
Comment concevoir des systèmes capables d’encaisser des dizaines de milliers d’updates par seconde sans s’engorger, ni dépasser la milli seconde de traitement ?
Comment écrire du code scalable qui reste lisible –mais garanti 100% sans deadlock ? Que recouvre le reactive manifesto ? et les termes : conflation, sequencer, immutable state ?
Après vous avoir présenté les besoins et contraintes du trading électronique, nous répondrons à toutes ces questions dans une session … résolument réactive.
Note: il s'agit de la présentation que nous avions faîte à DEVOXX France en Avril 2014, mais revue et corrigée pour notre session au PerfUG de Septembre (avec une nouvelle charte graphique donc)
Comment concevoir des systèmes capables d’encaisser des dizaines de milliers d’updates par seconde sans s’engorger, ni dépasser la milli seconde de traitement ? Comment écrire du code scalable qui reste lisible –mais garanti 100% sans deadlock ? Que recouvre le reactive manifesto et les termes : conflation, sequencer, immutable state ? Après vous avoir présenté les besoins et contraintes du trading électronique, nous répondrons à toutes ces questions dans une session qui s'annonce...technique.
Compartilho aqui a minha apresentação que eu tive a honra de apresentar no primeiro MeetUp .NET Inside realizado na Stone Rio de Janeiro, palestrei sobre Microservices, .NET Core e Serverless. Sou grato por poder levar um pouco que eu sei para compartilhar com a plateia muito cheia e participativo.
QCONSF - ACID Is So Yesterday: Maintaining Data Consistency with SagasChris Richardson
This is a presentation I gave at QCONSF 2017
The services in a microservice architecture must be loosely coupled and so cannot share database tables. What’s more, two phase commit (a.k.a. a distributed transaction) is not a viable option for modern applications. Consequently, a microservices application must use the Saga pattern, which maintains data consistency using a series of local transactions.
In this presentation, you will learn how sagas work and how they differ from traditional transactions. We describe how to use sagas to develop business logic in a microservices application. You will learn effective techniques for orchestrating sagas and how to use messaging for reliability. We will describe the design of a saga framework for Java and show a sample application.
Coder sans peur du changement avec la meme pas mal hexagonal architectureThomas Pierrain
Découvrez en pratique l'architecture hexagonale, indispensable pour vos applications complexes !
Ce style d'architecture permet d'adapter votre code à tout changement de technologie sans souffrir. Si vous aimez changer de frameworks ou de librairies, tester correctement ou appliquer le Domain-Driven Design, alors vous avez besoin d'architecture hexagonale !
Avec des exemples en code Java, et au travers d’un kata d’architecture auquel vous pourrez participer, nous vous montrerons les pièges à éviter et comment mettre en œuvre ce pattern sans trop galérer, et ce dès votre retour au bureau !
Introduced by Eric Evans in 2004 via his Blue Book, Domain Driven Design (DDD) has received tremendous positive feedbacks from many developers & communities over the years. On the other hand, we have to admit that DDD has since not been widely used in the trenches or within most of our development projects... How can we explain such failure in its diffusion? Is DDD in itself difficult or is it just the way people used to present it which makes it hard to grasp and inaccessible? Through our various (more or less successful ;-) experiences, we will try to highlight what DDD is using a simple and more accessible approach. The opportunity for us is to show you how helpful it can be for your day-to-day projects. Wouldn't be the perfect time for all of us to ease the DDD onboarding for beginners and to reboot DDD for experts?
Avez-vous déjà eu l'impression de vous être assoupis dans votre carrière, de faire moins de veille qu'à d'autres périodes ? A l'inverse, vous êtes-vous déjà demandé comment sortir du ronron ambiant et "réveiller" vos collègues qui vous semblaient manquer de curiosité et de passion sur un projet ?
Cette courte session vise à vous présenter toutes les formules et astuces qui ont permis à très peu de gens chez nous de réveiller une grosse organisation qui s'endormait sur ses lauriers. Si on a réussi ici -sandwichs à la main- pourquoi pas vous ? Attention: effet contagieux ;-)
This is a talk I gave at PLoP 2017 - http://www.hillside.net/plop/2017/index.php?nav=program
The microservice architecture is growing in popularity. It is an architectural style that structures an application as a set of loosely coupled services that are organized around business capabilities. Its goal is to enable the continuous delivery of large, complex applications. However, the microservice architecture is not a silver bullet and it has some significant drawbacks.
The goal of the microservices pattern language is to enable software developers to apply the microservice architecture effectively. It is a collection of patterns that solve architecture, design, development and operational problems. In this talk, I’ll provide an overview of the microservice architecture and describe the motivations for the pattern language. You will learn about the key patterns in the pattern language.
Windows Containers and Docker: Why You Should CareElton Stoneman
You can run Docker on Windows natively with Windows 10 and Windows Server 2016 - but should you migrate your apps to Docker containers? This deck suggests the value case for moving to Docker, looking at how it can help you with a roadmap to adopt the major technology trends - DevOps, Cloud Computing and Microservices - and also how it can help you be more effective today.
Solving distributed data management problems in a microservice architecture (...Chris Richardson
This is a talk that I gave the SFBay Area Microservices and Cloud Native Apps meetup: https://www.meetup.com/microservices/events/241894841/
In a microservice architecture, each service has a private datastore in order to ensure that the services are loosely coupled. While loose coupling is essential, this architecture makes managing transactions and querying difficult. You can’t use traditional distributed transactions. Nor can you use distributed queries. In this talk you will learn about some patterns for solving these problems: Sagas, API Composition and Command Query Responsibility Segregation (CQRS).
Building and deploying microservices with event sourcing, CQRS and Docker (Be...Chris Richardson
In this talk we share our experiences developing and deploying a microservices-based application. You will learn about the distributed data management challenges that arise in a microservices architecture. We will describe how we solved them using event sourcing to reliably publish events that drive eventually consistent workflows and pdate CQRS-based views. You will also learn how we build and deploy the application using a Jenkins-based deployment pipeline that creates Docker images that run on Amazon EC2.
This talk was given at the Berlin Microxchg conference and the Munich microservices meetup.
Omnikron webbinar - Microservices: enabling the rapid, frequent, and reliable...Chris Richardson
DevOps and Continuous deployment (CD), which are a set of practices for the rapid, frequent, and reliable delivery of software, are central to any digital transformation effort. DevOps/CD require your application to have a testable and deployable architecture. As a result, a large, complex, and monolithic legacy application is typically an obstacle to the adoption of DevOps/CD. You must use the microservice architecture, a.k.a. microservices. In this webinar, you will learn about the importance of having a testable and deployable architecture. We describe the microservice architecture along with its benefits, and how it enables DevOps/CD. You will also learn about the drawbacks of the microservice architecture. We describe strategies for incrementally refactoring a legacy monolithic application into microservices.
Just about all of my current technical content in one 364 slide mega-deck. Source files at https://github.com/adrianco/slides
Sections on:
Scene Setting
State of the Cloud
What Changes?
Product Processes
Microservices
State of the Art
Segmentation
What’s Missing?
Monitoring
Challenges
Migration
Response Times
Serverless
Lock-In
Teraservices
Wrap-Up
JavaOne2017: ACID Is So Yesterday: Maintaining Data Consistency with SagasChris Richardson
The services in a microservice architecture must be loosely coupled and so cannot share database tables. What’s more, two-phase commit (aka a distributed transaction) is not a viable option for modern applications. Consequently, a microservice-based application must use so-called sagas to maintain data consistency between services. In this presentation, you will learn how sagas work and how they differ from traditional ACID transactions. You will also learn how to design and implement sagas for your applications.
Presentation from DDD Sydney, May 28th, 2016
Buzz word! More buzz words! And another buzz word!! Now that that's out of the way, if you're thinking of heading down the microservices path, then how do you do it? How do you build the services? What do you need to think about if you're starting from scratch? What if you're converting a legacy app? How do we deal with versioning? Do we have to use a NoSQL solution, just because Netflix does? Do we need to use docker/containers? What about the code? Show me the code! Well, that's what this session is all about. Designing and building microservices in .NET and then handling a bunch of other concerns that a microservices approach will force you to think about. Sounds interesting, doesn't it? You betcha.
Microservices are small services with independent lifecycles that work together. There is an underlying tension in that definition – how independent can you be when you have to be part of a whole? I’ve spent much of the last couple of years trying to understand how to find the right balance, and in this talk/tutorial I’ll be presenting the core seven principles that I think represent what makes microservices tick.
After a brief introduction of what microservices are and why they are important, we’ll spend the bulk of the time looking at the principles themselves, wherever possible covering real-world examples and technology:
- Modelled around business domain – using techniques from domain-driven design to find service boundaries leads to better team alignment and more stable service boundaries, avoiding expensive cross-service changes.
- Culture of automation – all organisations that use microservices at scale have strong cultures of automation. We’ll look at some of their stories and think about which sort of automation is key.
- Hide implementation details – how do you hide the detail inside each service to avoid coupling, and ensure each service retains its autonomous nature?
- Decentralize all the things! – we have to push power down as far as we can, and this goes for both the system and organisational architecture. We’ll look at everything from autonomous self-contained teams and internal open source, to using choreographed systems to handle long-lived business transactions.
- Deploy independently – this is all about being able to deploy safely. So we’ll cover everything from deployment models to consumer-driven contracts and the importance of separating deployment from release.
- Isolate failure – just making a system distributed doesn’t make it more stable than a monolithic application. So what do you need to look for?
- Highly observable – we need to understand the health of a single service, but also the whole ecosystem. How?
In terms of learning outcomes, beginners will get a sense of what microservices are and what makes them different, whereas more experienced practitioners will get insight and practical advice into how to implement them.
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloITCamp
Both CQRS and Event Sourcing are by no means “new stuff” anymore, yet a lot can be told about how to use Azure’s PaaS to implement such patterns and unleash their power. The ingredients are: DocumentDB as the event storage, Service Bus as the events’ dispatcher, Could Services/Service Fabric as the scalable, fault tolerant business logic container, SQL Azure as the read model and ASP .NET Core as the application framework used to implement views and back-end services. Eager to know the recipe? Don’t miss this talk then.
The scale-up, the autonomy and the nuclear submarineThomas Pierrain
Talk made at DDD Europe, June 9th 2023 (Amsterdam).
Most efficient organizations have autonomous staff as a common ground. Autonomy is a powerful individual driver : who doesn’t love to feel free to define their life, their time and their way of working? When working in a booming and thriving scale-up, autonomy is no longer an option. It is an essential fuel. But is it easy to put in motion?
Through our stories, successes and mistakes, we would like to share with you about this quest for autonomy. We will mainly talk about full-remote, release management, SRE approach, team conflicts and Domain Driven Design. We will also address self-organization, monolith splitting APIS, contracts tests and nuclear submarines.
In the end, lots of tips and tricks to manage to set up a Culture of autonomy that holds up over the long term. In a nutshell: how to prevent your quest for teams’ autonomy from turning into chaos…
Hexagonal architecture (a.k.a. Ports and Adapters) is a fabulous pattern that has more advantages than the ones for which it has been originally created.
One can think in an orthodox vision that patterns do not evolve. That it is important to keep Alistair Cockburn’s pattern like it was described back in the days.
One can think that some patterns may evolve, that Hexagonal Architecture has more facets than we think. This session will present both the original pattern in detail, and some alternative versions (related to Domain Driven Design).
Session made at Socrates Soltau 2022
https://www.socrates-conference.de/foundations
La scale-up, l'autonomie et le sous-marin nucléaireThomas Pierrain
La plupart des organisations efficaces ont en commun d’avoir des équipes autonomes. L’autonomie est aussi un moteur individuel puissant : qui n’aime pas se sentir libre de définir sa vie, ses horaires, sa façon de travailler ?
Lorsqu’on travaille dans une scale-up en plein essor et qui grossit de manière exponentielle, l’autonomie n’est plus une option, c’est un carburant indispensable.
Mais est-ce pour autant facile à mettre en oeuvre ?
C’est de cette quête d’autonomie dont nous aimerions vous parler à travers nos histoires, nos réussites et nos erreurs. Nous parlerons de full-remote, de release management, de démarche SRE, de conflits d’équipes et de Domain Driven Design.
On parlera aussi d’auto-organisation, d’APIs de split de monolithe, mais également de sous-marins nucléaires et de contract tests.
Au final, pleins de trucs et astuces pour arriver à mettre en place une Culture de l’autonomie qui tienne la route sur le long terme.
Compartilho aqui a minha apresentação que eu tive a honra de apresentar no primeiro MeetUp .NET Inside realizado na Stone Rio de Janeiro, palestrei sobre Microservices, .NET Core e Serverless. Sou grato por poder levar um pouco que eu sei para compartilhar com a plateia muito cheia e participativo.
QCONSF - ACID Is So Yesterday: Maintaining Data Consistency with SagasChris Richardson
This is a presentation I gave at QCONSF 2017
The services in a microservice architecture must be loosely coupled and so cannot share database tables. What’s more, two phase commit (a.k.a. a distributed transaction) is not a viable option for modern applications. Consequently, a microservices application must use the Saga pattern, which maintains data consistency using a series of local transactions.
In this presentation, you will learn how sagas work and how they differ from traditional transactions. We describe how to use sagas to develop business logic in a microservices application. You will learn effective techniques for orchestrating sagas and how to use messaging for reliability. We will describe the design of a saga framework for Java and show a sample application.
Coder sans peur du changement avec la meme pas mal hexagonal architectureThomas Pierrain
Découvrez en pratique l'architecture hexagonale, indispensable pour vos applications complexes !
Ce style d'architecture permet d'adapter votre code à tout changement de technologie sans souffrir. Si vous aimez changer de frameworks ou de librairies, tester correctement ou appliquer le Domain-Driven Design, alors vous avez besoin d'architecture hexagonale !
Avec des exemples en code Java, et au travers d’un kata d’architecture auquel vous pourrez participer, nous vous montrerons les pièges à éviter et comment mettre en œuvre ce pattern sans trop galérer, et ce dès votre retour au bureau !
Introduced by Eric Evans in 2004 via his Blue Book, Domain Driven Design (DDD) has received tremendous positive feedbacks from many developers & communities over the years. On the other hand, we have to admit that DDD has since not been widely used in the trenches or within most of our development projects... How can we explain such failure in its diffusion? Is DDD in itself difficult or is it just the way people used to present it which makes it hard to grasp and inaccessible? Through our various (more or less successful ;-) experiences, we will try to highlight what DDD is using a simple and more accessible approach. The opportunity for us is to show you how helpful it can be for your day-to-day projects. Wouldn't be the perfect time for all of us to ease the DDD onboarding for beginners and to reboot DDD for experts?
Avez-vous déjà eu l'impression de vous être assoupis dans votre carrière, de faire moins de veille qu'à d'autres périodes ? A l'inverse, vous êtes-vous déjà demandé comment sortir du ronron ambiant et "réveiller" vos collègues qui vous semblaient manquer de curiosité et de passion sur un projet ?
Cette courte session vise à vous présenter toutes les formules et astuces qui ont permis à très peu de gens chez nous de réveiller une grosse organisation qui s'endormait sur ses lauriers. Si on a réussi ici -sandwichs à la main- pourquoi pas vous ? Attention: effet contagieux ;-)
This is a talk I gave at PLoP 2017 - http://www.hillside.net/plop/2017/index.php?nav=program
The microservice architecture is growing in popularity. It is an architectural style that structures an application as a set of loosely coupled services that are organized around business capabilities. Its goal is to enable the continuous delivery of large, complex applications. However, the microservice architecture is not a silver bullet and it has some significant drawbacks.
The goal of the microservices pattern language is to enable software developers to apply the microservice architecture effectively. It is a collection of patterns that solve architecture, design, development and operational problems. In this talk, I’ll provide an overview of the microservice architecture and describe the motivations for the pattern language. You will learn about the key patterns in the pattern language.
Windows Containers and Docker: Why You Should CareElton Stoneman
You can run Docker on Windows natively with Windows 10 and Windows Server 2016 - but should you migrate your apps to Docker containers? This deck suggests the value case for moving to Docker, looking at how it can help you with a roadmap to adopt the major technology trends - DevOps, Cloud Computing and Microservices - and also how it can help you be more effective today.
Solving distributed data management problems in a microservice architecture (...Chris Richardson
This is a talk that I gave the SFBay Area Microservices and Cloud Native Apps meetup: https://www.meetup.com/microservices/events/241894841/
In a microservice architecture, each service has a private datastore in order to ensure that the services are loosely coupled. While loose coupling is essential, this architecture makes managing transactions and querying difficult. You can’t use traditional distributed transactions. Nor can you use distributed queries. In this talk you will learn about some patterns for solving these problems: Sagas, API Composition and Command Query Responsibility Segregation (CQRS).
Building and deploying microservices with event sourcing, CQRS and Docker (Be...Chris Richardson
In this talk we share our experiences developing and deploying a microservices-based application. You will learn about the distributed data management challenges that arise in a microservices architecture. We will describe how we solved them using event sourcing to reliably publish events that drive eventually consistent workflows and pdate CQRS-based views. You will also learn how we build and deploy the application using a Jenkins-based deployment pipeline that creates Docker images that run on Amazon EC2.
This talk was given at the Berlin Microxchg conference and the Munich microservices meetup.
Omnikron webbinar - Microservices: enabling the rapid, frequent, and reliable...Chris Richardson
DevOps and Continuous deployment (CD), which are a set of practices for the rapid, frequent, and reliable delivery of software, are central to any digital transformation effort. DevOps/CD require your application to have a testable and deployable architecture. As a result, a large, complex, and monolithic legacy application is typically an obstacle to the adoption of DevOps/CD. You must use the microservice architecture, a.k.a. microservices. In this webinar, you will learn about the importance of having a testable and deployable architecture. We describe the microservice architecture along with its benefits, and how it enables DevOps/CD. You will also learn about the drawbacks of the microservice architecture. We describe strategies for incrementally refactoring a legacy monolithic application into microservices.
Just about all of my current technical content in one 364 slide mega-deck. Source files at https://github.com/adrianco/slides
Sections on:
Scene Setting
State of the Cloud
What Changes?
Product Processes
Microservices
State of the Art
Segmentation
What’s Missing?
Monitoring
Challenges
Migration
Response Times
Serverless
Lock-In
Teraservices
Wrap-Up
JavaOne2017: ACID Is So Yesterday: Maintaining Data Consistency with SagasChris Richardson
The services in a microservice architecture must be loosely coupled and so cannot share database tables. What’s more, two-phase commit (aka a distributed transaction) is not a viable option for modern applications. Consequently, a microservice-based application must use so-called sagas to maintain data consistency between services. In this presentation, you will learn how sagas work and how they differ from traditional ACID transactions. You will also learn how to design and implement sagas for your applications.
Presentation from DDD Sydney, May 28th, 2016
Buzz word! More buzz words! And another buzz word!! Now that that's out of the way, if you're thinking of heading down the microservices path, then how do you do it? How do you build the services? What do you need to think about if you're starting from scratch? What if you're converting a legacy app? How do we deal with versioning? Do we have to use a NoSQL solution, just because Netflix does? Do we need to use docker/containers? What about the code? Show me the code! Well, that's what this session is all about. Designing and building microservices in .NET and then handling a bunch of other concerns that a microservices approach will force you to think about. Sounds interesting, doesn't it? You betcha.
Microservices are small services with independent lifecycles that work together. There is an underlying tension in that definition – how independent can you be when you have to be part of a whole? I’ve spent much of the last couple of years trying to understand how to find the right balance, and in this talk/tutorial I’ll be presenting the core seven principles that I think represent what makes microservices tick.
After a brief introduction of what microservices are and why they are important, we’ll spend the bulk of the time looking at the principles themselves, wherever possible covering real-world examples and technology:
- Modelled around business domain – using techniques from domain-driven design to find service boundaries leads to better team alignment and more stable service boundaries, avoiding expensive cross-service changes.
- Culture of automation – all organisations that use microservices at scale have strong cultures of automation. We’ll look at some of their stories and think about which sort of automation is key.
- Hide implementation details – how do you hide the detail inside each service to avoid coupling, and ensure each service retains its autonomous nature?
- Decentralize all the things! – we have to push power down as far as we can, and this goes for both the system and organisational architecture. We’ll look at everything from autonomous self-contained teams and internal open source, to using choreographed systems to handle long-lived business transactions.
- Deploy independently – this is all about being able to deploy safely. So we’ll cover everything from deployment models to consumer-driven contracts and the importance of separating deployment from release.
- Isolate failure – just making a system distributed doesn’t make it more stable than a monolithic application. So what do you need to look for?
- Highly observable – we need to understand the health of a single service, but also the whole ecosystem. How?
In terms of learning outcomes, beginners will get a sense of what microservices are and what makes them different, whereas more experienced practitioners will get insight and practical advice into how to implement them.
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloITCamp
Both CQRS and Event Sourcing are by no means “new stuff” anymore, yet a lot can be told about how to use Azure’s PaaS to implement such patterns and unleash their power. The ingredients are: DocumentDB as the event storage, Service Bus as the events’ dispatcher, Could Services/Service Fabric as the scalable, fault tolerant business logic container, SQL Azure as the read model and ASP .NET Core as the application framework used to implement views and back-end services. Eager to know the recipe? Don’t miss this talk then.
The scale-up, the autonomy and the nuclear submarineThomas Pierrain
Talk made at DDD Europe, June 9th 2023 (Amsterdam).
Most efficient organizations have autonomous staff as a common ground. Autonomy is a powerful individual driver : who doesn’t love to feel free to define their life, their time and their way of working? When working in a booming and thriving scale-up, autonomy is no longer an option. It is an essential fuel. But is it easy to put in motion?
Through our stories, successes and mistakes, we would like to share with you about this quest for autonomy. We will mainly talk about full-remote, release management, SRE approach, team conflicts and Domain Driven Design. We will also address self-organization, monolith splitting APIS, contracts tests and nuclear submarines.
In the end, lots of tips and tricks to manage to set up a Culture of autonomy that holds up over the long term. In a nutshell: how to prevent your quest for teams’ autonomy from turning into chaos…
Hexagonal architecture (a.k.a. Ports and Adapters) is a fabulous pattern that has more advantages than the ones for which it has been originally created.
One can think in an orthodox vision that patterns do not evolve. That it is important to keep Alistair Cockburn’s pattern like it was described back in the days.
One can think that some patterns may evolve, that Hexagonal Architecture has more facets than we think. This session will present both the original pattern in detail, and some alternative versions (related to Domain Driven Design).
Session made at Socrates Soltau 2022
https://www.socrates-conference.de/foundations
La scale-up, l'autonomie et le sous-marin nucléaireThomas Pierrain
La plupart des organisations efficaces ont en commun d’avoir des équipes autonomes. L’autonomie est aussi un moteur individuel puissant : qui n’aime pas se sentir libre de définir sa vie, ses horaires, sa façon de travailler ?
Lorsqu’on travaille dans une scale-up en plein essor et qui grossit de manière exponentielle, l’autonomie n’est plus une option, c’est un carburant indispensable.
Mais est-ce pour autant facile à mettre en oeuvre ?
C’est de cette quête d’autonomie dont nous aimerions vous parler à travers nos histoires, nos réussites et nos erreurs. Nous parlerons de full-remote, de release management, de démarche SRE, de conflits d’équipes et de Domain Driven Design.
On parlera aussi d’auto-organisation, d’APIs de split de monolithe, mais également de sous-marins nucléaires et de contract tests.
Au final, pleins de trucs et astuces pour arriver à mettre en place une Culture de l’autonomie qui tienne la route sur le long terme.
TDD is a game changer. It changed my dev life for good, no doubt. Having made almost all possible errors while practicing it over the years (more than 15 years of TDD practice), I have now ended up since many years with a style that provides me and my teams lots of efficiency and happiness.
A style that Bruno Boucard and myself have called the “outside-in diamond” TDD. Something that help us to easily write both domain-driven, but also "Antifragile" tests.
A session made at DDD Africa
Au-delà de la passion, faire du logiciel pour moi c’est aider les autres à résoudre leurs problèmes. Comment aider les autres si on n’est pas déjà clair soi-même avec sa posture, son métier, ses envies, ses ambitions ou bien ses craintes ? C’est la question que je me suis posé à plusieurs reprises durant ma carrière. Et c’est de cela - et des quelques aides trouvées en route - dont je voudrais vous parler.
Keynote d'ouverture de la conférence d'Alpes Craft 2019 (le 13 juin 2019)
When building an Event Sourcing system, can we change the past? Can we also forecast “events” in the future?
If we want to provide various projections/visions of things that hapenned over the time, what are the consequences and trade-offs on our code?
All these questions will be answered during this talk. But moreover, I'll tell you our learning story about Bi-temporal Event Sourcing. Yet another illustration of the power of modeling, sketches and concrete examples when we need to understand each others.
Coder, c'est de plus en plus façonner le monde. Redéfinir ses contours et certaines interactions que nous pouvons avoir (ou pas) entre nous.
Si certains métiers se sont déjà interrogés par le passé sur leur rôle et leur impact sur la société, il me semble que ces questions d'éthique ne nous traversent pas encore suffisamment dans la sphère des faiseuses et faiseurs de logiciels.
Et si on se posait quelques minutes pour faire le tour de certaines d'entre elles ?
Unmaintainable code, repetitive bugs, time-consuming corrections, depressed teams ... No wonder most of us prefer to start projects from scratch (a.k.a. Greenfield) rather than a Legacy code base (Brownfield). For sure, situations where control has been lost are annoying, even more: exhausting. But what if we were wrong? What if -fully equipped with some refactoring techniques and communication skills- we were able to reverse things and get back control over such situations?
During a session with real live-coding inside, come and discover the tips and tricks from people who prefer to regain control rather than undergo. From people who prefers the hidden opportunities of the legacy to the blank pages of the Greenfield projects. You too, realize it could be fun and join the Legacy Club!
Software Design ... a nice expression, uh? But what does it mean to "design a software"? What are the prerequisites? What are the pitfalls to avoid? As Software Designers we would like to highlight on what makes us build simple, useful and above all effective software. And of course, we will talk about Domain-Driven Design in that journey ;-)
Talk made at http://domain-driven-design.eu/the-art-of-design/
Quickie made in french during DevoxxFR 2015
Avez-vous déjà eu l'impression de vous être assoupis dans votre carrière, de faire moins de veille qu'à d'autres périodes ? A l'inverse, vous êtes-vous déjà demandé comment sortir du ronron ambiant et "réveiller" vos collègues qui vous semblaient manquer de curiosité et de passion sur un projet ?
Cette courte session vise à vous présenter toutes les formules et astuces qui ont permis à très peu de gens chez nous de réveiller une grosse organisation qui s'endormait sur ses lauriers. Si on a réussi ici -sandwichs à la main- pourquoi pas vous ? Attention: effet contagieux ;-)
Understanding Globus Data Transfers with NetSageGlobus
NetSage is an open privacy-aware network measurement, analysis, and visualization service designed to help end-users visualize and reason about large data transfers. NetSage traditionally has used a combination of passive measurements, including SNMP and flow data, as well as active measurements, mainly perfSONAR, to provide longitudinal network performance data visualization. It has been deployed by dozens of networks world wide, and is supported domestically by the Engagement and Performance Operations Center (EPOC), NSF #2328479. We have recently expanded the NetSage data sources to include logs for Globus data transfers, following the same privacy-preserving approach as for Flow data. Using the logs for the Texas Advanced Computing Center (TACC) as an example, this talk will walk through several different example use cases that NetSage can answer, including: Who is using Globus to share data with my institution, and what kind of performance are they able to achieve? How many transfers has Globus supported for us? Which sites are we sharing the most data with, and how is that changing over time? How is my site using Globus to move data internally, and what kind of performance do we see for those transfers? What percentage of data transfers at my institution used Globus, and how did the overall data transfer performance compare to the Globus users?
Designing for Privacy in Amazon Web ServicesKrzysztofKkol1
Data privacy is one of the most critical issues that businesses face. This presentation shares insights on the principles and best practices for ensuring the resilience and security of your workload.
Drawing on a real-life project from the HR industry, the various challenges will be demonstrated: data protection, self-healing, business continuity, security, and transparency of data processing. This systematized approach allowed to create a secure AWS cloud infrastructure that not only met strict compliance rules but also exceeded the client's expectations.
Developing Distributed High-performance Computing Capabilities of an Open Sci...Globus
COVID-19 had an unprecedented impact on scientific collaboration. The pandemic and its broad response from the scientific community has forged new relationships among public health practitioners, mathematical modelers, and scientific computing specialists, while revealing critical gaps in exploiting advanced computing systems to support urgent decision making. Informed by our team’s work in applying high-performance computing in support of public health decision makers during the COVID-19 pandemic, we present how Globus technologies are enabling the development of an open science platform for robust epidemic analysis, with the goal of collaborative, secure, distributed, on-demand, and fast time-to-solution analyses to support public health.
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
Worried about document security while sharing them in Salesforce? Fret no more! Here are the top-notch security standards XfilesPro upholds to ensure strong security for your Salesforce documents while sharing with internal or external people.
To learn more, read the blog: https://www.xfilespro.com/how-does-xfilespro-make-document-sharing-secure-and-seamless-in-salesforce/
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
CyanicLab, an offshore custom software development company based in Sweden,India, Finland, is your go-to partner for startup development and innovative web design solutions. Our expert team specializes in crafting cutting-edge software tailored to meet the unique needs of startups and established enterprises alike. From conceptualization to execution, we offer comprehensive services including web and mobile app development, UI/UX design, and ongoing software maintenance. Ready to elevate your business? Contact CyanicLab today and let us propel your vision to success with our top-notch IT solutions.
Into the Box Keynote Day 2: Unveiling amazing updates and announcements for modern CFML developers! Get ready for exciting releases and updates on Ortus tools and products. Stay tuned for cutting-edge innovations designed to boost your productivity.
How Recreation Management Software Can Streamline Your Operations.pptxwottaspaceseo
Recreation management software streamlines operations by automating key tasks such as scheduling, registration, and payment processing, reducing manual workload and errors. It provides centralized management of facilities, classes, and events, ensuring efficient resource allocation and facility usage. The software offers user-friendly online portals for easy access to bookings and program information, enhancing customer experience. Real-time reporting and data analytics deliver insights into attendance and preferences, aiding in strategic decision-making. Additionally, effective communication tools keep participants and staff informed with timely updates. Overall, recreation management software enhances efficiency, improves service delivery, and boosts customer satisfaction.
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamtakuyayamamoto1800
In this slide, we show the simulation example and the way to compile this solver.
In this solver, the Helmholtz equation can be solved by helmholtzFoam. Also, the Helmholtz equation with uniformly dispersed bubbles can be simulated by helmholtzBubbleFoam.
top nidhi software solution freedownloadvrstrong314
This presentation emphasizes the importance of data security and legal compliance for Nidhi companies in India. It highlights how online Nidhi software solutions, like Vector Nidhi Software, offer advanced features tailored to these needs. Key aspects include encryption, access controls, and audit trails to ensure data security. The software complies with regulatory guidelines from the MCA and RBI and adheres to Nidhi Rules, 2014. With customizable, user-friendly interfaces and real-time features, these Nidhi software solutions enhance efficiency, support growth, and provide exceptional member services. The presentation concludes with contact information for further inquiries.
Your Digital Assistant.
Making complex approach simple. Straightforward process saves time. No more waiting to connect with people that matter to you. Safety first is not a cliché - Securely protect information in cloud storage to prevent any third party from accessing data.
Would you rather make your visitors feel burdened by making them wait? Or choose VizMan for a stress-free experience? VizMan is an automated visitor management system that works for any industries not limited to factories, societies, government institutes, and warehouses. A new age contactless way of logging information of visitors, employees, packages, and vehicles. VizMan is a digital logbook so it deters unnecessary use of paper or space since there is no requirement of bundles of registers that is left to collect dust in a corner of a room. Visitor’s essential details, helps in scheduling meetings for visitors and employees, and assists in supervising the attendance of the employees. With VizMan, visitors don’t need to wait for hours in long queues. VizMan handles visitors with the value they deserve because we know time is important to you.
Feasible Features
One Subscription, Four Modules – Admin, Employee, Receptionist, and Gatekeeper ensures confidentiality and prevents data from being manipulated
User Friendly – can be easily used on Android, iOS, and Web Interface
Multiple Accessibility – Log in through any device from any place at any time
One app for all industries – a Visitor Management System that works for any organisation.
Stress-free Sign-up
Visitor is registered and checked-in by the Receptionist
Host gets a notification, where they opt to Approve the meeting
Host notifies the Receptionist of the end of the meeting
Visitor is checked-out by the Receptionist
Host enters notes and remarks of the meeting
Customizable Components
Scheduling Meetings – Host can invite visitors for meetings and also approve, reject and reschedule meetings
Single/Bulk invites – Invitations can be sent individually to a visitor or collectively to many visitors
VIP Visitors – Additional security of data for VIP visitors to avoid misuse of information
Courier Management – Keeps a check on deliveries like commodities being delivered in and out of establishments
Alerts & Notifications – Get notified on SMS, email, and application
Parking Management – Manage availability of parking space
Individual log-in – Every user has their own log-in id
Visitor/Meeting Analytics – Evaluate notes and remarks of the meeting stored in the system
Visitor Management System is a secure and user friendly database manager that records, filters, tracks the visitors to your organization.
"Secure Your Premises with VizMan (VMS) – Get It Now"
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
Les Buildpacks existent depuis plus de 10 ans ! D’abord, ils étaient utilisés pour détecter et construire une application avant de la déployer sur certains PaaS. Ensuite, nous avons pu créer des images Docker (OCI) avec leur dernière génération, les Cloud Native Buildpacks (CNCF en incubation). Sont-ils une bonne alternative au Dockerfile ? Que sont les buildpacks Paketo ? Quelles communautés les soutiennent et comment ?
Venez le découvrir lors de cette session ignite
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
Even though at surface level ‘java.lang.OutOfMemoryError’ appears as one single error; underlyingly there are 9 types of OutOfMemoryError. Each type of OutOfMemoryError has different causes, diagnosis approaches and solutions. This session equips you with the knowledge, tools, and techniques needed to troubleshoot and conquer OutOfMemoryError in all its forms, ensuring smoother, more efficient Java applications.
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
How to Position Your Globus Data Portal for Success Ten Good PracticesGlobus
Science gateways allow science and engineering communities to access shared data, software, computing services, and instruments. Science gateways have gained a lot of traction in the last twenty years, as evidenced by projects such as the Science Gateways Community Institute (SGCI) and the Center of Excellence on Science Gateways (SGX3) in the US, The Australian Research Data Commons (ARDC) and its platforms in Australia, and the projects around Virtual Research Environments in Europe. A few mature frameworks have evolved with their different strengths and foci and have been taken up by a larger community such as the Globus Data Portal, Hubzero, Tapis, and Galaxy. However, even when gateways are built on successful frameworks, they continue to face the challenges of ongoing maintenance costs and how to meet the ever-expanding needs of the community they serve with enhanced features. It is not uncommon that gateways with compelling use cases are nonetheless unable to get past the prototype phase and become a full production service, or if they do, they don't survive more than a couple of years. While there is no guaranteed pathway to success, it seems likely that for any gateway there is a need for a strong community and/or solid funding streams to create and sustain its success. With over twenty years of examples to draw from, this presentation goes into detail for ten factors common to successful and enduring gateways that effectively serve as best practices for any new or developing gateway.
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
The European Union Agency for Law Enforcement Cooperation (Europol) has suffered an alleged data breach after a notorious threat actor claimed to have exfiltrated data from its systems. Infamous data leaker IntelBroker posted on the even more infamous BreachForums hacking forum, saying that Europol suffered a data breach this month.
The alleged breach affected Europol agencies CCSE, EC3, Europol Platform for Experts, Law Enforcement Forum, and SIRIUS. Infiltration of these entities can disrupt ongoing investigations and compromise sensitive intelligence shared among international law enforcement agencies.
However, this is neither the first nor the last activity of IntekBroker. We have compiled for you what happened in the last few days. To track such hacker activities on dark web sources like hacker forums, private Telegram channels, and other hidden platforms where cyber threats often originate, you can check SOCRadar’s Dark Web News.
Stay Informed on Threat Actors’ Activity on the Dark Web with SOCRadar!
Thomas: Hi everyone! Welcome to our autopsy session of TDD
Bruno: I'm Bruno. I'm an agile coach and also a software craftsman. Currently, I transform developers as software craftsmen for a major bank. I have cofounded Learn to Craft with Jean Laurent de Morlhon. This is a specific training about software craftsmanship.
Thomas: I’m Thomas. I am technical architect for a large investment bank, but also developer – including the open source- with NFluent .NET library that makes it easier to write readable assertions and "helpers" in your tests. I practice TDD-almost exclusively since 2005, when I also discovered XP (thanks to this gentleman, there next;-)
The idea of this talk came from an observation: all developers have probably heard -at least once- about the Red-Green-Refactor TDD mantra.
(Question for the audience-QFTA) Can you please raise a hand if you already heard about it (I’m expecting to see everyone here ;-)
Thomas: Ok. Let’s start with a short reminder to clarify our ubiquitous language for the session:
RED
It all starts with a test that is written when the code does not exist yet. In fact it brings out a skeleton for this implementation when writing our test
GREEN
We just wrote the code for the test to pass as quickly as possible. We can take many shortcuts here. The objective is to make it green ASAP.
REFACTOR
The part that is too often sacrificed: Once our has passed, we improve our code to replace all shortcuts we’ve taken, all the smells codes etc.
Ok then. Everyone has heard at least once about that… but when you look around and see how many TDD practitioners you can find in the projects, when you talk with others in the various meetups, or on tweeter… Almost no one practices TDD today.
(QFTA): Can you please raise your hand if you are practicing TDD on a daily basis at work?
Bruno: With Thomas we think it is normal ... If you think about it, there are very few books or blogs that explain the whole TDD process. How we capture the business needs, how we feel the emergent design... TDD is a lot more than that, it is also hard at first. There are some pitfalls, false positives, and we can be very disappointed if we start in the wrong direction.
Thomas: Thus, the objective of this session is to have an overview of TDD main difficulties; and for us to propose hints and tricks from the trenches to help you to retry the TDD experience … successfully this time.
Why should you retry the TDD experience?
Reassuring to manage complexity, to guard from regression also
Efficient: because it’s a straight to the point approach, with YAGNI principle at the heart of it. We really limit ourselves to the essentials and avoid tunnel effect.
It’s also really Encouraging: I don’t know for you guys, but since a developer’s day may be full of negative feedbacks (from the compiler, from the project manager, from the end users, etc), any kind of positive feedback is really welcomed to encourage me. Here, every Green light -when a test passed- is like a candy, a small victory. Very encouraging to move forward.
To understand the soul of TDD, it should better to think out of the box before to go further. Don’t be afraid, we come back in few minutes.
Imagine that you are at the end of the fifteen century …
Imagine that you are at the end of the fifteen century … where the middle age isn’t completely terminated.
At the same time, there is bunch of craftsmen, artists and intellectuals that wanted to get rid off the middle age and reinvent art and life. This new movement is … … the Renaissance.
Several of these artists are still famous nowadays. But there is one, I’m really fan of. A sculptor.
This guy has a amazing skill … … when he touch a block of marble, it is able to feel his nascent character through the stone.
Click - Realize: the guy has just to touch A stone to feel and imagine the upcoming sculpture.
Click -This guy was Michelangelo. But who was Michelangelo?
Click - He was only six years old when he is loose his mother.
Click - His father placed him with a family nourished stonemasons.
Click - With the children of this family, he will cut the stones before he can read and write.
He will confess, many years after that he had discovered a real a pleasure to break stone during his childhood with this family.
After, for a while, he got a long experience through several studios where he has beaten each masters.
Click -His talent allows him to join the art school of Lorenzo de Medici .He learns also poetry, literature and of course continues to improve in drawing, painting and sculpture.
Click -Michelangelo spent many nights to cut human bodies to better transcend them. It was forbidden, it was hard and difficult, but it was tolerated if you were an artist and if you come only during the night.
Click -Michelangelo finds its artistic peak through a giant David (4.34 m high) of white marble.
He draws and sculpts it between 1501 and 1504.
David, a character from the Old Testament, is featured naked young man, muscular gauging his enemy Goliath.
But unlike traditional representation, where David was represented after the fight with a soldier posture.
[PAUSE] .
Click -Reveals the moment of inner reflection
Click -It captures interiority.
Click -David became the symbol of the invincibility of the Florentine Republic.
That was very interesting Bruno, but what’s the link with our topic actually?
I am a developer; not a brilliant artist ...
Bruno: As you probably figured out, Michelangelo was a crazy workaholic ;-)
Bruno: As you probably figured out, Michelangelo was a crazy workaholic ;-)
Thomas: Yes, as you just explained, he started to cut stone when he was 6. That should have given him a kind of edge, comparing to the other sculptors
It makes me think of the theory of 10,000 hours.
(QFTA) Who already heard about this 10k hours theory?
It’s a theory from a Swedish psychologist (named Ericsson) that is stating that to be an expert in any field, you have to spend at least 10 thousands hours of practice and workout.
This applies to any kind of Craftsmanship, arts, sports, martial arts, or even poker.
There is something funny with Poker actually. Rather than hours, the experience of Poker players is driven by the number of hands they have played. That explained why so many young poker players recently beat old and very experienced players during the World series in Las Vegas. With online poker, those 20 years old players had played more hands in their short lives, than old school poker players in their entire carrier.
Indeed: online you can play whenever you want 24-7, and you can also play multiple tables simultaneously (this is called: multi-tabling)
This rule also applies to DEV.
Source: http://www.1000words-a-day.com/wp-content/uploads/2011/06/10khrs.jpg
http://www.sculpteur-petrus.com/images/sculpture-21-2.jpg
http://www.menshealth.fr/wp-content/uploads/2014/04/HITT.jpg
http://www.afacsport.com/wp-content/uploads/2012/05/taichi.jpg
http://www.peppermillreno.com/library/images/backgrounds/gaming_poker_cards.jpg
Thomas: When we workout, when we code and do some code kata for instance, this has direct action on our brain.
Repetition is changing our synapses connections & brain configuration
(animation)
It’s like in JAVA or .NET: the JIT compiler optimizes the execution of a method, or a piece of code based on its number of calls
Our brain is somehow similar.
If we master our tools and the way we code, we can then focus on what's important: the value for our domain, business and software.
Bruno: The Neo character is based this idea. After a long training his brain is different.
It enable to see inside the matrix and for him the bullets arrive slowly.
Thomas: This Neo thing reminds me the first time I learned to drive a car with my GranPa; there have been so many things to keep in mind: the steering wheel, the right foot, the left foot, the gear lever, the reer-view miror, etc. It was on a parking lot and I couldn’t hurt my GranPa car in the tiny walls. I was overwhelmed by all those details.
Now we I drive my car… Pfff ;-)
Bruno A friend of mine told me that repetitions were not a good approach.
If we analyze the Modern Time movie, we are not in the same posture.
You decide yourself to repeat something because we are motivated by something, is different when someone force you to repeat something.
As I said in introduction, I turn developers in software craftsmen.
This coaching is mainly based on code kata: greenfield and brownfield.
At the end, we practice some coding dojo to share their perceptions together.
Pierre is friend of mine.
He loves to software quality and he decide to start his new career plans in TDD.
However. when he is faced with the code editor, it sometimes feels helpless and unable to produce code.
He finally stopped and now says that TDD is very difficult. This is the first cause of TDD’s failure.
public:Ask the public its opinion
Bruno: Developers forget to be well informed on the subject before coding, forget to communicate.Reflection is undoubtedly a crucial part of TDD.Thomas: For the emerging design overwhelms us, you must prepare your brain.
Thomas (the title "Why Should"?)About shoulds besides myself who practice TDD since 2005, it's true that I did not use this formulation. My name was on the test requirements, and when we discussed this both goshawks of the coffee machine there are more than a year, I thought I was going to try to follow this technique. Well I must say that the results thereof to structure very clearly what we will do / write to the next test is really super effective!Bruno (with animation "Should such a message to yourself - >>)Example of the use of the shoulds Fruitshop kata.
Jean is a colleague who practices development with great professionalism, but with the TDD it did not go well.
He wanted to start TDD gradually in their daily work. Very quickly, he soon realized that productivity had dropped significantly.
Facing the end of his project, he preferred to stop TDD.public:Ask the public its opinion
Thomas:
Seriously guys?
We –developers- are all LANNISTERS …
There is always a time where we pay our Debts ;-)
You can test-after to let your project manager think that you’ve finished your job earlier… but you know that you will test – or worst- troubleshoot your app under production- afterwards.
Some recent studies made by various MS showed that TDD was adding 15% up to 35%. I would have said 10% for me, that is doing TDD almost exclusively since 2005
https://twitter.com/Cyrdup/status/589774288904912896
http://memegenerator.net/instance/60954764
Thomas:
But anyway. You know what? Typing is not the bottleneck…
THINKING IS the bottleneck!
http://start.sbastn.com/typing-is-not-the-bottleneck
Thomas: of course, without thinking, you feel faster! But it’s a lie. Right Bruno?
Bruno:
Click -In Public: If I say “Winter is …” you tell me… (coming). Or in french: “Une hirondelle ne fait pas le ….” (printemps)Click -Now, if I ask you 17 x 24? You tell me…. ;-) 408
Which was easier for you? … That’s normal.
Indeed, our way of thinking is divided into two systems that work together but are totally different.System 1 is fast and relies on automation and various types of bias that lead us astray often, but it is quick and no tiring
System 2 is slow, as it requires us to mobilize ourselves intellectually to think, to reason. He demands of energy (sugar) and we tired quickly.
However the system and logic is wrong unless the system 1. Our lives are largely based on the system 1, but if we want to do TDD, you must request your system 2, which by nature is slower.
TDD produces a code test in terms of behavior, so it is normal that it costs more than a little or not tested program.
Source:
http://www.google.fr/url?source=imglanding&ct=img&q=http://i.dailymail.co.uk/i/pix/2013/10/20/article-2469485-1753A9F8000005DC-917_634x408.jpg&sa=X&ei=EXpTVZyVFOrfywOKnIDYBw&ved=0CAkQ8wc&usg=AFQjCNHjtSbsIGjlJw3u1SJgjPjNWJBMJQ
It Bruno reminds me my case. There are a few years, I was technical lead on a pricer, it was between 4 and 8 in the team and we had set some standard on our app. TDD, par, at least 80% of test coverage, test acceptance of black box, unit testing, parallel run etc. We release every 15 days, and with this device: it even happened to me releaser and go find my darling to the movies or the theater just after. In short, it was super confident in our device.
And then one day, after one year of developping our pricer and our code base, we realized that we faced serious difficulties every time we would like to change or to add a new feature. Indeed, almost 10 or 20% of our tests were breaking every time.... Not the blackbox-acceptance tests, but most of our unit tests… We needed to rewrite them. Our tests were brittle/fragile and made us suffer.
In short they have started to slow us down and we started to wonder what we could do to get there ... I even began to make me challenged by management who asked us to stop TDD, saying we must remain productive again at the end of the day.
What did we got wrong? Was it related to the important number of tests? Was it related to the way we were written those test?
We collectively thought about it, and then figure it out that it was related to how we were written our tests ;-(
Our unit tests were too much implementation-oriented.
The secret to avoid that kind of situation?
Do not test methods or implementation details
Instead, test behaviours – even at the unit test level. This is crucial to practice TDD safely.
Source : http://upload.wikimedia.org/wikipedia/commons/c/c0/Behaviour_Santiago_Logo.jpg
Bruno: Poor test code because it does not bring value.Both tests are procedures and not on a script
Bruno: In this version of the code is simple and clean.The test covers a scenario perfectly explained through his name.
Thomas:
Another feedback we often hear: « I have the feeling to dedicate too much time to the writting of tests, and not enough time to write code for our app. Is TDD really efficient? »
EFFICIENCY VIA MINIMALISM & SHORT FEEDBACKS
Source :
https://c2.staticflickr.com/8/7135/7021453805_b2b981d7c0.jpg
http://blog.leanmonitor.com/wp-content/uploads/2014/08/minimum-viable-product.png
KISS
http://www.google.fr/imgres?imgurl=http%3A%2F%2Fpg.nooidea.com%2Fupload%2F2011%2F02%2F21%2F20110221065459-272e0930.jpg&imgrefurl=http%3A%2F%2Fwww.nooidea.com%2F2011%2F02%2Fkeep-it-simple-stupid.html&h=500&w=486&tbnid=7IRRI2o8BoLQGM%3A&zoom=1&docid=iIioXZg6ISiYxM&ei=60UiVY7LAYLvUJWdgLgC&tbm=isch&iact=rc&uact=3&dur=2630&page=2&start=25&ndsp=30&ved=0CJABEK0DMCM
Thomas:
When I started to practice TDD in 2005, I was practicing the CLASSIC style of TDD.
Red-Green-Refactor, you start from the inside, and you rely on triangulation to improve your implementation or to add more and more behaviours from the inside by increment.
This is nice, but you can also be victim of tunnel effects ... And realize too late that you arrived in a situation far from what you really need.
Thomas: This is why I now practice almost exclusively the Outside-in form of TDD (also called the London school). In that form, you consider your system as a black box. An empty one a the very beginning, and …
<explications>.
Bruno: As Michelangelo, we shape the code at the coarse grained level, but after we shape the fine grained level.
(reminder: Kent Beck’s 4 rules of simple design:
It passes all the tests
It minimizes duplication in all its forms
It expresses its intent clearly to the reader
It removes unnecessary elements)
TDD can truly change your life as a developer,
to make it more comfortable, reassuring, efficient
Thomas:
Le cas du diamonds kata illustré par Seb ROSE et que j’ai eu l’occasion de faire tout récemment, est très intéressant, l’objectif est de …
Sa stratégie de recyclage de test pour décomposer l’algo en baby steps est vraiment intéressant
Dabord
Assert.AreEqual("AB", Diamond.Create('B')); // B_should_give_character_sequence()puis
Assert.AreEqual("ABB", Diamond.Create('B')); // public void B_should_repeat_characters()
Puis
Assert.AreEqual("A\nBB\n", Diamond.Create('B')); // B_should_have_separate_lines()
Le sudoku est une autre paire de manches… Il faut être honnête, au « moment » où vous devez coder l’algo, il devient très difficile -impossible en ce qui me concerne- de conserver des babys steps. Après moi ça ne me dérange pas plus que ça. Le TDD m’aide déjà suffisamment pour me lancer et coder toute l’infrastructure nécessaire pour le sudoku (coder les règles, le parsing des colonnes, lignes et régions…).
On a un débat sur le sujet avec Bruno, il va nous falloir tenter de le faire ensemble pour vraiment voir si les petits test
Un autre exemple d’algo pas vraiment possible à coder en TDD: le quick sort… (le bubble sort : ok, mais le quick sort…)
Source: https://cdn3.iconfinder.com/data/icons/objects-1/100/diamond-512.png
Seb Rose: http://claysnow.co.uk/recycling-tests-in-tdd/
Bruno:
Le TDD comprend 4 activités distinctes que le développeur se doit de maîtriser, il peut les travailler indépendamment pour progresser efficacement.
Puis, au finale, les pratiquer toutes sans y penser une fois les automatismes acquis.