Coder Social home page Coder Social logo

Comments (1)

zinderic avatar zinderic commented on June 25, 2024

I've just tested running the cli from the code base:

➜  micro git:(master) go run ./cmd/micro/main.go server
2023-08-18 13:54:40  file=user/user.go:99 level=info Setting up keys for JWT at /Users/kstaykov/.micro/id_rsa and /Users/kstaykov/.micro/id_rsa.pub
2023-08-18 13:54:42  file=server/server.go:74 level=info Starting server
2023-08-18 13:54:42  file=server/server.go:129 level=info Registering registry
2023-08-18 13:54:42  file=server/server.go:129 level=info Registering broker
2023-08-18 13:54:42  file=server/server.go:129 level=info Registering network
2023-08-18 13:54:42  file=server/server.go:129 level=info Registering runtime
2023-08-18 13:54:42  file=server/server.go:129 level=info Registering config
2023-08-18 13:54:42  file=server/server.go:129 level=info Registering store
2023-08-18 13:54:42  file=server/server.go:129 level=info Registering events
2023-08-18 13:54:42  file=server/server.go:129 level=info Registering auth
2023-08-18 13:54:42  file=server/server.go:139 level=info Starting runtime
2023-08-18 13:54:42  file=http/http.go:93 level=info HTTP Server Listening on [::]:8080
2023-08-18 13:54:42  file=grpc/grpc.go:992 level=info Server [grpc] Listening on [::]:8081

It works fine so the problem is likely the variables we set in the build. But CGO has other implications and it might work just because I have the sqlite3 installed and the library available.

Maybe switching to non-cgo library is appropriate here? --> modernc.org/sqlite

The tradeoff is performance, see benchmarks here: https://github.com/multiprocessio/sqlite-cgo-no-cgo

from micro.

Related Issues (20)

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.