A Java Geek weekly 51

The quest for REST

In the current literature, REST is generally promoted as the best thing since sliced bread. Yet, it comes with lots of challenges. In 2010(!), Martin Fowler wrote a post on the glory of REST. He lists three steps for an API to become truly REST.

  • Level 0: The swamp of POX
  • Level 1: Resources
  • Level 2: HTTP verbs
  • Level 3: Hypermedia controls
The Instability-Abstractness-Relationship — An Alternative View

Many developers use the afferent and efferent coupling measures to assert software quality, but it deserves a more fine-grained analysis of what they actually measure.

11 Ways to Optimize Kubernetes Load Balancing
  1. Utilize Ingress Controllers
  2. Configure Service Mesh
  3. Leverage External Load Balancers
  4. Implement Health Checks
  5. Optimize DNS Resolution
  6. Use Sticky Sessions
  7. Implement Weighted Load Balancing
  8. Use Node Local DNS Cache
  9. Leverage Horizontal Pod Autoscaling (HPA)
  10. Use Custom Load Balancing Algorithms
  11. Optimize Network Plugins

    Interesting points, but either the title is misleading or some sections don’t belong - DNS has nothing to do with load balancing.

Trace-based Testing With OpenTelemetry

Really cool idea: use traces to test the overall flow of a business request across several OpenTelemetry-aware components.

OpenTelemetry and vendor neutrality: how to build an observability strategy with maximum flexibility

Unexpected piece from a vendor, but still welcome, with a reminder from the OTel website:

OpenTelemetry is not an observability backend like Jaeger, Prometheus, or other commercial vendors. OpenTelemetry is focused on the generation, collection, management, and export of telemetry. A major goal of OpenTelemetry is that you can easily instrument your applications or systems, no matter their language, infrastructure, or runtime environment. *Crucially, the storage and visualization of telemetry is intentionally left to other tools*.
Stop Designing Your Web Application for Millions of Users When You Don’t Even Have 100

Will common sense prevail?

Sqlx4k

A high-performance, non-blocking database driver for PostgreSQL, MySQL, and SQLite, written for Kotlin Native.

Looking to build efficient, cross-platform applications with Kotlin Native.

I’m wondering how Kotlin Native fares.

Associating Method Categories with Emojis in IntelliJ and Javadoc

Apart from the content, it’s interesting to notice that the focus shift of a successful library creator after several years: from writing the library to improving its documentation.

The Art of Code Review Corruption: 10 Ways to Always Get Your PRs Merged
  • King of the Hill
  • Fear and Terror
  • Reviewer Buddy
  • Early birds/night owls
  • Surprise me
  • Fake authorship
  • A shy approver
  • Wiseacre’s PR
  • Hysteric defense
  • King of the Hill II
Chatbots can persuade people to stop believing in conspiracy theories

A slight hope for the future of humanity.

Why Data in Enterprise Keeps Breaking

The post highlights the problem of distributed systems and eventual consistency.

Git Stash Like a Pro: Tips for Every Developer

Basic and not so basic stash-related commands. I didn’t know you could stash pop only specific files.

Nicolas Fränkel

Nicolas Fränkel

Developer Advocate with 15+ years experience consulting for many different customers, in a wide range of contexts (such as telecoms, banking, insurances, large retail and public sector). Usually working on Java/Java EE and Spring technologies, but with focused interests like Rich Internet Applications, Testing, CI/CD and DevOps. Also double as a trainer and triples as a book author.

Read More
A Java Geek weekly 51
Share this