News for hackers. Stuff that matters.
Re:Ask HN: Are batch endpoints a good pattern in REST APIs? by cratermoon on Wednesday September 01, 2021 @05:19PM (#28385642)
What you want is known as aggregates. https://martinfowler.com/bliki/DDD_Aggregate.html
Re:Ask HN: Are batch endpoints a good pattern in REST APIs? by UK-Al05 on Thursday September 02, 2021 @08:56AM (#28391481)
That has nothing to do with this?
Re:Ask HN: Are batch endpoints a good pattern in REST APIs? by cratermoon on Thursday September 02, 2021 @11:42AM (#28393478)
Why do you say that? Are you familiar with the OPs situation? Have you used aggregates?
Re:Ask HN: Are batch endpoints a good pattern in REST APIs? by UK-Al05 on Friday September 03, 2021 @09:35AM (#28404010)
Yes, I'm very good at domain driven design.

Nothing about DDD aggregates solves the problem of batch processing using a synchronous API.