Skip to content

Summer Web: The WAS that's slow, hot, and unstable

Notifications You must be signed in to change notification settings

hellomatia/summer-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summer-Web: Bringing Summer to Your CPU! ☀️🔥

While Spring brings a cool breeze, Summer-Web brings a heatwave to your server! Enjoy slow speeds and high CPU usage that turn your server room into a sauna.

Adding the Dependency

Gradle

dependencies {
    implementation 'io.github.hellomatia:summer-web:1.0.0'
}

Maven

<dependency>
    <groupId>io.github.hellomatia</groupId>
    <artifactId>summer-web</artifactId>
    <version>1.0.0</version>
</dependency>

How to Use

  1. Server Setup:
import server.core.Server;

public class Main {
    public static void main(String[] args) throws IOException {
        Server server = new Server(8080, 10, "your.basePackage.");
        server.start();
    }
}
  1. Create a Request Handler:
import server.handler.CustomRequestHandler;
import server.handler.annotation.Handler;
import server.handler.annotation.HttpMethod;
import server.http.HttpRequest;
import server.http.HttpResponse;

@Handler("/")
public class SummerHandler extends CustomRequestHandler {
    @HttpMethod("GET")
    public HttpResponse moveMainPage(HttpRequest request) {
        return ok("Hello Summer!".getBytes())
                .build();
    }
}

Features

  • Guaranteed higher CPU temperatures than Spring-web!
  • Astounding low performance to justify your infrastructure investments!
  • Code execution so slow, you'll have time for a coffee break!

CPU Temperature Comparison Graph

Spring-web VS Summer-web

graph TD
    A[Start] --> B{Framework Choice}
    B -->|Spring-web| C[Normal Temperature]
    B -->|Summer-Web| D[CPU Melting]
    C --> E[38°C]
    D --> F[99°C]
    
    style C fill:#90EE90,stroke:#006400,stroke-width:2px
    style D fill:#FF6347,stroke:#8B0000,stroke-width:2px
Loading

About

Summer Web: The WAS that's slow, hot, and unstable

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages