Code Monkey home page Code Monkey logo

mika's People

Contributors

leighmacdonald avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mika's Issues

Could not load & parse config: invalid configuration: Config File "mika.yaml" Not Found in "[/root /root/go/bin /root/go]"

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

Investigate fasthttp+resuseport performance

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.

Errors when trying to install deps via glide

[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.

Replace http.query with faster & cleaner solution

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.

panic after successful compilation

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.