Skip to content

API makes too many calls to Firebase #23

@uragirii

Description

@uragirii

The current API makes around 4-5 different calls to firebase per user. One for authentication, one for attendance, one for the timetable (we may only require this once), one for marks, and one for Moodle.

Firebase Free Plan allows around 20K writes/day. Considering a single user refreshes app about 3 times a day. A single user makes 12 requests per day. So, we can support a max of 1,666 users. This is an ideal case scenario and even then the number of users is limited to ~1700.

If we reduce the number of refreshes we can support a lot more users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions