這篇用來記錄工作之後開始使用的一些 django packages 跟一些常用的小技巧,雖然說是小技巧,但其實都有寫在 django document 上,當發現使用 django 有疑慮時,直接去翻 django documuent 也是一個作法。
- django-storage
- django-dbbackup
- django-reset-migrations
- django-crontab
- django-celery
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
In your command-line run the following commands:
brew doctorbrew update