3 ms·
One problem with monolithic functions is that you must grant them a union of all the rights required by every code branch in the monolith. Obviously this can e
by erikerikson 6y ago
One problem with monolithic functions is that you must grant them a union of all the rights required by every code branch in the monolith.
Obviously this can expand the blast radius of any vulnerability and tends to encourage rougher grained privilege grants.
- f6v 6y agoThis is getting out of hand. Are there "monolithic" and "micro" functions now?
- jayair 6y agoThat made me chuckle. But to be fair, in this case "monolithic" function is just a way to describe this pattern of moving your entire app (express in this case), inside a Lambda function. When Lambda started to become popular, this was the most common way to migrate to it. Just move your monolithic app to a function, hence "monolithic" functions.
- erikerikson 6y agoExactly, this is as opposed to processing the narrowly defined event with a minimally purposed function with least privilege.
- FigmentEngine 6y ago"microlithic" a micro service which bundles multiple responsibilites.
- gitgud 6y agoThat's brilliant!