Globasa-Team / globasa-pages

Content of `pages` for Globasa.net
0 stars 2 forks source link

Switch to a more performant hoster #3

Open arjpar opened 2 months ago

arjpar commented 2 months ago

Hi, I noticed that the page response/load time for Globasa.net (and relevant subdomains) is quite slow. I was wondering if you all would be open to switching to a better hoster?

--

I have a few ideas that would greatly improve the performance & security of the entire suite of sites (globasa, learn, dictionary, etc). But I would need to have an understanding of the general architecture of the site first.

arjpar commented 2 months ago

Hi @ShawnPConroy I'd like to add my thoughts here as Github is a more permanent record of information rather than a service like Discord.

Essentially I would propose to use a microservices serverless-based architecture. A fast static site engine like Zola could be used for the main site (root domain), learn (xwexi), readings (doxo). The learn & readings site could use mdbook as an SSG. The main, learn, & readings can be served through a CDN like Vercel, Netlify, etc. The dictionary API & backend could be written in Gleam, the caching layer could be done in DragonflyDB - it could be hosted on a serverless platform like AWS Lambda. If you all design & implement the system properly it could be able to handle millions of requests. If you have any questions or points of clarification I would be more than happy to answer them here (on GitHub).