Best of Halodoc2024

  1. 1
    Article
    Avatar of halodocHalodoc·1y

    Improving API Latency: A Practical Guide

    APIs are essential for communication between software components, making their performance critical for user experience. Halodoc tackled API latency by categorising APIs based on their roles, setting performance benchmarks, and applying specific optimisation techniques. They established regular performance monitoring and utilised metadata to track API behaviours. By focusing on efficient categorisation and tailored optimisations, Halodoc significantly enhanced API performance, leading to reduced latency and improved user experience.

  2. 2
    Article
    Avatar of halodocHalodoc·2y

    Efficient Dynamic Forms with ngComponentOutlet in Angular

    Angular's ngComponentOutlet simplifies dynamic component loading, allowing developers to create flexible and reusable components. With the new input binding introduced in Angular 17, developers can now handle dynamic nested forms more efficiently without manually declaring injectors. Key benefits include faster development cycles, reduced bundle sizes, improved performance, scalability, and easier maintenance.

  3. 3
    Article
    Avatar of halodocHalodoc·2y

    Unlocking The Power Of JDK 21

    Upgrading to JDK 21 introduces key improvements like Generational ZGC, Virtual Threads, and Sequenced Collections. The Generational ZGC improves memory management by focusing on collecting young objects more frequently, whereas Virtual Threads offer a lightweight concurrency mechanism that enhances scalability and resource efficiency. Sequenced Collections simplify handling ordered data in Java, making code more intuitive and maintainable. These features combined promise significant performance and resource utilization improvements in Java applications.

  4. 4
    Article
    Avatar of halodocHalodoc·1y

    Simplifying Angular Library Docs with Storybook

    Libraries enhance code scalability and maintainability, but managing them grows complex over time. Halodoc addresses this challenge with Storybook, an open-source tool for building, testing, and documenting UI components in isolation. Storybook centralizes component documentation, boosts workflow efficiency, and enhances collaboration. The post details Storybook’s features, setup processes, writing and organizing stories, and best practices to ensure documentation remains up-to-date. Emphasizing collaboration and integrating documentation updates into the development workflow are key for maintaining accurate and helpful docs.

  5. 5
    Article
    Avatar of halodocHalodoc·2y

    Passwordless Authentication Using Passkey

    Passwordless authentication using passkey offers a secure and cost-effective solution for user access. Passkeys serve as an alternative to passwords and utilize security features in user devices. Passkey authentication mitigates vulnerabilities associated with traditional authentication methods and streamlines user experience.

  6. 6
    Article
    Avatar of halodocHalodoc·2y

    Leveraging Client-Side Image Compression with HTML Canvas

    Learn how client-side image compression with HTML Canvas can improve web performance and user experience. Compressing images on the client side reduces file size, optimizes data transfer, and improves load times. Consider factors like image quality, file size, performance impact, browser compatibility, and user experience when compressing images.