项目作者: iomz

项目描述 :
An RFID middleware to replace Fosstrak F&C.
高级语言: Go
项目地址: git://github.com/iomz/gosstrak.git
创建时间: 2017-12-05T14:36:05Z
项目社区:https://github.com/iomz/gosstrak

开源协议:MIT License

下载


gosstrak-fc

Test
Go Report Card
codecov
GoDoc
License

Stat Monitoring

gosstrak collects statistical metrics and write them to InfluxDB for visualization in Grafana.
For quick start, use the docker-compose file and initialize the InfluxDB.

  1. % sudo docker-compose up -d
  2. % influx
  3. >CREATE USER gosstrak WITH PASSWORD '<password>' WITH ALL PRIVILEGES
  4. >CREATE DATABASE gosstrak
  5. >exit

Then, run gosstrak-fc with --enableStat flag.

TDT Benchmark

  1. BenchmarkTranslate100Tags-32 10000 283151 ns/op 34096 B/op 1321 allocs/op
  2. BenchmarkTranslate200Tags-32 5000 548079 ns/op 68752 B/op 2662 allocs/op
  3. BenchmarkTranslate300Tags-32 3000 832507 ns/op 102801 B/op 3978 allocs/op
  4. BenchmarkTranslate400Tags-32 2000 1151762 ns/op 137600 B/op 5341 allocs/op
  5. BenchmarkTranslate500Tags-32 2000 1435293 ns/op 171312 B/op 6589 allocs/op
  6. BenchmarkTranslate600Tags-32 2000 1769288 ns/op 204112 B/op 7906 allocs/op
  7. BenchmarkTranslate700Tags-32 2000 2039621 ns/op 240305 B/op 9276 allocs/op
  8. BenchmarkTranslate800Tags-32 1000 2256183 ns/op 274352 B/op 10614 allocs/op
  9. BenchmarkTranslate900Tags-32 1000 2599413 ns/op 307761 B/op 11898 allocs/op
  10. BenchmarkTranslate1000Tags-32 1000 2938569 ns/op 342385 B/op 13247 allocs/op

Author

Iori Mizutani (iomz)

License

See LICENSE file.