Skip to content

Instantly share code, notes, and snippets.

@antani
antani / 0_reuse_code.js
Created July 17, 2017 18:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@antani
antani / stocks
Created July 17, 2017 18:05
Stocks
'ACC',
'ADANIENT',
'ADANIPORTS',
'ADANIPOWER',
'ABIRLANUVO',
'AJANTPHARM',
'ALBK',
'AMARAJABAT',
'AMBUJACEM',
'ANDHRABANK',
upstream cheapr{
server 127.0.0.1:3000;
server 127.0.0.1:3000;
}
server
{
root /root/cheapr/public;
server_name cheapr.me cheapr.in;
location / {
proxy_set_header X-Real-IP $remote_addr;

#Samsiksha 17-Feb-21

OpenEdx API performance - what are the caches built around OpenEDX Can we cache most frequent queries - getEnrolment(), getCourseMeta()

Most important optimizations -

- CDN
- API Gateway
- Middle-tier cache