Skip to main content
7 votes

Separate unidirectional streams vs single bidirectional stream

One use case for a bidirectional stream is when editing files. This would often require both reading and writing, and editing files is a quite common use case. I also believe most OSes exposes files ...
JonasH's user avatar
  • 5,824
7 votes

Separate unidirectional streams vs single bidirectional stream

In languages where the interface for a stream is inherently bidirectional (see C#'s Stream for example), this can lead to bugs when the wrong stream is accidentally used. I agree. That's why there ...
freakish's user avatar
  • 1,916
3 votes

REST API with swappable backends

Your last 2 paragraphs are the way to go. No real overhead, especially if you cache any client specific meta data associated with each call. Most likely you will have to write a fa├žade for each back ...
LoztInSpace's user avatar
  • 1,199
3 votes

How to handle data when source of truth is through API

This is an extremely common problem when building any sort of distributed system. This is such a foundational problem for service-oriented architecture and microservices that no single canonical term ...
Greg Burghardt's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible