GithubHelp home page GithubHelp logo

I have hosted the backend on Render , but due to inactivity the website has a delay , any solutions to this ?? about foodiesweb HOT 6 CLOSED

vanshking30 avatar vanshking30 commented on September 4, 2024
I have hosted the backend on Render , but due to inactivity the website has a delay , any solutions to this ??

from foodiesweb.

Comments (6)

Vanshika-73 avatar Vanshika-73 commented on September 4, 2024

you can host it on vercel. I have my fullstack projects hosted on the same. And I have faced no such issue yet.
Please Assign me this task. I will write a vercel script for the same.

from foodiesweb.

TejasNasre avatar TejasNasre commented on September 4, 2024

yeah i have many website that i hosted on render including backend but the render as sleep time after 30 - 60 min of inactive so the application get roll off and takes 60 - 120 seconds to roll on. So don't deploy backend on render use vercel.vercel is best for backend deployment both backend and frontend.So Vercel is best.

from foodiesweb.

powerstone666 avatar powerstone666 commented on September 4, 2024

or you can create an automated script that not only hits your current but all of your repositories API after a certain amount decided by you.

from foodiesweb.

TejasNasre avatar TejasNasre commented on September 4, 2024

I think writing script for Vercel is great but if you deploy the backend on Vercel the deployment get automatically when the main branch /server get update no need to write script it's easy.correct me if I am wrong.

from foodiesweb.

SumitKumar-17 avatar SumitKumar-17 commented on September 4, 2024

You could host the backend on vercel ,and complete it by creating a vercel.json file then it gets automatically deployed as soon as you update your hosted dev branch.

from foodiesweb.

Tushtiadlakha avatar Tushtiadlakha commented on September 4, 2024

assign this issue to me under gssoc'24 @Tushtiadlakha . I have faced the same issue, i can fix it on render itself. We can use something like uptime bot.

from foodiesweb.

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.