Skip to content

ObjectStore to share audio/video files between microservies #5262

Answered by derekcollison
ealeykin asked this question in Q&A
Discussion options

You must be logged in to vote

We have folks using it for this use case yes.

Currently the system uses ordered consumers to get the objects so that they are flow controlled end to end. With KV and direct GETS the system through NATS core can find the nearest replicable using DQ etc.

Since ObjectStore uses consumers, if you have many digital twins / mirrors you will need to attach to the closest replica. This is not too bad, when you ask for StreamInfo (ObjectInfo) for the origin ObjectStore, it will list all know alternates, the digital twins / mirrors in order of RTT preference from your request, meaning your app.

You can then bind to that one for low latency access to the objects.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by derekcollison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants