conjurelabs / conjure-worker Goto Github PK
View Code? Open in Web Editor NEWqueue & directly-called task workers
queue & directly-called task workers
in order to bill people, updates to containers may need to be separate rows.
or, could make a separate table to track multiple run spans
0|conjure- | github.container.stop --> stopping github container (ConjureLabs/mock-web-repo --> prod-2)
0|conjure- | container stop --> stopping container
0|conjure- | container stop --> stopping task
0|conjure- | github.container.stop --> { MissingRequiredParameter: Missing required key 'task' in params
0|conjure- | at ParamValidator.fail (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/param_validator.js:50:37)
0|conjure- | at ParamValidator.validateStructure (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/param_validator.js:61:14)
0|conjure- | at ParamValidator.validateMember (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/param_validator.js:88:21)
0|conjure- | at ParamValidator.validate (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/param_validator.js:34:10)
0|conjure- | at Request.VALIDATE_PARAMETERS (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/event_listeners.js:125:42)
0|conjure- | at Request.callListeners (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
0|conjure- | at callNextListener (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/sequential_executor.js:95:12)
0|conjure- | at /home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/event_listeners.js:85:9
0|conjure- | at finish (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/config.js:320:7)
0|conjure- | at /home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/config.js:338:9
0|conjure- | message: 'Missing required key \'task\' in params',
0|conjure- | code: 'MissingRequiredParameter',
0|conjure- | time: 2018-05-28T23:30:53.934Z }
A private instance is public if someone knows the host and port. Though they are ephemeral, thus private branches leaking is less likely, eventually someone would figure out the pattern and brute-force search the servers until they find all exposed ports. So, we need to wrap private instances (or all?) with a layer that rejects any request w/o the right headers.Or do not use ports at all? And use some sort of internal routing system?
if a container goes into pending state, kicks off a worker, and the worker throws before changing the state to spinning up, then that container will never get caught by the lambda check for stale heartbeats.
could possibly check against redis for what's in the queue, and see what either needs to be requeued or set as failed.
If a user removes card, or billing plan is for whatever reason deactivated, before billing job happens, then the user's org should be frozen until billing is finished, and emails should go out to account on record.
manual for now?
what happens if a user updates update updates, and all the events get queued?
Possibly certain events should cancel?
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.