Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back-end #21

Open
MeaDolphi opened this issue Dec 6, 2022 · 2 comments
Open

Back-end #21

MeaDolphi opened this issue Dec 6, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@MeaDolphi
Copy link

Hello. Do you have plans to implement JS back-end not only through CloudFlare? For me personally, and I think for many users of your library, it would be much more convenient to host these files on the same VDS.

@brandonsturgeon
Copy link
Member

Great question!

I'll take a look at how difficult it would be to make a Nodejs server (or something) with functional parity to the CloudFlare backend. I'll report back with my findings.

Do note, of course, that self-hosting means you won't benefit from CloudFlare's distributed systems, meaning clients will likely take a hit to latency when retrieving data.
However, I'm sure that if most of your players are regional (as they often are), this would be a very fair trade given the near-0 latency from the serverside 👍

@brandonsturgeon brandonsturgeon added enhancement New feature or request question Further information is requested labels Dec 6, 2022
@brandonsturgeon brandonsturgeon self-assigned this Dec 6, 2022
@brandonsturgeon
Copy link
Member

brandonsturgeon commented Dec 7, 2022

Alright, after wrestling with it for a full day, I got something working!
I set up a new Docker Compose stack to run everything - is that a good solution for you?

If so, here are the new Self Hosting docs

If not, what kind of setup would work better for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants