Content In realtime To 1000s of tablet concurrently Broadcast - sometimes To a subset of tablet - sometimes Offline Platform - Support multiple apps · · · · · · ·
to server Poll for its content At regular intervals With android services The server returns only the deltas · · · · · Simplest Solution Possible Offline tablets gets the data back when online · · Createing contents Offline (Read Only) Server scalling Battery life · · ·
- xmpp client for android Messages which are time critical Class attendance OK if offline tablets misses them · · · · · · 0 server side code Good for chat like interactions · · Persistent messages Scaling - cocurrent connections Reliability · · ·
sequence Can be applied in the same order to get the current state Like a Version Control System All parties in the system just speaks events · · · · ·
i d " : " 0 0 0 0 0 1 3 a - e 6 b e - 8 1 4 8 - 1 2 c 5 - 0 3 6 0 6 0 2 e c 2 7 8 " , " t i m e s t a m p " : 1 3 6 6 3 8 8 8 1 4 , " e v e n t T y p e " : " P o s t C r e a t e d E v e n t " , " c r e a t e d B y U s e r I d " : 1 , " a u t h T o k e n " : " s o m e a u t h t o k e n " , " d a t a " : { " s o m e A t t r i b u t e " : " s o m e V a l u e " , " a n o t h e r A t t r i b u t e " : " a n o t h e r V a l u e " } , " s c o p e " : [ 1 , 1 2 0 3 , 3 4 5 ] } J S O N