Skip to content

A Dockerized Django app to process a list of IPs asynchronously using Celery workers and Redis pub/sub for Server-Sent Events (SSE) based real-time updates. Integrated Flower for task monitoring, aiohttp for non-blocking requests, and robust IP validation with error handling.

Notifications You must be signed in to change notification settings

Ahmed17Said06/ipinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IP Information Fetcher (ipinfo)

Introduction

The IP Information Fetcher is a Django-based application that handles background tasks, performance considerations, and notifications. The main functionality is to fetch information about a list of IP addresses asynchronously and provide real-time updates to the user.

Features

  • User input for multiple IP addresses.
  • Validation of IP addresses.
  • Fetching information from ipinfo.io.
  • Submitting IPs one by one asynchronously.
  • Real-time updates to the frontend using Server-Sent Events (SSE) with Redis.
  • Error handling and logging.

Requirements

  • Docker
  • Docker Compose

Installation

  • Clone and run the docker-compose file
    git clone <repository_url>
    cd ipinfo/ipinfo_project/
    docker-compose up --build
    

Flow Diagram

HFywRK3sRBUjsNUSUmVtKP

Component Diagram

component drawio

About

A Dockerized Django app to process a list of IPs asynchronously using Celery workers and Redis pub/sub for Server-Sent Events (SSE) based real-time updates. Integrated Flower for task monitoring, aiohttp for non-blocking requests, and robust IP validation with error handling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published