• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] Sync vs ASync Server Comms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Sync vs ASync Server Comms


  • Subject: Re: [OT] Sync vs ASync Server Comms
  • From: Alex Zavatone <email@hidden>
  • Date: Fri, 22 Feb 2013 11:50:36 -0500

Well, one reason on iOS is that it will happen on thread 1 and block the main thread which is also the thread that the GUI is handled on.

Sent from my iPad

On Feb 22, 2013, at 5:13 AM, Dave <email@hidden> wrote:

> Hi All,
>
> I was reading an article about Server/Client communications using a Rest service and the author seemed to have a downer on using the Sync (as opposed to ASync) methods of making a request and receiving a reply. Also I've noticed it being generally discouraged in quite a few other places when I was searching for 3rd Party Network Libraries. However, I can't find any reason behind it? Does anyone have any idea why ASync transactions are better than Sync transactions? Or is it just Sync'ism? lol
>
> Have a Good Weekend!
>
> Thanks
> Dave
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >[OT] Sync vs ASync Server Comms (From: Dave <email@hidden>)

  • Prev by Date: Re: NSPipe eating up all available pipes on system.
  • Next by Date: Re: [OT] Sync vs ASync Server Comms
  • Previous by thread: Re: [OT] Sync vs ASync Server Comms
  • Next by thread: Re: [OT] Sync vs ASync Server Comms
  • Index(es):
    • Date
    • Thread