stellentus / go-plc Goto Github PK
View Code? Open in Web Editor NEWA project for testing communication with a PLC.
License: Other
A project for testing communication with a PLC.
License: Other
In the #29 branch, the Prioritizer will essentially blast the downstream Reader with ready-to-run operations. Pooled job, of course, is to bound concurrency, but a consequence of this is we will have a bunch of goroutines essentially queuing behind Pooled.
One way to solve this is for the Prioritizer to have a bounded concurrency level like async
. That'll at least prevent an unbounded number of goroutines queuing behind the Pooled but it's not immediately obvious what the concurrency level in Prioritizer should be set to; additionally, since the go scheduler is not aware of priority levels AFAIK it could wake up any thread blocking on Pooled, leading to priority inversion.
It might be nice for Pooled to expose an EAGAIN
or EWOULDBLOCK
error as a backpressure mechanism. This means the Prioritizer can attempt a backoff.
By all accounts we have enough headroom given the number of priority-zero tasks that I don't expect that this will become an issue, but I'm putting this down just in case it becomes an issue and we need ideas.
It would be nice to be able to distinguish between errors writing to the PLC and errors in the provided tag/value. Then users know whether the error was in their request, or in the network.
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.