Skip to content

GoRPS is a fast and lightweight Go tool, powered by the Fiber framework, for testing server performance by simulating high RPS with randomized 404 requests from a predefined path list.

Notifications You must be signed in to change notification settings

harmoniousmoss/gorps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About GoRPS

GoRPS is a lightweight and high-performance tool built in Go using the Fiber framework to test server performance by simulating high RPS (Requests Per Second). This tool generates randomized 404 requests from a predefined list of paths to evaluate a server's ability to handle concurrent traffic effectively.

Features

  • Dynamic Domain Configuration: Easily update the target domain using a .env file.
  • Randomized Requests: Generate and send requests from a list of 1000 unique paths.
  • High Concurrency: Utilizes Go's goroutines to simulate real-world load.
  • Performance Insights: Evaluate server RPS performance and identify bottlenecks.
  • Extensible: Easily modify for additional HTTP methods, headers, or payloads.

How It Works

  1. Load Configuration:

    • The domain is loaded dynamically from the .env file.
  2. Path Generation:

    • A file (urls.txt) contains 1000 unique paths (e.g., /news1.php, /api/endpoint, etc.).
    • Paths are read and randomized for each request.
  3. Concurrency:

    • Requests are sent concurrently using goroutines, simulating real-world high traffic scenarios.
  4. Performance Evaluation:

    • Measures the time taken to complete all requests, helping determine the server's RPS handling capacity.

Example .env File

DOMAIN=https://example.com

Example urls.txt

/news1.php
/blog/random1.php
/api/data?query=test
/page123.html
/products/item99

Terms and Conditions

GoRPS is designed strictly for testing and evaluating the performance of servers that you own or have explicit permission to test. By using this tool, you agree to the following terms:

Authorized Use Only:

You must only use GoRPS on servers you own or have written consent to test. Unauthorized use on third-party servers is strictly prohibited.

No Malicious Intent:

GoRPS must not be used for malicious activities such as Distributed Denial-of-Service (DDoS) attacks or any other actions intended to disrupt, harm, or degrade systems.

Compliance with Laws:

Users must comply with all applicable local, national, and international laws and regulations when using GoRPS.

Liability Disclaimer:

The developers of GoRPS are not responsible for any misuse, illegal activity, or damage caused by the tool. Use it at your own risk.

By using this tool, you acknowledge and agree to these terms. Violations may lead to legal consequences.

About

GoRPS is a fast and lightweight Go tool, powered by the Fiber framework, for testing server performance by simulating high RPS with randomized 404 requests from a predefined path list.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages