Kinds of synchronisations by Exchange RRS feed

  • Question

  • Hello,

    i am just new by EWS and i dont understand one point.
    I can synchronize changes by: Pull, Push and Stream.
    Everytime, when i will be notificated, i can retrieve more information by changes by this three methods.
    Actually  i dont need to subsribe one of three nofitications. Instead of them i can use method: syncFolderItems.

    It is correct?
    What are advantages or disadvantages?

    Sunday, September 18, 2016 1:19 PM

All replies

  • Hi,

    In push protocols, the client opens a connection to the server and keeps it constantly active. The server will send (push) all new events to the client using that single always-on connection. In other words, the server PUSHes the new events to the clients.

    In pull protocols, the client periodically connects to the server, checks for and gets (pulls) recent events and then closes the connection and disconnects from the server. The client repeats this whole procedure to get updated about new events. In this mode, the clients periodically PULLs the new events from the server.

    The difference is that in push protocols, you get new events (such as a new email, a new chat message, etc) literally instantly. But you may experience a small time delay in pull protocols. Although many apps using the pull protocol, check for new events so regular (e.g. every 30 seconds) that the time delay is mostly not noticeable.

    For example, your cell phone is always connected to the mobile network. You can tell this by the signal bars on your phone's screen. When a caller calls, the network sends the call to your cell phone via that active connection your cell phone already have. This is PUSH.

    But, when you're waiting for a specific program on your TV, you repeatedly turn it on and check if your program started and then turn in off. This is PULL.


    Tuesday, November 8, 2016 1:39 PM