Lesson 190 - Logical vs Physical Architecture

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 12

  • @Liamshin_Ilia
    @Liamshin_Ilia 5 місяців тому +1

    Thank you for the lesson, Mr.Richards 👍

  • @sinamobasheri
    @sinamobasheri 5 місяців тому

    I'm really grateful for these lessons sir thank you ✨️

  • @mahdi5796
    @mahdi5796 5 місяців тому

    Excellent video, thank you. I learn a lot from your books AND your videos.
    Can you please provide some tips on how to connect logical and physical architecture together, effectively and clearly? The way you pinpointed (8:52) can easily get convoluted,messy and inconceivable as the number of compoents increase.
    Also, how different deployment models are shown / expressed in logical architecture?

    • @markrichards5014
      @markrichards5014  5 місяців тому +1

      Sure! What I usually do is indicate what logical components exist within the separate deployment units (services). For example, a "Payment" service (physical) would show the components included in it (such as "Credit Card", "Gift card", and so on).

  • @andreikashin
    @andreikashin 5 місяців тому +3

    Lesson 177 is here - ua-cam.com/video/2GIYtcxXDqY/v-deo.html

  • @alexsharma
    @alexsharma 5 місяців тому

    Good one Mark.
    One question - generally we are designing these kinds of diagram in the initial phase of project. At that time normally codebase is still under development.
    How can we map project folder structure with logical diagram when codebase is not ready?

    • @markrichards5014
      @markrichards5014  5 місяців тому

      You can still create the folders (even though there's no source code yet). Alternatively, you can wait until development, and govern them through tools like ArchUnit, ArchUnitNet, PyTestArch, NetArchTest, and TSArch during development.

  • @MrGrucha
    @MrGrucha 5 місяців тому

    Is there some intermediate type of architecture? When designing systems (usually based on some acceptance criteria, business designs etc.) my teams often were creating something similar to this logical architectures but with some extra details, like: "here we want to write data do DB", "here we want to send data to other component" but without specifying if that DB is Postgres, Cassandra, Mongo or whatever else or without specifying if data will be sent over HTTP, TCP, kafka etc. I feel like both architectures on their own are a bit lacking, and leave too many unanswered questions and connecting them like you shown at the end of video may result with very complicated diagrams where average engineer may be quickly lost.

    • @MohamedKamal-wd8hx
      @MohamedKamal-wd8hx 5 місяців тому

      I think the logical architecture is useful when you want to abstract away the architecture style (monolith, microservices) and focus on the runtime behavior. This is useful in initial phase of the project when you don't know which architectural style you will use or you want to understand how system components are decomposed to solve a problem. I think if you mixed that with infrastructure, you will be biased quickly to a a certain architectural style, may be this is what you want in a brown field project for example. The main point is a logical architecture can be mapped to a many physical architectures all supporting different architectural characteristics. I agree with you the diagrams not carefully selected.

    • @markrichards5014
      @markrichards5014  5 місяців тому +1

      Absolutely. In many cases you might want to add a repository in a logical architecture, or add additional details to provide guidance. There are really no hard-and-fast rules about what can and can't go into a logical architecture diagram.