Posts tagged “software-architecture”

12 posts

  1. System Design: Requirements Are Commitments

    I've run a lot of design interviews in my career. They were usually not meant to be a comprehensive trade-off exercise, designing for scale. I presented a simple problem, indicating it needs to be clarified. The simplified requirements I handed out gave some indication of what the core functional requirements were. But I was astonished how few people asked clarifying questions. Should links expire? Can users delete them? What should the latency be? How many requests do we handle?

  2. Generating Unique and Sortable IDs in Distributed Systems

    How to generate a unique and sortable ID. Autoincrement, UUID, KSUID, ULID, Snowflake ID.

  3. Strategic DDD by Example: Bounded Contexts Mapping

    Strategic DDD by Example: Bounded Contexts Mapping. Bounded contexts relationships patterns

  4. Understanding Consistent Hashing: Concepts, Pitfalls, and Real-World Use Cases

    Consistent hashing is a well-established technique that addresses this challenge with minimal disruption.

  5. What is Rate Limiting and How to Implement It? From Algorithm to System Architecture

    Rate limiting is a strategy used to control traffic to or from a network, server, or service

  6. Event-driven approach is not a silver bullet

    While asynchronous event-driven architecture (EDA) offers numerous advantages, it is not a one-size-fits-all solution

  7. How to improve your documentation with various types of diagrams

    Conveying the intricacies of software systems through visual diagrams

  8. How Codebase Structure Shapes System Predictability

    The structure of the codebase should visually communicate the main functionalities and responsibilities of the system. This at-a-glance understanding helps developers, new team members, and stakeholders quickly grasp what the software does and how it's organized. A well-structured codebase is like a well-organized library. It allows developers to quickly locate specific pieces of code, modules, or functionalities. This ease of navigation reduces the time spent searching and promotes efficient development and debugging

  9. Strategic Domain-Driven Design by Example: Subdomains

    A business domain refers to a specific area or aspect of a business or organization's operations, activities, and expertise. It represents a distinct sphere of knowledge, processes, and rules that govern the organization's functions and activities within a particular industry or market. Understanding what our business domain consists of and what are relationships between these parts are is crucial as it enables effective organization, modularization, and prioritization of development efforts, resulting in improved system design and alignment with business needs.

  10. The Power of Conventions in Software Development

    A convention is a widely accepted and agreed-upon practice, rule, or standard that guides behavior, decision-making, or design within a specific context. It provides a framework for consistency and promotes shared understanding and predictable outcomes. Conventions can play an important role in reducing cognitive load in software development.

  11. How to visualize your system architecture using the C4 model?

    As a software developer or system architect you often have a task to visualize your existing or potential application architecture for other people. Your audience can be software developers, but also business stakeholders (Customers, Product Owners, CEO, etc.). The architecture diagram should take on a distinctive look depending on whatever group you choose to present for your work.

  12. Ports and adapters architecture. Nameko microexample

    Port and adapters (or hexagonal) architecture is a software design concept introduced by Alistair Cockburn in 2005. The main goal of it is to provide a clear seperation between application logic and external dependencies like database, user interface, framework providing HTTP requests, etc.