Back

[SOLVED] General inquiry about Appwrite

  • 0
  • Web
pandas
28 Dec, 2023, 12:59

hi all!

appwrite sounds amazing, have few questions around how to properly use it

appwrite handles auth, databases, functions and storage

but appwrite doesn't handle hosting?

so if frontend app is built upon appwrite, we almost completely eliminate need for backend? if there is a more complex function required that cannot be done on frontend, we can use functions?

what if frontend app is hosted on digitalocean or railway app, what is the latency? server location? bandwidth with constant talking between appwrite and frontend app since they are not on same internal network?

and how would we handle tasks that need to be executed some time in the future?

appwrite has sdk to talk to databases so we cannot use orms like drizzleorm or sqlachemy?

self hosted would be a solution for latency and bandwidth but seems quite complex for smaller projects if its self hosted on DigitalOcean what cost can we expect since all we wanna do is reduce latency and bandwidth

last things can appwrite handle different user permissions, rate limiting etc or do we implement this inside code?

thanks!

TL;DR
The user wants to know some details about using Appwrite, a platform that handles authentication, databases, functions, and storage. Their questions include: 1. Does Appwrite handle hosting? 2. Can Appwrite eliminate the need for a backend if the frontend is built on it? 3. What is the latency and server location if the frontend is hosted on platforms like DigitalOcean or Railway app? 4. How can tasks that need to be executed in the future be handled? 5. Can Appwrite be used with ORMs like Drizzleorm or SQLAlchemy? 6. What are the costs of self-hosting on
D5
28 Dec, 2023, 13:17
  1. You need to host the frontend on vercel, netlify, Cloudflare pages, etc. All the backend = Appwrite. That means the user can interact directly with appwrite without going through the server where the frontend is hosted (you don't need Server Side Rendering except if you need SEO)
  2. Yes, Appwrite will be your backend, technically the backed still exists, but it's Appwrite. You can use Appwrite functions for all things you don't want to be run in frontend and manipulated by users
  3. The server location is Frankfurt, but there will be support for more regions in the future. There should not be any issue if frontend is hosted on DigitalOcean. The latency will be from the Appwrite server to user so it doesn't matter at all the frontend server location in backend processes. As said, the user can interact directly with appwrite without going through your frontend server.
  4. You can schedule functions to be executed every X hours, days or minutes
  5. On self-hosted you can connect to the database appwrite is using and do whether you want, however I think appwrite SDK will be enough for most cases so you will not need anything, but you can still use it if it's compatible with MariaDB. In cloud, you can't connect directly to the DB.
  6. In the case of self-hosting the cost will depend on the amount of resources you need, obviously it will depend on the traffic and complexity your app has. You will not reduce latency if hosting on DO or bandwidth
  7. Appwrite itself with the SDK will handle sessions and the backend has rate limits
D5
28 Dec, 2023, 13:19

Respect your concerns regarding latency and bandwidth, as said, it depends if you will use or not SSR. If you don't need SEO or something specific, I would choose using the SDK and performing everything client side since it will be a lot easier and give you less issues.

In client side rendering, what will have less latency is having the frontend server close to your users and done

pandas
28 Dec, 2023, 14:32

awesome! thanks pretty much addressing everything i had questions about

pandas
28 Dec, 2023, 14:32

much appreciated

D5
28 Dec, 2023, 14:35

Tell me if you have any other doubts regarding this or you didn't understand something so I can explain it further 😄

D5
28 Dec, 2023, 14:36

In the case everything is clear, can I mark this as solved?

pandas
28 Dec, 2023, 15:14

yes please:) thank you

pandas
28 Dec, 2023, 15:14

thank you for fast answer as well

D5
28 Dec, 2023, 15:15

[SOLVED] General inquiry about Appwrite

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more