aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2025-04-27 22:36:45 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2025-04-27 22:36:45 -0600
commitba700c31fceb4554ccbb3181f0e5747fcf5c3259 (patch)
treefb2a3f156bc4cbbb04af1374b3ef52fded5f2078 /README.md
parent7d5cf0adc6e600e976e8633a91f01b4673c8584d (diff)
add design decisions
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 4 insertions, 6 deletions
diff --git a/README.md b/README.md
index 4921d35..c20958a 100644
--- a/README.md
+++ b/README.md
@@ -10,16 +10,14 @@ There is no real-authentication implemented. There is a dummy user in the databa
In production, rather than specifying the user ID as part of the bid, the backend should authenticate the user and associate the bid with the authenticated user's ID.
-### Caching
-
-In production, rather than calling the gridstatus API to get the market data, the backend should cache the data locally and update it periodically.
-
-Also, rather than using the simple in-memory cache, the backend should use a more robust caching mechanism such as Redis or Memcached.
-
### Bid Management
Currently there is a cron job running every hour to check the bids in the database and then process them. In this process the market data is fetched in real-time from the gridstatus API. Ideally, the database is updated with the latest market data before processing the bids. That way the cron job can simply process the bids.
+### Timezones
+
+Everything is handled as UTC + Offset. Submit bid page shows the current time in the user's timezone as well as the timezone for the market. Everything else is displayed in UTC for now.
+
## Project Structure
```