SiloCitizen3
✅ async/await Task in an AWS Lambda
essentially stuffed the entire damn api website into a lambda and now all sorts of issues are cropping up. and that's the only thing I can think of, because after repeated tests on my machine, everything works
27 replies
✅ async/await Task in an AWS Lambda
this is after a stupid switch from elastic beanstalk over to lambdas.
in EB, these issues were never happening, because the damn process was always "alive"
in lambda, it's finish quickly or it gets killed off
27 replies
✅ async/await Task in an AWS Lambda
so, inside the block, there's various webservices and records being created in different places, along with logging, as things are happening
starting XYZ....
dbContext insert record
finished XYZ...
starting ABC...
webservice called
finsihed ABC...
and at times, all the data and accompanying log lines are there.
other times, it doesnt.
there's no errors being thrown, because they're handled.
what I am notificing is the timestamps.
in the cases where all the expected stuff isn't there, the overall execution of the log entries is getting to be over 1min.
in the cases where all the expected stuff IS there, the execution duration is much shorter
27 replies
❔ Need help understanding Model Binding better
blah blah blah "The issue with ViewBags and the recommended best practice boils down to compile time checking. ViewBags are just dictionaries and with that you get 'magic' strings, so if you end up changing the object type of one of the viewbag items or the key name you won't know until runtime"
as with all "best practices", it really all boils down to sense and sensability
18 replies
✅ Pipe client server
Check out https://www.youtube.com/watch?v=E0Ld7ZgE4oY
Maybe not. Sorry, I read your original post as INprocess not INTERprocess
21 replies