OTT App
A geo-distributed Netflix clone running at the edge with low latency providing superior experience to users.
Setup (Regular)
Federation | Password | Dashboard | |
---|---|---|---|
Global Data Network | demo-ott-app@macrometa.io | xxxxxxxx | Dashboard |
Setup (Fastly)
Federation | Password | Dashboard | |
---|---|---|---|
Global Data Network | demo-ott-app@macrometa.io | xxxxxxxx | Dashboard |
Solution
- Create the following collections in your GDN account:
assets (global)
genres (global)
credits (global)
my_list (global)
users (global)
asset_credit_edge (graph-edge, global)
genres_asset_edge (graph-edge, local)
- Create the following search views in your GDN account:
asset_credit_view
with Primary sort field popularity
Mapping - Collection | Field | Analyzer |
---|---|---|
assets | name | text_en |
assets | title | text_en |
assets | original_title | text_en |
assets | overview | text_en |
credits | name | text_en |
asset_type_view
Mapping - Collection | Field | Analyzer |
---|---|---|
genres_asset_edge | asset_type | identity |
- Create the following graph in your federation:
OTT
Edge Definitions | From Collections | To Collections |
---|---|---|
genres_asset_edge | genres | assets |
asset_credit_edge | assets | credits |
- Create the following Query workers in your GDN Account:
getMovieAssetsByGenre
getTopRatedMovies
getTopRatedTvSeries
getTvSeriesAssetsByGenre
searchByAsset
searchByCredits
GitHub