Commit Graph

12 Commits

Author SHA1 Message Date
Kevin Peters eacb7c3f06 cloud_functions: Added LOAD_CACHE env variable
Can be set to false to effectively rebuild cache files.
2022-07-20 16:09:11 -04:00
Kevin Peters bc4ce9cb86 cloud_functions: don't add today's totals to warm cache
Don't add today's totals to the warm cache, otherwise incomplete totals may
exist for today's date in the cache tomorrow. Only adding the totals to the
warm cache for yesterday or older fixes this.
2022-05-13 19:53:18 -04:00
kev1n-peters 3023b4a375
cloud_functions: totals cache should be overwritten for skipDates (#1147) 2022-05-03 15:40:56 -05:00
justinschuldt a89350745e Explorer functions - use GSC for cache documents
commit-id:08e1c0c3
2022-03-02 13:18:16 -06:00
justinschuldt fa1252ace4 BigTable: flat file cache + cumulative endpoints
Change-Id: If7e631b33866f077c60e0d397b02bfca7e91b05d

commit-id:89bb033e
2021-12-20 16:56:56 +01:00
justinschuldt 6583771813 BigTable: misc code cleanup and log improvements
Change-Id: Ibd601c358fbee3ed0a1a74673158cb861b631660

commit-id:533a8b35
2021-12-20 16:56:56 +01:00
justinschuldt c4bced0e52 BigTable: query optimizations and return payloads
Change-Id: If3a3c9a207518a26fbb8d924b5b9a9053c62c3a7

commit-id:00c2b83a
2021-12-20 16:56:56 +01:00
justinschuldt ab0b668743 BigTable: /totals endpoint bugfix and optimize
Change-Id: I539bb8d6bfea7749bb3cc7a292f97936d4bb268a

commit-id:ed27ed74
2021-12-20 16:56:56 +01:00
justinschuldt fb7e2c1cca BigTable: in-memory cache for /totals endpoint
Change-Id: I48199951b42ab8d57bb12fef6b6b1e0da9f3392f

commit-id:13588560
2021-12-20 16:56:56 +01:00
justinschuldt 82b4ed5843 async queries for /totals function
Change-Id: If9f1267fc713e547657fbd60e7390ed59f5b9d03
2021-10-29 20:56:13 +00:00
justinschuldt 6fb8cdfd01 global bigtable connection for functions
Change-Id: Ib61bd2e9f4a19e1f8405491c572ef6b36c54142e
2021-10-29 20:18:33 +00:00
justinschuldt 71dbe80aae BigTable historical queries
- Add Cloud Functions:
  - "Recent" gap list, can filter and/or group by chain or address.
  - "Totals" counts 24h, 30d, rolling daily. can filter and group.
  - "Transaction" lookup row by chain-native transaction identifier.

- Pad sequence in rowkey to fixed length, for sequential row order.

- Add Cloud Function deploy instructions.

- Fix #410 Buildpack image cleanup

Change-Id: Ifa3110a3d58e2f94adb48ccb451c27ab3add0611
2021-10-13 16:20:10 +00:00