Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Significant Response Delays in Applications Deployed with Dokploy #1043

Closed
sinapirani opened this issue Dec 31, 2024 · 4 comments
Closed

Significant Response Delays in Applications Deployed with Dokploy #1043

sinapirani opened this issue Dec 31, 2024 · 4 comments

Comments

@sinapirani
Copy link

To Reproduce

Description:

I'm using Dokploy for deploying my Next.js and NestJS applications. However, I've noticed that all applications deployed with Dokploy, including Dokploy itself, are responding very slowly. The response time for my APIs is experiencing delays ranging from 300ms to 1.4 seconds. This issue seems to be specific to Dokploy, as it does not occur outside of this deployment environment.

Steps to Reproduce:

Deploy a Next.js or NestJS application using Dokploy.
Make API requests to the deployed application.
Observe the response times.
Expected Behavior:

The applications should respond promptly with minimal delay.

Actual Behavior:

There is a significant delay in the response times, ranging from 300ms to 1.4 seconds.

Environment:

Additional Context:

This delay is only observed when using Dokploy for deployment. Other deployment methods do not exhibit this issue.

Current vs. Expected behavior

There is a significant delay in the response times, ranging from 300ms to 1.4 seconds.

Provide environment information

Ubuntu server 22
OVH cloud
Dokploy version: 16.1
Next.js version: 15
NestJS version: 10

Which area(s) are affected? (Select all that apply)

Application, Databases, Traefik, Remote server

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

Maybe, need help

@sinapirani sinapirani added the bug Something isn't working label Dec 31, 2024
@devopg

This comment has been minimized.

@sinapirani
Copy link
Author

sinapirani commented Dec 31, 2024

@sinapirani Have you tested it on Coolify?

No, but i want to test it
Is coolify better than dokploy in speed?
I think there is an issue in Traefic

@Siumauricio
Copy link
Contributor

Please add a minimal reproduce steps, I have multiple projects running this same stack and I haven't had any performance issues

@Siumauricio Siumauricio added awaiting-response and removed bug Something isn't working labels Jan 2, 2025
@Siumauricio
Copy link
Contributor

Since there are no responses, I assume this is more of a latency problem of where your server is and where you are located, if you have a server in china and you live in usa, it is evident that there will be latency and the response can be slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants