r/GoogleAppsScript • u/IllustriousPut442 • Aug 01 '26
Question How big is the system you created in apps scripts?
I'd like to take a few doubts before I venture to do things that he's not ideal. I will do a brief questionnaire:
How many active users simultaneously have your largest GAS system had?
How many thousands of records did the spreadsheet have? How many tabs?
How do you read the data from the spreadsheet? Do they take everything and work with them in memory or do they do any paging strategies?
Have you ever tried using it as if the spreadsheet was a relational database and the tabs were the tables? Did you find it difficult?
7
Upvotes
3
u/Electronic-Chapter26 Aug 01 '26
To avoid using Google Sheets as a database I made JsonDbApp, a MongoDB syntax compatible DBMS that stores collections on Google Drive. With some creative caching and pre-fetching, performance can be tolerable, and certainly no worse than fetching data from Google Sheets.
Take a look if you're interested:
https://github.com/h-arnold/JsonDbApp
6
u/everythingabili Aug 01 '26
Uses: https://github.com/FCPS-TSSC/GQuery
Needs Services > Google Sheets enabling too
e.g
1
u/Chibrax_3000 Aug 01 '26
Max 20 utilisateurs, environ 15000 rows qui elles même font environ 20 cells.
Mise en mémoire oui bie sûr, les settings dans les props car ca bouge peu, la DB côté client.
La difficulté réside dans la synchronisation et la gestion des promesses, notamment avec Google sheets, car oui, malheureusement j'ai du utiliser google sheets comme DB...avec BigQuery c'est plus simple.
1
u/emejim Aug 01 '26
Number of users on any one workbook is typically 20 or so. Number of tabs is anywhere from 70-130. Number of records is probably 15,000 with the most on a single tab being around 6-7,000. It does relational database stuff all the time. Most of the time when doing large scale changes to the data (typically large data imports), the data is written to an array, updated in the array, and then written back to the sheet. My app script is over 6,000 lines.
1
u/everythingabili Aug 02 '26
Thing is, you can use App script and sheets, or use say Vue, js and SQLite and you have to make your own Auth, admin app, caching, exporting.
Which ever route you take it will be wrong :-)
1
u/deadsilencerotsinme Aug 03 '26
Created an l&d app for my org that runs with Google sheets as backend, nice html and css from for the front end, user based authentication for close 550 employees accessing the system ..
1
u/mrparrth Aug 04 '26
I built an application for a client who serves nearly 1,000 companies to audit how their teams work.
The first version was built entirely in Google Sheets. As the product grew, we migrated it into a web application. Each client company had its own dedicated app, but every app shared the same codebase.
To manage this efficiently, I created a central Apps Script library and had every client app reference the library's Head version. This allowed me to deploy new features and bug fixes by updating the library once, with every client app automatically receiving the latest changes. I also built an internal provisioning tool that could create and configure a new company instance in minutes.
A few implementation details: