TOUSEEF JAMAL/TJ
Writing

Notes from the build.

Long-form posts on architecture, performance, and shipping.

16 posts
  1. Node.js
    December 11, 2024

    Story of nginx - using it as a Reverse Proxy, Api Gateway & Rate Limiter

    Discover the power of Nginx as a versatile tool for modern web applications. This article dives into using Nginx as a Reverse Proxy, API Gateway, and Rate Limiter, showcasing how it simplifies routing, load balancing, and API management. Learn to configure Nginx for efficient traffic handling, protect your APIs from abuse with robust rate limiting, and streamline backend operations with real-world examples and best practices. Whether you're scaling Node.js apps or managing multiple APIs, this guide equips you with the knowledge to maximize Nginx's potential.

  2. Node.js
    December 7, 2024

    The Logging Rollercoaster: How My Tiny Node.js Project Turned Into a Monster

    In any production system, logging is your eyes and ears into the App behavior. From tracing API requests and catching database operation failures to monitoring external service responses and tracking business logic errors, a proper logging strategy with tools like Winston helps you understand exactly what is happening in your system.

  3. Node.js
    July 27, 2024

    Video Transcoding Service using node.js

    We will be learning how to convert video into different resolutions and break them into chunks and support adaptive streaming. A video transcoding service primarily converts video files from one format or encoding to another. It includes changing codecs, adjusting bitrate, changing resolutions, or modifying frame rates and so on.

  4. Node.js
    May 26, 2024

    Hosting node.js backend on a custom server using Nginx

    Few days ago, I have to host a node.js backend written in TypeScript on a custom server of my client (no aws & no other hosting provider). I have to setup everything from by myself and it took me almost 2 days to host it properly. I have read many blogs and watched many YouTube videos about nginx, http caching, load balancing, api gateway, reverse proxies, ssl certificate, ssh, port forwarding, url redirection, etc but never have I ever implemented these concepts in a real project.

  5. System Design
    October 23, 2023

    Horizontal vs Vertical Scaling

    Horizontal scaling and vertical scaling are two methods that comes into picture, when there is a need to enhance the performance or capacity of a computer system due to increased demand, larger data volumes, or more complex tasks. Some of the scenarios are increased user traffic, processing large datasets, database management etc.

  6. Clean Code
    August 9, 2023

    Clean Code Guide (2) - The Art of Creating Simple and Clean Functions

    How to write clean code as a professional developer ? The first step is to learn how to give meaningful names. We used to name things a lot, either it is a file name or variable, function, class or package name. Here are some rules for writing meaningful names.

  7. Clean Code
    July 25, 2023

    Clean Code Guide (1) - Effective Way Of Naming Variables, Functions, Classes, etc.

    How to write clean code as a professional developer ? The first step is to learn how to give meaningful names. We used to name things a lot, either it is a file name or variable, function, class or package name. Here are some rules for writing meaningful names.

  8. Node.js
    August 28, 2022

    Node.js: Introduction, V8 Engine & Internal Working

    Node js is an open-source and cross-platform JavaScript runtime environment used for the server-side development of applications.

  9. React
    August 26, 2022

    Why React JS is a Library not Framework

    Let us first understand what is a library and a framework. The Difference between a library and a framework will open the doors for us to understand why React JS is a library, not a framework.

  10. React
    August 26, 2022

    Framework VS Library

    A library is a collection of pre-written codes that can be used to simplify tasks. Whereas, A framework is like a foundation on which developers build applications.

  11. PHP
    August 6, 2022

    Pagination in PHP & MySQL

    To learn how to implement pagination in PHP and MySQL then you can follow the video link below or download the source code from Github or follow the steps given below.

  12. PHP
    August 5, 2022

    AJAX Live search in PHP and MySQL

    To implement ajax live search in PHP and MySQL, you need to follow the steps below or you can follow the video link or download the source code from Github.

  13. SQL
    August 4, 2022

    LIKE operator in SQL

    LIKE operator is used to filter data based on some specific pattern.It is used with the WHERE clause and searches for a particular pattern in a column.

  14. PHP
    August 3, 2022

    Unable to use Gmail with PHPMailer - Less Secure App Access Missing!

    Unable to use Gmail with PHPMailer 2023 as there is no less secure app access option available

  15. PHP
    July 7, 2022

    How to create a shopping cart with admin panel using PHP & MySQL

    How to create a shopping cart with admin panel using PHP & MySQL

  16. PHP
    July 4, 2022

    How to run live PHP code with VS Code Live Server Extension

    To run live PHP code with VS Code Live Server Extension, go to extensions tab in VS Code and search for Live Server