spok
It's a build system Jim, but not as we know it 🖖 (by FollowTheProcess)
provisioning-backend
Microservice providing API to provisioning capabilities (by RHEnVision)
spok | provisioning-backend | |
---|---|---|
1 | 12 | |
4 | 13 | |
- | - | |
7.8 | 9.2 | |
16 days ago | 6 days ago | |
Go | Go | |
Apache License 2.0 | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spok
Posts with mentions or reviews of spok.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-02.
-
Is your makefile supposed to be a justfile?
Shameless plug for a tool I wrote: Spok
provisioning-backend
Posts with mentions or reviews of provisioning-backend.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-18.
-
[Question] How do you guys separate your tooling for different version
I wrote a makefile which installs tools into PROJDIR/bin which is also in the gitignore.
-
Instrument a third party package
Extremely simple in go, you just implement what is called Doer interface (one method). Here is an example from one of my projects, it is a simple decorator with logger in this case. Then you just initialize the client with this instance, in my project it is slightly more complex because I also setup OpenTelemetry but you get the idea.
-
Can you really build a complete restful service without any frameworks?
Authentication and authorization is typically just a middleware which is essentially a function. Recently I implemented a RBAC functionality into our microservice which does not use any big framework. On our platform we have a RBAC service we need to call via REST. As you can see the whole patch is small if you exclude the generated OpenAPI client.
- In-memory key value store
-
Repository with sqlc, how to hide transactions?
We use DAO/DAL in our app and I ran into the same problem - DAO does not work well with transactions. We have our own WithTransaction function which is currently only used within one model and that works fine. But the problem appears when we want to do a transaction across several models - that needs to be done in the business (service) layer.
-
Is your makefile supposed to be a justfile?
Our project does have extensive makefile broken down into individual files so it is more readable. As you can see, we have targets for database, code quality, modules, testing, client generation, OpenAPI etc. It also has a trivial help:
-
Any references for open source mini workflow libraries or systems written in Go?
Here is our code: https://github.com/RHEnVision/provisioning-backend/tree/main/pkg/worker
- Want to know if this is a valid approach
- Cache headers when serving embedded files
-
When to use a queue library or straight redis?
Our solution is simply one Redis queue, jobs have "type" (string) and are marshalled via Gob (for type safety) and there is no return value from job or error. This makes things extremely easy. We keep statistics (metrics) of job queue size and "in flight" jobs. Here is our implementation, just for inspiration. I suggest to write this on your own: https://github.com/RHEnVision/provisioning-backend/tree/main/pkg/worker
What are some alternatives?
When comparing spok and provisioning-backend you can also consider the following projects:
gotestsum - 'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.
goyek - Task automation Go library
weaver - Programming framework for writing and deploying cloud applications.
mage - a Make/rake-like dev tool using Go
earthly - Super simple build framework with fast, repeatable builds and an instantly familiar syntax – like Dockerfile and Makefile had a baby.
dejq - Very Simple Job Queue
Task - A task runner / simpler Make alternative written in Go