Advanced Step Functions Patterns with Ben Smith

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 5

  • @alanwalsh7040
    @alanwalsh7040 9 หลายเดือนก่อน +2

    This two part series is very useful - especially the patterns. Love the channel!

    • @foobar_codes
      @foobar_codes  8 หลายเดือนก่อน

      Glad you like them!

  • @laimallama
    @laimallama 21 วันที่ผ่านมา

    How are you doing automated testing on this? Unit tests and Integration? If you're splitting out the GET / PUT / DELETE / etc - those still need to be tested. In a lambda that would be simple unit tests - how does it get tested in a step function?

  • @Nova-ul3vv
    @Nova-ul3vv 8 หลายเดือนก่อน +1

    Just came around here after looking into a giant black hole of a workflow, where analyzing all state transitions is super painfull. Will look into data preserver pattern thx :)

  • @taicodev
    @taicodev 9 หลายเดือนก่อน +2

    Well, actually it is not hard to have one codebase to run in both Lambda and Container.
    #!/bin/bash
    # Assuming "index.js" exports a function named "handler," Adjust the required path as necessary to match your project structure
    node -e "const { handler } = require('./index'); handler()."
    From here on, u can tweak that Shell script as well and simulate lambda call by passing parameters to handle that you would be extracting from env variables once u start your task :)