Comments (4)
Hey @estevopaz
I like that you suggested the node-id parameter. We could extend this idea even further, outside of the scope of just IP addresses and a set of manual custom identifiers.
Ideally, if we would wish to identify our worker, we would set up an "--id" or a "--name" even (and I would actually go for the latter). And then that name would show up at the job definition on the server. It would also make sense to generate a name for cases, when it was not set and print it out in the console when the worker starts.
One question I do not have an answer to, is whether the name should be persisted after it was once generated, and if so, how to treat cases with multiple workers per single machine and their name persistence.
The IP should also be present and used, but most likely, we need to combine the name and IP into a single object on the server side. And, if possible, to get rid of duplicated keys "creator", "jobCreator", etc.
How do you think, would a structure like this work?
"updatedAt":"2023-05-16T14:00:56.321Z",
"createdAt":"2023-05-16T13:56:11.007Z",
"creator": {"name":"worker1", "host": "::ffff:127.0.0.1"},
"executor": {"name":"worker1", "host": "::ffff:127.0.0.1"},
"startedAt":"2023-05-16T13:56:12.652Z",
"finishedAt":"2023-05-16T14:00:57.220Z",
"renderProgress":97,
"error":null,
"errorAt":null,
Folks, @Thiago-Dantas @mohali-id, it would also be interesting to get your input on this since you both worked on this feature!
Thanks
from nexrender.
That would be a perfect solution, thanks.
About the persistence, IMHO it hasn't a good balance work-profit, but just my opinion.
Thanks Vladyslav.
from nexrender.
Related Issues (20)
- Missing Fonts only with Nexrender-Worker HOT 4
- Hi im having a problem launching postrender actions HOT 1
- Regarding using the google photos base URL as a image or videos src asset in JSON HOT 7
- In some cases, "After Effect" popup is not disappearing after render function throws an error HOT 1
- Sometimes render function hangs up HOT 4
- Illegal argument -r on After Effects 2023 on windows HOT 1
- stop a job when state is rendering job (nexrender-worker-nexrender-server) HOT 2
- How to cancel a rendering job HOT 2
- how write function onRenderError in php HOT 2
- How to add other actions HOT 2
- how handle error HOT 1
- Call error state in jsx file from action (predownload,prerender,or...) HOT 1
- Add support for -renderSettings and -outputSettings overrides. HOT 9
- Unable to generate video : Object of type AVLayer found where a Number, Array, or Property is needed HOT 8
- Progress report doesn't work for Field Renders HOT 3
- aerender-parameter "close SAVE_CHANGES" not working as expected HOT 4
- Move a composition in the timeline/change its duration? HOT 5
- Error setting slider value in a Layer Effect with nexrender in NodeJS HOT 1
- Rendering is very slow HOT 9
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 nexrender.