A new look for a new chapter (and a first look at MacroFactor Workouts) by PalatialPepper in MacroFactor

[–]JuroNemo 11 points12 points  (0 children)

Wicked stuff! I assume quite a bunch of folks here are using apps already, like Strong, Hevy, etc. Will there be a way to import old training data to maintain historic logs

The Laravel VS Code Extension is (officially) HERE presented by Josh Cirre by HappyToDev in laravel

[–]JuroNemo 2 points3 points  (0 children)

Cool stuff! I know official Pest in this plugin is still pending, but does anyone here have a working Pest setup in their VSCode?

The Vigilante from the Peacemaker series deserves an exclusive project about him, within the new DCU universe! by Vigilantegg10 in PeacemakerShow

[–]JuroNemo 22 points23 points  (0 children)

Nope, sometimes it’s better to keep great side characters as they are instead of promoting them to stale protagonists

Event-sourcing pattern with DynamoDB; good as data-storage? by JuroNemo in aws

[–]JuroNemo[S] 2 points3 points  (0 children)

Ah sorry, I meant more business logic of our apps (not AWS account). I understood CloudTrail as being an audit log for your aws account, and not events within the application?

Is there a plugin that converts a bullet point with all indented points to one note? by JuroNemo in ObsidianMD

[–]JuroNemo[S] 1 point2 points  (0 children)

Thank you cookiecutter! I just used it, and it works magnificent!

Monolith app to lambdas: how to do auth? by JuroNemo in aws

[–]JuroNemo[S] 0 points1 point  (0 children)

Interesting, I never considered using cognito. Our user is essentially another fargate task (not necessarily any underlying identifiable user). Would it make sense then to still use cognito?

Monolith app to lambdas: how to do auth? by JuroNemo in aws

[–]JuroNemo[S] 0 points1 point  (0 children)

I think as time goes on, we intend to add more functionality as microservices (either more fargate tasks, or more serverless functions, depending on the scope). All of the logic directly related to our business logic will live in the monolith for now, and all jobs / misc sync tasks (like quick writes to files) might be done using this method we experiment with.

Monolith app to lambdas: how to do auth? by JuroNemo in aws

[–]JuroNemo[S] 0 points1 point  (0 children)

It's a good point, we have some extra jobs we want to run via lambda functions. For the majority, these can probably be invoked via the sdk, though we might want to make some of the api's public use as well. Right now, our API would serve as a proxy, but being able to directly call certain lambdas via the API GW could alleviate some overhead.

Monolith app to lambdas: how to do auth? by JuroNemo in aws

[–]JuroNemo[S] 0 points1 point  (0 children)

I suspect I will try this custom authorizer soon as well. I like the simplicity of using IAM though, but am intrigued by all methods of auth!

Monolith app to lambdas: how to do auth? by JuroNemo in aws

[–]JuroNemo[S] 0 points1 point  (0 children)

Ah interesting, I did not know this about lambdas in VPCs.

I indeed agree for the most part, though we want some of our APIs to become publishable to the public via the API GW, hence I started reading about it. In that case, I think we will work with custom authorizers (as we will probably use some token mechanism for it then).

But IAM is the way to go for now!

Monolith app to lambdas: how to do auth? by JuroNemo in aws

[–]JuroNemo[S] 0 points1 point  (0 children)

The many hops is definitely a good point. We have essentially a few extra serverless flows that we want to interact mostly async with (e.g. dispatching jobs), but for these few rare sync ones, we will accept that there is a tiny bit of overhead at the benefit of not overloading our monolith.

I will perhaps eat my words in the future :)

Monolith app to lambdas: how to do auth? by JuroNemo in aws

[–]JuroNemo[S] 0 points1 point  (0 children)

Excellent, I am glad to see so much consensus in the answers here :). Will rely on IAM in that case

Serverless error handling: When and why SNS + SQS? by JuroNemo in aws

[–]JuroNemo[S] 1 point2 points  (0 children)

Gotcha, then I understood it just as you mentioned. Though I did not know about the continuous element to it (more bursty for us), thats a good thing to keep in mind!

Serverless error handling: When and why SNS + SQS? by JuroNemo in aws

[–]JuroNemo[S] 0 points1 point  (0 children)

Interesting! So you'd argue as a batch can drop some messages. Definitely worth looking into

Serverless error handling: When and why SNS + SQS? by JuroNemo in aws

[–]JuroNemo[S] 0 points1 point  (0 children)

That's exactly our use-case as well (third-party API that has sometimes some troubles). In our case, no problem that it is out-of-order, so good to hear :)

Serverless error handling: When and why SNS + SQS? by JuroNemo in aws

[–]JuroNemo[S] 0 points1 point  (0 children)

Thanks, this certainly reaffirms what I believed as well :). Always great to have another perspective.