Hey Jens

Thanks for those tips! 

The user info is also being pulled out of couchdb. But its a separate user 
db. 
I don't think it would be advisable to put chats and user in the same 
database?

Cheers
Archit


On Monday, March 3, 2014 10:48:34 AM UTC+8, Jens Alfke wrote:
>
>
> On Mar 2, 2014, at 6:25 PM, archit agarwal <[email protected]<javascript:>> 
> wrote:
>
> Q1 Do you happen to have a suggestion on the push notification system I 
> can use for messaging. 
>
>
> You mean, a server-side component that talks to the Apple Push 
> Notification System? Mostly you just need a simple task that watches the 
> gateway’s _changes feed and sends messages to APNS. Chris Anderson put one 
> of these together a while ago as an example; it was pretty simple. Chris, 
> can you point to the code for this?
>
> Q2 when the user actually opens the app after push notification I assume 
> it would take a few seconds to get these messages. Is there a way to reduce 
> this lag or delay? I know xmpp is pretty fast but it's a whole new 
> implementation. Can we do something to get similar performance? 
>
>
> In iOS 7 there’s a push-notification flag that causes the app to invisibly 
> launch/wake up in the background. It will then presumably start its 
> replication and download the new documents.
>
> Q3. The other bit is when a message arrives from a new user who's 
> information isn't available on the local DB. There would also be a lag in 
> pulling this user info. Any suggestions for to make this better? 
>
>
> How are you pulling the user info?
>
> —Jens
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/b810b9dd-9717-4f7a-a7af-a17b936c5235%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to