Skip to content

Am I scaling this wrong? #12

@xJade00

Description

@xJade00

I have a basic application with a few classes, and I tried to benchmark with a simple

    override fun handle(baseRequest: Request, request: HttpServletRequest, response: HttpServletResponse) {
        response.withStatus(200).sendJson(JsonCreator.from(value = TestReturn("Hello, world")))
        baseRequest.done()
    }

I did 10K requests at 100 requests, and it took a long time.
a57de90

Using a localhost, is that the problem? Am I doing the whole scaling thing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions