less than 1 minute read



Flutter project



Flutter Realtime Database

Bloc persistence and streaming updates using gRPC.
Other Posts in this Series

Realtime Client Database: gRPC Bi-Directional Streams and ZIO Hub

6 minute read

, ,

Realtime push-based databases such as Google Firebase conveniently ensure clients are synchronized with the server. Data updates stream to clients immediately as they happen; and if a client disconnects, updates are immediately processed after reconnecting. gRPC server streaming and ZIO Hub can implement this functionality replicating an expensive paid Firebase service while allowing greater extensibility.

Realtime Client Database: External Datasource using ZIO ZLayer

2 minute read

, ,

Expanding on the realtime Firebase implementation in the previous article, this expands the functionality allowing the server to fetch data on-demand from an external datasource. Additionally, functionality to periodical refresh active data which is subscribed to by connected clients transforms this database into an efficient cache to evolving external data which can only be obtained by polling.