Lastest Wiki


  1. Rate Limiter in Golang

    **Rate limiting** in Go refers to the practice of **controlling the rate at which certain actions or requests can be made** over a given period of time. It is commonly used in networking, APIs, and services to ensure that resources are not overwhelmed by too many requests within a short time frame.

    2025/02/05 golang

  2. pointers in Golang

    Pointer is a variable that stores the **memory address** of another variable, rather than the value itself. Pointers allow you to **reference** and **manipulate** variables indirectly, making them a powerful tool in Go programming.

    2025/02/05 golang

  3. context in Golang

    In Go, the context package provides a way to control and manage the lifetime, deadlines, timeouts, and cancellation of goroutines, making it essential for handling long-running operations and request-scoped data.

    2025/02/05 golang

  4. Kafka Consumer Groups

    Consumer Groups, which is a key concept in Kafka for managing how messages are consumed from topics.

    2025/02/04 golang kafka

  5. Understanding Apache Kafka Core Concepts

    Apache Kafka is a distributed streaming platform that is widely used for building real-time data pipelines and streaming applications. It is designed to handle high throughput, fault tolerance, and scalability. In this article, we will explore the core concepts of Kafka, along with some advanced topics, and provide examples in Golang to help you understand how to work with Kafka.

    2025/01/25 golang kafka optimization

  6. Extending Laravel Eloquent with Custom Relations: A Complete Guide

    Laravel's Eloquent ORM is powerful, offering various relationship types (hasOne, belongsTo, etc.). However, sometimes your data isn't stored in a database, such as when you're dealing with APIs, static arrays, or non-traditional data sources. In these cases, you can extend Eloquent with custom relations.

    2024/11/24 php laravel eloquent extend

  7. Optimizing Go deployment using Docker with scratch

    Using the scratch image in Docker is a great way to create a super minimal image for your Go applications. The scratch image is an empty base image, meaning it contains absolutely nothing, not even basic utilities like bash. It’s ideal for Go applications that are statically compiled and don’t require any external dependencies.

    2024/10/21 go docker multi-stage scratch

  8. Go Applications using Docker with Multi-Stage Builds

    Multi-stage builds allow Docker to create optimized images by separating different phases of the build process into multiple steps (or stages). This method reduces the size of the final image and improves security by only including the necessary runtime components.

    2024/09/15 go docker multi-stage

  9. FrankenPHP: A modern app server for PHP, written in Go

    FrankenPHP is a modern application server for PHP apps, built on top of the Caddy web server. It has features such as worker mode, real-time capabilities, automatic HTTPS, HTTP/2, and HTTP/3 support.

    2023/12/08 php FrankenPHP

  10. PHP 8.3 typed class constants, a json_validate function, override attribute and more

    The PHP team has released PHP 8.3 today with typed class constants, a json_validate() function, dynamically fetching a class constant, and more

    2023/11/24 php