Our project comprises of a VueJS app (front-end), NodeJS app (back-end), and a MongoDB database.
At the moment, all 3 are installed and run on a single server and everything works well.
Upon activating Cloudflare, the latency for JavaScript parsing actions increases from the usual 100ms to 3-4 seconds - which isn’t acceptable at all.
I do not have a very mature understanding of Cloudflare Workers yet but is it possible we could run our 2 JavaScript apps (VueJS and NodeJS) on the edge using Workers and only maintain the MongoDB on the server we currently host? Would this reduce the JavaScript parsing latency that I mention above? Is it possible to host the MongoDB within the Cloudflare cloud as well?
Expecting an elaborate explanation from the community here, thanks.