<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Architecture on Micha Kops&#39; Tech Notes</title>
    <link>https://www.hascode.com/tags/architecture/</link>
    <description>Recent content in Architecture on Micha Kops&#39; Tech Notes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Copyright © 2010 - 2025 Micha Kops. #e9d956c0c0154a221ad83c925346a8fa0e72f866</copyright>
    <lastBuildDate>Fri, 05 Sep 2025 00:00:00 +0200</lastBuildDate>
    <atom:link href="https://www.hascode.com/tags/architecture/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Message-Driven Architecture Across Multiple Teams</title>
      <link>https://www.hascode.com/message-driven-architecture-across-multiple-teams/</link>
      <pubDate>Fri, 05 Sep 2025 00:00:00 +0200</pubDate>
      <guid>https://www.hascode.com/message-driven-architecture-across-multiple-teams/</guid>
      <description>&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Whenever I start planning a new message-driven architecture that spans several software teams, I quickly realize how many moving parts there are.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;To keep my head clear, I’ve put together a personal checklist of things I always try to cover.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;It’s not meant to be a formal rulebook, but more of a practical reminder of what usually makes the difference between smooth collaboration and endless headaches.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;imageblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;img src=&#34;message-driven-architecture-conver.png&#34; alt=&#34;message driven architecture conver&#34;/&gt;
&lt;/div&gt;
&lt;div class=&#34;title&#34;&gt;Figure 1. Message Driven Architecture Article Cover Image&lt;/div&gt;</description>
    </item>
    <item>
      <title>Modeling AWS Structures with PlantUML and AsciiDoc</title>
      <link>https://www.hascode.com/modeling-aws-structures-with-plantuml-and-asciidoc/</link>
      <pubDate>Tue, 08 Nov 2022 00:00:00 +0100</pubDate>
      <guid>https://www.hascode.com/modeling-aws-structures-with-plantuml-and-asciidoc/</guid>
      <description>&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;The AWS shapes are included in the PlantUML stdlib .. simply include them as shown here:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;title&#34;&gt;example.puml&lt;/div&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-plantuml&#34; data-lang=&#34;plantuml&#34;&gt;@startuml
!include &amp;lt;awslib/AWSCommon&amp;gt;
!include &amp;lt;awslib/Analytics/ManagedStreamingforKafka&amp;gt;
!include &amp;lt;awslib/Database/RDS&amp;gt;
!include &amp;lt;awslib/General/Users&amp;gt;
!include &amp;lt;awslib/General/InternetGateway&amp;gt;

!include &amp;lt;kubernetes/k8s-sprites-labeled-25pct&amp;gt;

skinparam linetype ortho

title &amp;#34;AWS Context Diagram&amp;#34;


package &amp;#34;EKS Kubernetes Cluster&amp;#34; as eks_cluster {
    component &amp;#34;&amp;lt;$pod&amp;gt;\napp1&amp;#34; as pod1
    component &amp;#34;&amp;lt;$pod&amp;gt;\napp2&amp;#34; as pod2
}

ManagedStreamingforKafka(kafka_pod, &amp;#34;Amazon MSK&amp;#34;, &amp;#34;Apache Kafka&amp;#34;)

RDS(pg_rds, &amp;#34;PostgreSQL&amp;#34;, &amp;#34;Sample Schema&amp;#34;)


Users(users, &amp;#34;AppUsers&amp;#34;,&amp;#34;editors, admins&amp;#34;)

InternetGateway(igw1, &amp;#34;Customer Gateway&amp;#34;, &amp;#34;Customer access to internal services&amp;#34;)

users -&amp;gt; igw1
igw1 --&amp;gt; pod1
igw1 --&amp;gt; pod2
pod1 --&amp;gt; pg_rds
pod1 --&amp;gt; kafka_pod
pod2 --&amp;gt; pg_rds
pod2 --&amp;gt; kafka_pod

@enduml&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>C4 Modeling with PlantUML and AsciiDoc</title>
      <link>https://www.hascode.com/c4-modeling-with-plantuml-and-asciidoc/</link>
      <pubDate>Tue, 01 Nov 2022 00:00:00 +0100</pubDate>
      <guid>https://www.hascode.com/c4-modeling-with-plantuml-and-asciidoc/</guid>
      <description>&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;C4 models allow us to visualize software architecture by decomposition in containers and components.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Viewpoints are organized in hierarchical levels:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;ulist&#34;&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Context Diagrams (Level 1)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Container Diagrams (Level 2)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Component Diagrams (Level 3)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Code Diagrams (Level 4)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;&lt;a href=&#34;https://github.com/plantuml-stdlib/C4-PlantUML&#34;&gt;C4-PlantUML&lt;/a&gt; offers a variety of macros and stereotypes that make modeling fun.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;An example in &lt;a href=&#34;https://plantuml.com/&#34;&gt;PlantUML&lt;/a&gt;:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;title&#34;&gt;sample.puml&lt;/div&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-plantuml&#34; data-lang=&#34;plantuml&#34;&gt;@startuml
!include &amp;lt;c4/C4_Context.puml&amp;gt;
!include &amp;lt;c4/C4_Container.puml&amp;gt;

left to right direction

Person(user, &amp;#34;User&amp;#34;)

System_Ext(auth, &amp;#34;AuthService&amp;#34;, &amp;#34;Provides authentication and authorization via OIDC&amp;#34;)

System_Boundary(zone1, &amp;#34;Some system boundary&amp;#34;) {


    System(lb, &amp;#34;Load Balancer&amp;#34;)

    System_Boundary(az, &amp;#34;App Cluster&amp;#34;) {
        System(app, &amp;#34;App Servers&amp;#34;) {
            Container(app1, &amp;#34;App1&amp;#34;, &amp;#34;Docker&amp;#34;, &amp;#34;Does stuff&amp;#34;)
            Container(app2, &amp;#34;App1&amp;#34;, &amp;#34;Docker&amp;#34;, &amp;#34;Does stuff&amp;#34;)

            ContainerDb(dbSess, &amp;#34;Session DB&amp;#34;, &amp;#34;Redis&amp;#34;)
            ContainerDb(db1, &amp;#34;RBMS 1&amp;#34;, &amp;#34;AWS RDS Postgres&amp;#34;)
            ContainerDb(db2, &amp;#34;RBMS 2&amp;#34;, &amp;#34;AWS RDS Postgres&amp;#34;)

            &amp;#39; both app servers sync sessions via redis
            Rel(app1, dbSess, &amp;#34;Uses&amp;#34;, &amp;#34;Sync Session&amp;#34;)
            Rel(app2, dbSess, &amp;#34;Uses&amp;#34;, &amp;#34;Sync Session&amp;#34;)

            &amp;#39; both app servers persist data in RDBMS
            Rel(app1, db1, &amp;#34;Uses&amp;#34;, &amp;#34;Persist/query relational data&amp;#34;)
            Rel(app2, db2, &amp;#34;Uses&amp;#34;, &amp;#34;Persist/query relational data&amp;#34;)
        }
    }
}

Rel(user, lb, &amp;#34;call&amp;#34;)
Rel(lb, app1, &amp;#34;delegate&amp;#34;)
Rel(lb, app2, &amp;#34;delegate&amp;#34;)
Rel(app1, auth, &amp;#34;Verify&amp;#34;, &amp;#34;User auth&amp;#34;)
Rel(app2, auth, &amp;#34;Verify&amp;#34;, &amp;#34;User auth&amp;#34;)

SHOW_FLOATING_LEGEND()

@enduml&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Testing Java Applications for Resilience by Simulating Network Problems with Toxiproxy, JUnit and the Docker Maven Plugin</title>
      <link>https://www.hascode.com/testing-java-applications-for-resilience-by-simulating-network-problems-with-toxiproxy-junit-and-the-docker-maven-plugin/</link>
      <pubDate>Sun, 29 Jul 2018 00:00:00 +0200</pubDate>
      <guid>https://www.hascode.com/testing-java-applications-for-resilience-by-simulating-network-problems-with-toxiproxy-junit-and-the-docker-maven-plugin/</guid>
      <description>&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;When implementing distributed systems, client-server architectures and simple applications with network related functionalities, everything is fine when we’re in the development or in the testing stage because the network is reliable and the communicating systems are not as stressed as they are in production.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;But to sleep well we want to validate how resilient we have implemented our systems, how they behave when the network fails, the latency rises, the bandwidth is limited, connections time out and so on.&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Managing Architecture Decision Records with ADR-Tools</title>
      <link>https://www.hascode.com/managing-architecture-decision-records-with-adr-tools/</link>
      <pubDate>Sun, 27 May 2018 00:00:00 +0200</pubDate>
      <guid>https://www.hascode.com/managing-architecture-decision-records-with-adr-tools/</guid>
      <description>&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Every software project includes a set of architecture decisions defining boundaries and constraints for further design and implementation.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;It’s important to document those decisions somehow or else a development team might not know which decisions where made and with which assumptions.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Or they know the decision but are missing the context and the consequences and therefore decisions are blindly accepted or blindly changed.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In the following short tutorial I will show how to structure architecture decisions in so called Architecture Decision Records and how to manage them with a simple tool named ADR-Tools.&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Software Architecture Exploration and Validation with jqAssistant, Neo4j and Cypher</title>
      <link>https://www.hascode.com/software-architecture-exploration-and-validation-with-jqassistant-neo4j-and-cypher/</link>
      <pubDate>Sun, 31 Dec 2017 00:00:00 +0100</pubDate>
      <guid>https://www.hascode.com/software-architecture-exploration-and-validation-with-jqassistant-neo4j-and-cypher/</guid>
      <description>&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;I have written about other software system analyzing and validation tools before but today I would like to introduce a new tool named jqAssistant that supports software architects, developers and analysts in a variety of tasks like analyzing given structures, validating architectural or quality constraints and generating reports.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Therefore jqAssistant analyzes given projects or artifacts and stores the gathered information – that is enriched by a variety of existing plugin-ins – in a Neo4j graph database.&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Assuring Architectural Rules with ArchUnit</title>
      <link>https://www.hascode.com/assuring-architectural-rules-with-archunit/</link>
      <pubDate>Mon, 03 Jul 2017 00:00:00 +0200</pubDate>
      <guid>https://www.hascode.com/assuring-architectural-rules-with-archunit/</guid>
      <description>&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Maintaining architecture rules and constraints for a specific software project or an application is not easy as textual documentation is easily forgotten after a while and hard to verify.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;ArchUnit is a testing library that allows developers and software architects to write down such rules as executable tests that may be run by the development teams and the integration servers.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In the following article I will demonstrate the basic features of this library by applying rules and constraints to an existing application.&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Resilient Architecture in Practice – Circuit Breakers for Java: Failsafe, Javaslang, Hystrix and Vert.x</title>
      <link>https://www.hascode.com/resilient-architecture-in-practice-circuit-breakers-for-java-failsafe-javaslang-hystrix-and-vert.x/</link>
      <pubDate>Tue, 14 Feb 2017 00:00:00 +0100</pubDate>
      <guid>https://www.hascode.com/resilient-architecture-in-practice-circuit-breakers-for-java-failsafe-javaslang-hystrix-and-vert.x/</guid>
      <description>&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;When dealing with remote services or APIs there is always the risk of latency issues, failures or connection losses. The worst thing to happen is when the remote service is down and our application hangs until the underlying protocol’s (e.g. TCP) connection timeout is reached and we’re receiving an exception. Until this moment is reached, our application might hang, memory is allocated for threads or bound objects and at last, our continuous requests might prevent the remote system from recovering.&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
