Best of Atomic SpinOctober 2024

  1. 1
    Article
    Avatar of atomicobjectAtomic Spin·2y

    Reviewing Code: A New Developer's Guide

    New developers often find code reviews daunting, but understanding how to write and review pull requests can significantly improve their abilities and confidence. Key steps include ensuring code quality, providing detailed testing instructions, effectively running and testing colleagues' code, and delivering constructive feedback in a considerate manner. Emphasizing a team-focused approach, this guide shares best practices for contributing meaningfully to code reviews and fostering professional growth.

  2. 2
    Article
    Avatar of atomicobjectAtomic Spin·2y

    From Zero to Unraid: The Perfect Home Server OS

    Unraid is a versatile home server OS that simplifies the setup and management of Docker containers, virtual machines, and storage arrays. It offers extensive options for power users and is ideal for various home server scenarios, from media streaming to gaming. Unraid is easy to start with minimal hardware requirements and supports secure remote access through solutions like Cloudflared and Tailscale.

  3. 3
    Article
    Avatar of atomicobjectAtomic Spin·2y

    Optimize EF Core Database Query Performance

    In a project where PDFs were migrated from a Blob Storage container to a SQL Server database, the web app's performance dropped significantly. To address this, several strategies were used to optimize EF Core query performance: using AsSplitQuery to avoid data duplication, employing projections and DTOs for read-only data to retrieve only necessary columns, and creating indexes for frequently queried non-primary key fields. These optimizations led to a reduction in response times and overall improved performance.

  4. 4
    Article
    Avatar of atomicobjectAtomic Spin·2y

    How to Use C4 Diagrams in Systems Architecture

    C4 diagrams provide a standardized approach to software architecture diagramming, focusing on different levels of abstraction: Context, Containers, Components, and Code. They enhance communication and align teams by using consistent conventions, avoiding varied interpretations often seen with generic boxes and arrows. Best practices include focusing on high-level diagrams and avoiding micromanagement with detailed Code diagrams. Tools like Mermaid and PlantUML are integrating C4 support, making them more accessible for developers.

  5. 5
    Article
    Avatar of atomicobjectAtomic Spin·2y

    Will Server Actions and Components Replace Route Handlers in NextJS?

    NextJS 13 introduces server components and server actions, enabling execution directly on the node server without API endpoints. Server components streamline data fetching for component renders, while server actions cater to data mutations. However, server actions are limited to POST requests, can't manually set response headers, and are inaccessible externally. Despite these advancements, route handlers remain essential, especially for client-side data fetching.