IT conferences can be divided into those about a specific technology (JS, PHP, Node, Symfony etc.) and those taking a little from everywhere. 4Developers is the ideal example of the second group. Is it a good approach? Well, I’ve just come back from this year’s 4Developers 2018, so I can tell you something about it.
What’s it all about?
Usually, on one-day conferences, we’ve got a single track to follow. If on a given time, the talk isn’t interesting for us, we’ve got no choice but to live with it. 4Developers changes it completely. At any point, there are 10 different tracks in which you can participate – starting from soft skills topic and ending on advanced systems architecture talks.
I am the Head of Node.js department in TSH and, because of that, I have to know a lot not only about that technology itself (patterns, libraries etc.) but also about software architecture or infrastructure. At some point in our career, we all realise that we should focus more on how the software is created (architecture patterns, DDD, distributed systems etc.) than on frameworks or libraries. The problem is, there are not many conferences about it.
4Developers solves it – it’s like having 10 different conferences on the same day, in the same place, at the same time.
This year I had a chance to see 6 different talks. My journey began with “Discovering unknown with Event Storming” by Mariusz Gil. This speech was a part of the Bottega IT Minds track. Spoiler alert: Bottega IT is a class of its own. Event storming wasn’t something new for me (or at least I thought so) – I never had practical experience with it, however, I had a chance to read a lot about this technique during my Domain Driven Desing-learning period.
Mariusz had a very hard task. How are you going to show event sourcing in 45 minutes, when normally it takes few-days workshops to learn it? Fortunately, before the talk began, Mariusz pointed out that this speech isn’t about learning but about inspiring us to find more about it on our own (oh, I miss my college times). And that’s completely understandable in this case.
Event sourcing isn’t about the implementation but rather about extracting the knowledge about the domain from the business.
A good understanding of it will make a big difference for a software developer, as, in the end, it’s us who have to transfer client’s thoughts into a working implementation. Let’s keep in mind that if our ideas aren’t in sync with client’s expectations (the way he or she expects software to work), then pretty sure it won’t be a pleasure for both sides to work together.
Obviously, attendance wasn’t a problem at 4Developers 2018
Mariusz has guided us through the whole idea of event storming. Why do we need a wall, markers, colourful sticky cards and how those cards transfer to implementation. What’s cool is that it was all backend up by a real-life example, from an event storming session he had led. To make it more interesting, a few people from that session were also present in the speech. 🙂 At the end, I have to admit – I was inspired. I’m sure we’ll try to use this approach in TSH during next workshops with a client.
The next speech was called “Feature Toggle – Zarządzanie zmianami w Continuous delivery” and it was delivered by Karol Kreft. This time, I’ve moved to the Application Architecture track. Just after I reached the room, it was clear that this is a hot topic – the place was full of people. As for me, sometime in the past, I had a chance to work with a system where I could turn on and off features.
Therefore, Karol’s talk was a chance for me to verify my approach.
It started slowly. What’s a feature branch? What kind of problems may we have if, during the development, devs are not discussing changes they’re implementing? What’s a difference between Continuous Delivery and Continuous Deployment? When might it be worth to think about the second one? Finally, we managed to go trough all of these questions and move to what I was waiting for: how to implement feature toggles in our apps.
I wasn’t surprised when Karol started to describe the same track we followed in our case. First, we tried simple “ifs”. Then, we moved the configuration into a hardcoded file. And, after that, to a separate admin panel. Finally, Karol presented an option to refresh the whole configuration by a simple build process (for example, a job in Jenkins).
The whole speech was a good start for someone who didn’t have any previous experience with such systems.
In very simple words, it presented all the situations when we have to provide feature toggles in our applications. Yet, I’m not completely satisfied. In my opinion, it lacked info about deploying different configurations on different environments (instances). This is something we didn’t manage to implement in our project, yet could be very useful. Especially regarding A/B tests.
Show me your DDD
The, I went back to my favourite track – the one by Bottega IT Minds. Michał Michaluk and Jakub Pilimon guided us through the complex topic of Domain Driven Design – “Wprowadzenie do Domain-Driven Design na przykładach“. DDD is something I had to cope with since the beginning of my work in TSH. I also had an opportunity to mentor our developers in this field. Even thought, I believed it was important for me to see how others implemented it in their software. Especially, since we’re talking about the true experts.
What was truly interesting? The whole speech was done it the form of a talk between a consultant and an “old-fashioned” developer, someone who is reluctant to new approaches and thinks that we should implement all the systems using the setters and getters only. Step by step, we proceeded through the elements of the design process connected with DDD. It was not only about implementation itself – the tactical patterns – but also about strategic ones and all kind of supporting techniques. Hello, event storming, long time no see. 😉
Michał and Jakub during their awesome presentation on DDD
We passed smoothly through the artifacts of the DDD system – entities, value objects, domain events, domain services etc. We also learned when to use DDD. Of course, architecture patterns shouldn’t be used in a place where it doesn’t make any sense for it. For example, ports and adapters are of no value when our app is a typical CRUD. At the same time, if something’s a core domain of our software, it’s not advisable to base implementation on ORM entities.
I really liked the form of the speech. It was fresh, I’ve never met with such an idea.
What’s more, we got a real-code example – it’s available here on GitHub. Thanks to this, we could see how a good DDD application should look like.
Houston, we have a problem
“Errors, errors, everywhere!“ was a speech by Daniel Pokusa. This one was a part of the Application Architecture track. It was also quite important for me – this time, because of the project I’m watching over.
In short, the whole speech was about patterns useful in case of error occurrence in asynchronous/distributed applications. Circuit breaker, retry, hospital queue, die, rollback and leave, bulkhead, saga, scheduler agent supervisor… Those are only a few of the techniques which Daniel mentioned.
In my opinion, it was the best speech I had a chance to see during the whole conference.
From the very start, it hit the nail on the head. Each slide showed us a new technique that may solve a concrete everyday problem. I’m 100% percent sure we are going to use some of them in our projects in TSH – especially in those requiring high availability.
What connects docker, microservices and serverless computing? All of them are the big buzzwords of the last few years. After the fantastic speech by Daniel, I was back on the Bottega IT Minds track. This time Szymon Warda went to tell us about serverless and what it was all about – “Serverless is not about code. It is how you think“.
And I have to admit I was a little disappointed.
I was expecting code and solutions but, in the end, all I got was the definition of serverless (do not confuse with FaaS – function as a service) and the advice on how I could move my service to Azure cloud (sadly, it was only theory, not practice).
As you can see, 4Developers isn’t only about knowledge
The last speech I was waiting for was “Modularity – the final frontier“ by Łukasz Szydło. It was clear from the star that we had a chance to see someone with a lot of experience and full of interesting ideas.
In some way, this speech was an extension to the speeches by Mariusz (about event sourcing) and Michal + Jakub (about DDD).We learned that it’s almost impossible to transfer directly from a monolithic system to one based on microservices. (I don’t want to brag but this is something I had told our developers during one of the internal workshops in TSH – it’s nice to be right.) 😀
Instead of doing it directly, we should try to separate the monolith into small modules with visible boundaries and then extract them to microservice. Every other way will lead us to a distributed monolith where we have to deploy all of our 100 services together because it won’t work otherwise.
Łukasz also said one very important thing: we don’t have to follow the same template for every microservice.
We rather need to understand that each of them has a completely different responsibility, so we should apply a proper architecture pattern that fits all the requirements. Most of them are going to be tailor-made solutions – and that’s not something bad.
I can definitely recommend 4Developers – not only for “heads” (tech leaders) like me but, in fact, for every developer. It’s a conference where architecture and software design topics play an essential role. And there aren’t many events like that.
Most of the topics that you can hear about during 4Developers are something that’ll probably last for years – not a temporary fashion. I’m pretty sure every one of us will have to deal with DDD, event sourcing or distributed systems in our work.
So, instead of being surprised, it’s much better to be prepared.
Full-stack developer with 7 years of experience in PHP and 5 years of Node.js developing. The head of the Node.js development team at The Software House. Passionate about East Asia, lover of Japanese food.
On October 3, CBRE announced the most beautiful office designs in Poland, presenting Office Superstar 2018 awards. The Software House's headquarter in the Old Post Office in Gliwice was chosen... Read more