Skip to content

guenchi/Igropyr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Igropyr

image

Overview

Igropyr is a high-performance Async I/O Http Server built with OTP (Open Telecom Platform) architecture, featuring powerful concurrent processing capabilities and fault tolerance.

Architecture

The server implements OTP principles for robust, scalable web services:

  • Actor-based concurrency for isolated, concurrent request handling
  • Supervisor trees for automatic process recovery
  • Message passing for inter-process communication
  • Fault isolation preventing cascading failures

Core Features

⚡ High Concurrency

  • Powerful concurrent processing with async I/O
  • Actor model for efficient task distribution
  • Optimized for handling multiple simultaneous requests

🔄 Let It Crash Philosophy

  • Automatic failure recovery
  • Task redistribution on failures
  • Built-in fault tolerance mechanisms

🔥 Hot Reload

  • Hot-reloadable routes and modules
  • Zero-downtime upgrades
  • Dynamic module replacement

Test

Main dashboard interface providing:

  • Server status display
  • Quick access to all test endpoints

Available Test Endpoints

Basic Features

  • / - Main dashboard with server status
  • /api/info - System status information
  • /api/user/:id - User parameter testing
  • /test/json - JSON response testing
  • /test/redirect - Redirect functionality testing
  • /test/dynamic - Dynamic rendering testing
  • /test/template - Template engine testing

Fault Tolerance Testing

  • /api/crash - 💥 Crash test (tests server recovery)
  • /api/error - ⚠️ Error handling test
  • /api/slow - ⏱️ Slow request simulation (2 seconds)
  • /api/cpu - 🔥 CPU intensive operation test
  • /test/random-crash - 🎲 Random crash simulation
  • /health - ❤️ Health check endpoint

Status

✅ All functions checked and operational

Version

Current version: v1.0 - OTP Architecture