-
Notifications
You must be signed in to change notification settings - Fork 19
update(server): Remove Redis, clustering. #113
Conversation
Update to over 500 GDG communities world-wide
…Mongo. upgrade to latest Express and related libraries convert tasks to be triggered directly instead of via Redis+Clustering convert cron to call new tasks remove deprecated express-annotations remove API docs since they depended upon express-annotations convert rate metering to in-memory only since Redis is no longer an option temporarily disable CSRF protection Fixes gdg-x#96 gdg-x#80
@VikramTiwari Would appreciate it if you could take a quick look at this please. |
@Splaktar Thanks for the invitation to project. Edge cache config looks fine. My question is if it's wise to cache everything for 1 hour? I would normally cache images for about a day and no cacheing on API requests. I think this works and we should enhance on top of this moving forward. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Gotta say good work on API. Haven't seen this project in a long time and it felt so much evolved now.
@VikramTiwari The setting in this location affects the API only. We do want to cache API requests to reduce the load on the servers and eliminate the need for running a separate Redis cluster (not cheap). In |
it relied on `express-rate` which hasn't been updated in 5 years and depends on deprecated functions in NodeJS we will use Cloud Endpoints for rate metering instead Closes gdg-x#115
Convert session storage to Mongo.
Enable Google Edge Caching for API.
upgrade to latest Express and related libraries
convert tasks to be triggered directly instead of via Redis+Clustering
convert cron to call new tasks
remove deprecated express-annotations
remove API docs since they depended upon express-annotations
convert rate metering to in-memory only since Redis is no longer an option
temporarily disable CSRF protection
Closes #104.