Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Best VPS for a hotel booking web app?

nishadroxnishadrox Member
edited 7:23AM in General

Hi,

I have a potential client who is looking to get a hotel booking website/app developed for hotels in South Asia. Visitors can be potentially from anywhere around the world. The functionality is almost similar to booking.com with creating property listings with images, customer/hotels reg, room booking, reviews, email notifications, online payments etc plus some more additional features on top of it.
Tech stack would be React.js with Node backend.
I'm leaning towards SG location.

What would be the best VPS service for a platform like this?

TIA!

Comments

  • forestforest Member

    That'll depend on your software stack and how many visitors you're expecting.

    Thanked by 2nishadrox itzsenu
  • nishadroxnishadrox Member

    Tech stack would be React.js with Node backend.
    I was hoping to start with a lower tier and upgrade as traffic gets higher.

  • itzsenuitzsenu Member

    @nishadrox said: Tech stack would be React.js with Node backend.

    Not just React.js and node. The other dependencies and the way it works also matters

    Thanked by 1nishadrox
  • rpqurpqu Member
    1. How large is the DB?
    2. Are you using CDN?
    3. How much request it has to serve per seconds?
  • nishadroxnishadrox Member

    @rpqu said:
    1. How large is the DB?
    2. Are you using CDN?
    3. How much request it has to serve per seconds?

    1. Not sure atm. Will have to check with dev when or if we get the project started.
    2. Planning on using Cloudflare.
    3. May depend on the visitors I think.
  • cloudblastcloudblast Member, Patron Provider
    Thanked by 1nishadrox
  • rpqurpqu Member

    @nishadrox said:

    @rpqu said:
    1. How large is the DB?
    2. Are you using CDN?
    3. How much request it has to serve per seconds?

    1. Not sure atm. Will have to check with dev when or if we get the project started.
    2. Planning on using Cloudflare.
    3. May depend on the visitors I think.

    1. You should start figure it out. Because this matters when you start to grow at breakneck pace.
    2. That's okay
    3. Similar to 1., you need to know your requirement per node. Then, it's easier to figure out which vendor is suitable based on predetermined spec.

    Thanked by 2nishadrox yoursunny
  • olokeoloke Member, Host Rep

    Hi @nishadrox

    Feel free to check out our Premium VPS plans in Singapore :)

    Thanked by 1nishadrox
  • vsys_hostvsys_host Member, Patron Provider

    We can offer VPS in Singapore, which fits your latency preference for South Asia

    Thanked by 1nishadrox
  • barbarzabarbarza Member

    Suggest that you host an old PC in a hotel for it

    Thanked by 2TrK nishadrox
  • DupondtDupondt Member

    Might be worth checking if Cloudflare Pages would work in your case: https://developers.cloudflare.com/pages/framework-guides/deploy-a-react-site/ IIRC, the free tier goes quite far. From using it for a couple of minor sites with various frameworks, page speeds tend to be phenomenal. If you can't find a way to make the whole app work in Cloudflare Pages, you can put the Node backend/DB somewhere else and the React app on Cloudflare.

    As for a specific server and if you don't mind the extra work, you could create a local VM (e.g. KVM) and set up your app on it. Then throw simulated traffic at it until it tanks. Play around with memory and CPU threads. It's not a perfect simulation, since for example you're missing some networking overheads and the server your VPS is on will (hopefully) have better host hardware. It's quite time consuming to build credible traffic simulations, though.

    It's hard to recommend specs since it depends on your app. If it's poorly optimized or just needs to be very complicated, and/or if traffic is high or low, base specs could be anywhere from 4 to 16 GB memory and 2-4 vCPUs, and however much storage you need. You might be able to get away with less than 4 GB RAM and with 1 vCPU, of course. Or you might need much more.

    All that said, a VPS with 4 GB memory, 2 or more vCPUs, and located in Singapore is probably fine to begin with. Migrating isn't too painful if you account for it from the start. Leaseweb VPS-1 or VPS-2 in Singapore are both pretty good value.

    Thanked by 1nishadrox
  • TrKTrK Veteran

    @barbarza said:
    Suggest that you host an old PC in a hotel for it

    this, hotel booking data is grey area and the hotel owners should not trust anyone for this. Get old SFF PC(they sure pack a punch) 8th gen or above, upgrade the ram and storage however you see fit, setup cloudflare tunnel or frp with hosts who provide decent DDoS protection, only expose the service that needs to be exposed, you can also setup proxmox and distribute the db, frontend, api, storage to different virtual environments, setup proper encryption and ofcourse daily backups to an offsite location for easy recovery. create a cluster upgrade however you want, and get near instant access from the local network(which is almost 80% of the total usage for hotel booking system).

    Thanked by 1yoursunny
  • jsgjsg Member, Resident Benchmarker

    Come back and ask again once you actually know more (e.g. which DB?) and have at least ballpark data/numbers plus customer preferences.

    Thanked by 3itzsenu TrK nishadrox
  • itzsenuitzsenu Member

    @jsg said: Come back and ask again once you actually know more (e.g. which DB?) and have at least ballpark data/numbers plus customer preferences.

    on top of that, where are you storing the images? and is it all one react app or separate frontend backend? if it's separate, put the backend behind a proxy and encrypt the backend traffic. then use a ddos-protected vps like @gatewaysentryllc for the frontend.

    for the backend, we cant say much until you explain how it's built. for the customer base, dont guess create a load tester, run it locally, and analyze the results.

    • also, what kind of db are you using?
    • is there image processing? if you're storing user images, that's gonna flood the storage.
    • pdf generation?
    • any live updates?
    • etc

    even though you said it's all optimized, everything depends on the actual optimization. so you're the one who needs to explain what you want to run.

    and if youre building a platform like this, you need a backup solution. cuz it's worldwide and involves payments. otherwise,

Sign In or Register to comment.