GeeCON 2023: Jakub Marchwicki - Frameworks Unplugged: Building Distributed Systems in Pure Java

youtube.com 11 miesięcy temu


Building a hello-world remainder example in spring-boot does not take more than a couple of minutes. ChatGPT generates it within seconds (including the maven files), and the example will most likely let you pass java programming 101. You can ask ChatGPT to add a distributed cache to your application, and it will supply a good recipe for embedding Hazelcast into your java solution. The same goes for database access, choosing a persistence framework, etc. These are becoming everyday, menial tasks a supervised device can execute independently. Does this mean software engineering is in decline, developers are no longer needed, and we should look for a fresh job? And this presentation will be about carpentry? Nope. erstwhile we ask the computer how do the remainder endpoints work? What are the standard HTTP methods specified as GET, POST, PUT, DELETE, and how does the computer know which method I'm calling - the responses become vaguer and vaguer. How does a distributed strategy know its state, and how do clusters discover members? These are trickier questions, and 1 needs to know what to ask for. So there is simply a chance for us. We inactive have a function to play in this engineering wishy-washy. We request to realize the basics which support the frameworks we usage regular - and that's what we will focus on during this session. Not just by scratching a surface, not by an academic lecture. We will dive into the code and implement a simple cluster, distributed strategy replicating data over the network. No frameworks, just Java code and principles, definitions and algorithms underlying our everyday work. What can possibly go wrong?