Skip to content

bzick/access-log-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Access Log concept

Trying writes via go-routine (async writing, reopen and more). Unfortunately performance is worse than using locks.

benchmark:

BenchmarkAccessLog-8                      534584              2177 ns/op             744 B/op          3 allocs/op
BenchmarkPlainFileWithLock-8             1000000              1223 ns/op             305 B/op          1 allocs/op
BenchmarkPlainFileWithoutLock-8          1000000              1797 ns/op             222 B/op          1 allocs/op

About

Log access concept

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages