Coder Social home page Coder Social logo

Comments (5)

Mr1Blaze avatar Mr1Blaze commented on July 18, 2024 1

In my case is working faster than my local PC. I'm thinking that problem can't be with dokploy because all my team works with dokploy now in most of cases is fastest. Which VPS are you using ?

from dokploy.

Siumauricio avatar Siumauricio commented on July 18, 2024 1

It may be due to several reasons but one may be:

  1. It depends on how far you are from the server, if you are very far away the response will take longer to arrive, if it is a server that is close to you it will go faster.
  2. I don't know the specs of your vps, if you don't have enough resources or it is not optimized, the response could be slow.

In my case I have running multiple websites, databases, server side application and the response is almost identical to any cloud provider like netlify, heroku, digital ocean and so on.

Check the image (RUNNING WITHOUT CACHE), i have this application which is a landing page and a web app(dashboard) is a nextjs app which i have 3 for different enviroments and the time of response is almost identical + 3 databases + 3 nestjs(nodejs) applications in a single server

But surely this problem is caused by the reasons I mentioned above.

image

from dokploy.

cunpingtai avatar cunpingtai commented on July 18, 2024

image
622ms
image
1.78s

The server response time has slowed down significantly, and I'm sure it's not an issue with my application service because my application queries only a few records, and I've debugged to confirm that the server response is not slow. Accessing the service without going through Dokploy is very fast. However, I'm not sure how to troubleshoot the issue through Dokploy.

from dokploy.

cunpingtai avatar cunpingtai commented on July 18, 2024

image
I created an empty project, used http-server to create a service, and used dokploy for build and deployment. I didn't bind a domain name, configured the port, and accessed it using the IP address. However, the server response time is quite long.

image
Even a 668B static file takes 600ms to load.

Causing all application requests to take at least 400 to 500 ms to respond.

image
This is accessed directly via IP and port, without going through domain name resolution.

from dokploy.

cunpingtai avatar cunpingtai commented on July 18, 2024

It may be due to several reasons but one may be:

  1. It depends on how far you are from the server, if you are very far away the response will take longer to arrive, if it is a server that is close to you it will go faster.
  2. I don't know the specs of your vps, if you don't have enough resources or it is not optimized, the response could be slow.

In my case I have running multiple websites, databases, server side application and the response is almost identical to any cloud provider like netlify, heroku, digital ocean and so on.

Check the image (RUNNING WITHOUT CACHE), i have this application which is a landing page and a web app(dashboard) is a nextjs app which i have 3 for different enviroments and the time of response is almost identical + 3 databases + 3 nestjs(nodejs) applications in a single server

But surely this problem is caused by the reasons I mentioned above.

image

Okay, thanks for the reply.
I tried using two simple services, one is a proxy service through dokploy, and the other is a direct access service.

It is probably caused by unstable network conditions.

The VPS I am using is AWS's EC2.

from dokploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.