Caches are often used as a cheap way to reduce latency and improve the performance of applications. Often we leverage libraries like Guava because they are rock solid and have lots of functionality but at the same time, all libs using Guava could easily bring a big jar hell and distributed monolith if you dont be cautious about your shared libraries. So if you are building a service might be completely fine to use more libs but as you build shared libs that could be really bad. So It’s always precise and lean about your dependencies. So today I want…
Are you crazy? No, I’m serious. Testing in production is hard dont get me wrong. There are several requirements like Observability, automation, and guardrails. However even being hard, a test in production is needed. Pre-production testing has limits. basically, we cannot predict all possible failure scenarios beforehand therefore we need a new approach a new mentality. It’s much better to recover from failure rather them try to prevent failure. Anti-fragility is the key of everything, meaning: isolate failure and recover rather than trying to prevent failure. Testing in production at the end of the day will be hard and will…
FFJ4 is a feature flags/toggles solution built in Java with full support and integration with Spring boot. FF4J is rich in features having: Feature Toggles, Role-Based Toggling, Strategy Based Toggling(White/Black Lists, Time Based, Expressions, even has integration with Drools), AOP-Driven Toggling, Features monitoring, Audit Trail, REST API, +20 Databases support, Properties via Spring, Archaius, commons-config or even consul and more. FF4J has an interesting UI where we can see the toggles and switch them on or off. So today I made a simple video going through the code and also running the UI. So Let’s get started!
The Video
The Code
Cheers,
Diego Pacheco
Originally published at http://diego-pacheco.blogspot.com on February 16, 2021.
We often dont realize how much we run into the autopilot mode. However, is the autopilot going in the direction that we want? Are we learning what we want to be learning? Are we investing where we want to be investing? Often the answer to this question is no. So how can we change direction? Would be awesome if we had an interface like google maps or Waze where we could just type another direction that we want to go and we would be driving there? Where the direction is a goal that we want to archive rather than a…
This is a pretty interesting book. I really love this kind of book where the author challenges the common sense and traditionally established truths that are not so true actually. Work is something we all do and I often think differently about it. Nine Lies about work sound arrogant but actually is not. The book is full of examples and scientific studies and argues very well on the spot. We are living a global pandemic(COVI-19) and that changed all our lives, that shows how fragile we can be. I personally was always into Lean/Agile and never was a fan of…
Social media is about attention. Real-time chat apps like Messenger, Whatsapp, slack are about attention. 101 meetings are about attention. We live in an attention economy. Everybody whats a time-share of you. A long time ago I disable ALL notifications from Slack, Skype, Whatsapp, Facebook(is closed most of the time of my day) and that is one of the best things you can do too. Not only for your mental health but also to put you in control of your time and therefore your happiness. Interruption is the ultimate killer of deep and meaningful work. However, we also need attention…
This is a very interesting game. Factorio is a game about automation. If you work as an engineering or DevOps/SRE or like Lean and Queue theory this is a game for you. Factorio is highly, highly, highly addictive. It’s very much like real life with the need for Refactoring, Technical Debt, Architecture, the pressure to deliver, constant tech updates and you have to catch up, debugging why you product halt, and much more. You can either play alone or with friends. It’s 100% fun, especially if you are in the tech industry like I’m. The game reminds me a lot…
NetflixOSS Released a pretty interesting new solution. A framework for GrpahQL fully integrated with Spring Boot. DGS is super easy to use. You basically have zero effort to use it with Spring boot applications. DSG works with Maven or Gradle, Java, or Kotlin. Some time ago I made some posts about GraphQL and BFF you might want to check it out here and here. You compare with this other approach(also with a video) available here. Without further due, let’s get started.
The Video
The Code
Cheers,
Diego Pacheco
Originally published at http://diego-pacheco.blogspot.com on February 5, 2021.
Traditional management often sucks. Main because the focus is on control, time management, and micro-management. Plus, traditional management does not learn and just repeats the same process repeatedly and expects different results. I prefer modern incarnations like Coaches or even Engineering Managers. I’m aware that Agile Coaching is a bad word in brazil because of Scams, but it does not mean it is a bad thing — It really depends on the people. People are more attached to managers than you can think. People do not know quite companies, they quite they managers. That’s why management is a super important…
Around 2015 there was a huge fuss about Digital Transformation. 70% of all Digital transformations fail(According to Tony Saldanha). For sure, you are thinking, this is because of the lack of proper Talent Pool, or wrong technology choices. Fore sure that things matter a lot, but surprisingly the number #1 problem is lack of discipline. Lack of discipline in Defining and executing the right steps. IMHO lack if discipline is also the issue of why hard things dont get done or executed. To define and execute the right steps, you need to have VISION and know what you are doing…
Brazilian, Software Architect, SWE(Java, Scala, Rust, Go) SOA & DevOps expert, Author. Working with EKS/K8S. diegopacheco.github.io (Opinions on my own)