Flume architecture principles