Comments (5)
from digdag.
it sounds good idea to use a structured log format. what we need to take care is:
- BufferedRemoteTaskLogger needs to use a regular ReentrantLock or synchronized-block instead of ReentrantReadWriteLock.
- timestamp should include at least milliseconds. Preferably, microseconds. I think it's ok to use this proposal: msgpack/msgpack#209
- MessagePack weakly distinguishes strings from binary. I think "message" field should use string if stream is LOG, and binary if stream is OUT or ERR.
from digdag.
About REST API, from past experiences, users (and Hadoop!) occasionally produce large amount of logs (GBs of logs) intentionally or accidentally. Current implementation lets agents upload files directly to S3, and lets clients download directly from S3. That's because I don't want to fill all of server threads for log processing and make them unavailable for the other requests.
So, server-side filtering is ok for browsers/GUI if they use appropriate pagination. But not good especially for CLI when they download the entire logs.
from digdag.
Another note:
In digdag's design, agents may be hosted on an user's servers (although we distribute the code). REST API for agents to upload logs are receiving log files. In this case, contents of those files are user-data are not 100% trusted. If we have REST API on server that processes those data on server, we should make sure that unzip of gzip or unpack of msgpack might cause errors because of broken user-data.
from digdag.
Close the old issue. Please reopen or file new one if you need.
from digdag.
Related Issues (20)
- Digdag CLI to schedule workflow session for a future date/time HOT 1
- node-sass is deprecated HOT 6
- InvalidParameterException occurred only when executing sh operator on ECSCommandExecutor. HOT 9
- ECS Command Executor fails if task continues for 10 minutes or more. HOT 1
- How do I point to the parent path? HOT 1
- [feature-request] Oracle operator HOT 1
- Unable to kill node.js task HOT 3
- How to create a global config for multiple projects in the workspace? HOT 2
- Unable to exit as success status when using sys.exit(0) from py:> operator HOT 2
- broken dependency in digdag-client
- Please add route /workflows/{workflow_id}/edit
- [Regression] Commit breaks --enable-swagger HOT 3
- Concurrent update in table "QUEUED_TASK_LOCKS": another transaction has updated or deleted the same row [90131-192] HOT 5
- Please release v0.10.5 HOT 2
- Swagger is broken in v0.10.5 and v0.10.5.1 HOT 2
- Docker build environment fails to build HOT 1
- How to exit or continue while using if or for_each or range or loop in digdag?
- How to add two conditions in the if statement in digdag? HOT 2
- Workflow task is showing running status
- Error with http call HOT 5
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 digdag.