recalapp / recal

First a COS 333 project, now a very popular tool at Princeton for course selection
http://recal.io
MIT License
12 stars 3 forks source link

Migrate off of New Relic and Memcachier #330

Open panchr opened 6 years ago

panchr commented 6 years ago

For New Relic, we want to find a way to store/index all logs onto something on AWS. For Memcachier, we should find a suitable caching replacement on AWS.

maximz commented 6 years ago

Thanks for digging into this, Rushy.

For what it's worth, I don't think we're actually using Memcache. Take a look at https://github.com/recalapp/recal/blob/master/settings/prod.py#L40 : this defines four separate caches. I did a brief search through the code and couldn't find any places where the memcache cache is used. The other caches are used quite a bit, and they are all backed by django.core.cache.backends.db.DatabaseCache

Memcache may eventually be useful, but I'm not sure we're at the point where django.core.cache.backends.db.DatabaseCache can't handle our use case.

I also think we stopped using New Relic a while back -- @dxue2012 would know better!