News for hackers. Stuff that matters.
Re:Ready for Realtime and Scale: Announcing Realm Mobile Pla... by matt2000 on Thursday January 19, 2017 @04:12PM (#13439546)
I think my ideal scenario would be to have a Java API similar to what android has, but running on the server with a sort of global view of the data. Then it could listen to whatever it wanted to and issue notifications, send emails, etc. That seems like it would be killer since it leaves all the error prone sync and data update code to realm, but still lets the server do whatever it needs to once it sees a change.
Re:Ready for Realtime and Scale: Announcing Realm Mobile Pla... by bigfish24 on Thursday January 19, 2017 @04:18PM (#13439584)
A server-side Java SDK is on our roadmap. The current version makes use of Android functionality, like the looper, so we need to transition it.

Already, the Node.js SDK has an API where you can register callbacks across Realms, giving you the global view you are talking about. You just pass it a regex pattern of the Realms you want to listen to.

This functionality lives in the shared C++ codebase so once we have Java on the server, it would also have it (we also plan to migrate our .Net SDK as well for server-side use).