‹ BackHN Continuity

Thread

Floci: Locally emulating any cloud service

220 points · 49 comments · theanonymousone

  1. bensyverson · · focus · HN ↗
    I've looked into developing "digital twins" of APIs that I rely on, similar to the StrongDM pattern, but the models talk me out of it every time. The rationale is that there could be subtle differences or drift between the behavior of the real service and the mocked API. So you may think you're on solid ground, but once you switch to prod, you could see show-stopping differences.

    I think if I was doing evals on the way an agent interacts with a service (e.g. Slack) the digital twin could make sense, but for rapid iteration or testing, it might not be what you want.

    1. nijave · · focus · HN ↗
      That makes sense for the "make sure this thing is working correctly" case but there's still "I want to run this thing locally and it requires this other thing". The second one you really only need the happy path to work and you can run your test from the first thing against it (contract test).
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.