leighmacdonald / mika Goto Github PK
View Code? Open in Web Editor NEWModern bittorrent tracker designed for private site use with multiple storage backends
License: MIT License
Modern bittorrent tracker designed for private site use with multiple storage backends
License: MIT License
Hi,
Whenever i wanna serve i get this error about the config not found. I put the mika.yaml on every location but it seems it never can be found.
Could not load & parse config: invalid configuration: Config File "mika.yaml" Not Found in "[/root /root/go/bin /root/go]"
If i try without a config and just put the config next to the binary i get Failed to setup torrent store: invalid driver
It would be good to investigate using alternatives to gin/httprouter. While fasthttp sounds great, httprouter is zero-allocation, so i am not sure how much of a benefit we will see without benching.
We don't really care that much about the extra "framework" type features that gin provides, /announce performance trumps usability over the other parts of the HTTP stack for our use case.
github.com/valyala/fasthttp
github.com/valyala/fasthttp/reuseport
This needs to be qualified with benchmarks before getting merged.
[ERROR] Error scanning github.com/Sirupsen/logrus/hooks/sentry: open /home/josh/.glide/cache/src/https-github.com-Sirupsen-logrus/hooks/sentry: no such file or directory
[ERROR] This error means the referenced package was not found.
[ERROR] Missing file or directory errors usually occur when multiple packages
[ERROR] share a common dependency and the first reference encountered by the scanner
[ERROR] sets the version to one that does not contain a subpackage needed required
[ERROR] by another package that uses the shared dependency. Try setting a
[ERROR] version in your glide.yaml that works for all packages that share this
[ERROR] dependency.
The http.query functions "borrowed" from chihaya could be replaced with something cleaner for our needs. Since we are not necessarily trying to 100% conform to all of the bittorrent specs we can take some shortcuts that otherwise would not make sense for a public tracker.
It needs to be faster of course or there is no reason to change. Merges need to be supported by benchmarks for these critical hot code paths.
I get the following error after successful compilation, and with a blank SentryDSN. Any idea what would cause it?
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x48c94d]
goroutine 1 [running]:
panic(0x9b04a0, 0xc82000e0d0)
/usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/leighmacdonald/mika.SetupSentry()
/home/e/go/mika/src/github.com/leighmacdonald/mika/mika.go:56 +0x30d
main.main()
/home/e/go/mika/cmd/mika/mika.go:134 +0x909
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.