Comments (5)
Yeah VerkWeb
exposes data about the co-located running jobs. We don't store all running jobs inside Redis to share across all VerkWeb
instances because it can be a substantial amount of data. And because they can be short-lived jobs it would be just an unnecessary overhead. At least this was the reasoning behind.
I'm not sure what's the best approach in this case. Maybe we could keep track of "long-running jobs" somehow and every VerkWeb
instance would be able to store and visualise them?
It's also possible (not ideal IMHO) for the user to set up a GenStage consumer that reads data about every job and keeps this info somewhere (your own DB). More here: https://github.com/edgurgel/verk#error-tracking
from verk_web.
I see. Seems like it's not that easy and maybe not even required (most of jobs are short-lived IMO).
Maybe we could mention it in the VerkWeb interface at least, so we avoid confusions. Like add a small warning alert above the "Running" list, that it is the list only for the current instance. WDYT? I can do a PR if u want
from verk_web.
Yeah that would be great!
from verk_web.
Perhaps a list of nodes active in the cluster would be more helpful, including the ability to bounce around inspecting each node.
For example, I may have between 2 to 40 (or more) background processors running across a cluster (auto-scaling).
Being able to use a single verk_web instance to enumerate them and pop in to see what any given node is chewing on would be really cool.
(apologies for the near-necro on this issue, btw)
from verk_web.
Maybe some aggregated stats could be saved inside Redis for all nodes in the cluster, like processed, failed, retries, dead counts. Data would be aggregated every X seconds where X could be configured. The main dashboard page with the graph could then show combined data for all nodes in the cluster with a pull-down menu where you can select individual nodes and see the data only for that node. If you run lots of servers and one of them starts to misbehave it would be very useful to have stats at the node level. Aggregated stats could have a TTL set to them and after a while, they will disappear if a server no longer runs and update them.
from verk_web.
Related Issues (20)
- Busy page should show how many workers are idle
- Authorization requires compile time settings HOT 5
- Publish docker image on docker hub HOT 3
- Need remove GenEvent, Verk.EventManager etc HOT 1
- Add "select all" from the page on Retries
- error in template HOT 2
- Dashboard: Incorrect internal links HOT 4
- Delete all button on retries is not firing request HOT 2
- Support for Phoenix 1.3.0 HOT 3
- Authentication is not working in prod HOT 1
- Add a "Run Job" on Scheduled jobs HOT 3
- Phoenix 1.4 mount issue HOT 2
- Run verk_web on different machine than verk HOT 1
- Cowboy 2 support? HOT 2
- Websockets in umbrella
- Mount verk_web under protected scope instead of basic auth? HOT 3
- Elixir 1.11 requires new phoenix and new pubsub HOT 1
- Deleting a job with job id HOT 2
- Can't start verk web as a server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from verk_web.