dsha256 / plfa Goto Github PK
View Code? Open in Web Editor NEWPragmatic Live Feed Aggregator aggregates all available live tables and delivers to web clients on demand in one big batch.
License: MIT License
Pragmatic Live Feed Aggregator aggregates all available live tables and delivers to web clients on demand in one big batch.
License: MIT License
RunAndListenClient: multiple goroutines across multiple runs of RunAndListenClient are reading from the “done” channel, and which one will receive something from that channel – completely random. As a result, in case of a lost connection, some random goroutine will exit and its graceful shutdown functionality will be lost.
To avoid such problems, the code should be simple. It’s hard to figure out how this method works because of multiple goroutines
and channels, thus it’s more error-prone. The easier the code, the harder a bug to find a place to hide. This functionality across all the methods and their goroutines can be done with a single context passed from the main. All the goroutines will read from ctx.Done() in select to shutdown gracefully.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
docker-compose.yml
Dockerfile
golang 1.20-alpine
alpine 3.18
.github/workflows/audit.yml
actions/checkout v3
actions/setup-go v4
ubuntu 20.04
go.mod
go 1.20
github.com/felixge/httpsnoop v1.0.3
github.com/golang/mock v1.6.0
github.com/gorilla/websocket v1.5.0
github.com/julienschmidt/httprouter v1.3.0
github.com/pusher/pusher-http-go/v5 v5.1.1
github.com/spf13/viper v1.15.0
github.com/stretchr/testify v1.8.4
github.com/swaggo/http-swagger/v2 v2.0.1
github.com/swaggo/swag v1.16.1
golang.org/x/time v0.3.0
The env
file is baked into the image. It’s an arguable topic, but here’s my other opinion: such an approach is ok when a configuration file changes the app’s logic, and the config itself is changed rarely. For example PostgreSQL config file. But the feed aggregator’s config is just URLs, IDs, credentials, and other dynamic data, which do not change app logic, and are changed pretty often. With the current approach, we have to build a new image on every change in configuration, which complicates the delivery workflow.
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.