Commit Graph

14 Commits

Author SHA1 Message Date
Tyler b0efa7143c Fix serverlist issues
continuous-integration/drone/push Build is failing Details
2019-09-26 00:43:17 -04:00
Tyler adf6a32039 Redis caching 2018-07-01 11:49:24 -04:00
Dhananjay Balan 790acb55da Use pack and unpack from dns library. 2016-02-13 15:25:19 +05:30
Dhananjay Balan 8c4b338257 Add intial memcache support.
FIXME: serialization needs work.
2016-02-12 21:38:48 +05:30
Tamás Gulácsi 6bbefe3f18 Add negative cache
Cache negative results, too, but only with half TTL, as configured.

Plus get rid of "mesg.Id = req.Id" data race (build with -race flag)
at once without locking.

Found another data race: delete must be protected with Lock,
RLock is not enough.
2015-02-13 07:05:12 +01:00
kenshinx 5cc38b6668 #CodeReviewComments# imports standard library in the first group 2015-02-10 17:00:59 +08:00
Murilo Santana 82294d7f01 locks 2013-12-12 10:31:26 -02:00
kenshin 84d878c03d cache add expire strategy 2013-07-25 00:09:07 +08:00
kenshin 01705a5019 remove interface 2013-07-24 22:47:39 +08:00
kenshin f30e0ba257 add redid cache backend in todo list 2013-07-24 22:40:18 +08:00
kenshin 0dfc4bf100 refactor memory cache into map[string]dns.Msg 2013-07-24 19:01:31 +08:00
kenshin 51be27eee9 memory cache with map[string]string 2013-07-24 18:48:43 +08:00
kenshin 57304bf910 Memory cache implemented 2013-07-24 18:29:38 +08:00
kenshin 5349b53416 first commit 2013-07-23 19:10:38 +08:00