codingteam / Gestalt

GitHub statistics fetcher
MIT License
2 stars 0 forks source link

Implement `cache` module #15

Closed Minoru closed 8 years ago

Minoru commented 9 years ago

With records stabilized, it's now possible to write the implementation of cache module. The task is suitable for novice Erlangers — one only needs to devise a record for cache state, then implement getters and setters.

The task can also be of interest for a mature Erlangers. We expect high read rate and low write rate, so one can take this as an exercise in using ETS, Mnesia or whatever (I don't really know anything but keywords).

Minoru commented 8 years ago

Since opening this issue, I learned more about ETS and found that we don't need a separate module to handle the cache.