Cache service example. It uses fasthttp as an http server and bigcache as the cache.
External benchmarks are provided.
go run main.go
Server listens on 8080 port.
package main | |
import ( | |
"testing" | |
) | |
var sink1 = 0 | |
func BenchmarkNotDefered(b *testing.B) { | |
for n := 0; n < b.N; n++ { |