Hosting a Static Website via Appwrite Functions: Performance Concerns?
- 1
- Self Hosted
- Functions
- General
- Web

I'm hosting a small static website (an admin panel with around 3-4 users) on my self-hosted Appwrite server. Instead of creating a separate Docker container for this, I opted to create a Node.js Appwrite function to serve the website, and it works well so far.
However, I'm concerned about potential performance bottlenecks since each request to the website will trigger an Appwrite function execution. I'm also considering the possibility of the user base growing in the future. Will this approach impact server performance very much?

Also, does the Node.js function restart completely with every new execution, or does it persist in memory, allowing files to remain cached for future requests?
I'm wondering if the function resets after each call or if it stays alive long enough to reuse resources like read files, avoiding the overhead of loading them again.

@Raman
Recommended threads
- Request failedPlease check if your crede...
I was trying to moved my archived project to a self-host database . Appwrite said we can view and migrate data but my archived project is rendering "Please che...
- upgrading from 1.4.5 to 1.6.0 broke my s...
I managed to upgrade my self hosted instance from 1.4.5 to 1.6.0 and now when i try to log into the dashboard i get the error in the attached image. Also any ap...
- Is it possible to getRow with all relati...
With the new Opt-In relationship loading, is it possible to query getRow to get all attributes and relationships and possibly even cascading relationships? I tr...
