What pattern did you implement when adding a log of errors in exchanges with EDI and resending a separate status?
Asked at
AI answer
This is the Retry pattern: if an exchange with the electronic document management system (EDMS) fails, a record of the error and sending status is retained, and a specific status can then be resent without repeating the entire exchange. If the status record and its transmission are reliably persisted together with the business change, this can also be implemented as a Transactional Outbox.
Also asked at ГК МЕДСИ
- [name] asked: How does memory management work in Python (garbage collector, reference counting)?
- What is the difference between TaskGroup and the gather function in the asyncio library in Python?
- What solutions did you implement to work around ChatGPT being unavailable from Russian IP addresses?
- How do you scale web application workers (for example, in FastAPI or Django), and which server did you use on your project?
- What blocks the event loop, how do you detect it in production, and what should you do about blocking code?
Similar questions
- Briefly describe the Saga pattern with compensation: what happened if one of the steps failed?
- Can you tell me about a particular service that used asynchronous processing? Why did you choose that approach?
- Have you ever had to implement fallback logic?
- What if an external system doesn't respond while a message is being processed?
- How did you test concurrent processing? Could several consumers process events at the same time?