• 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: Five Reasons Why Synchronous Networking Is Bad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Five Reasons Why Synchronous Networking Is Bad


  • Subject: Re: Five Reasons Why Synchronous Networking Is Bad
  • From: james woodyatt <email@hidden>
  • Date: Fri, 6 Mar 2009 09:11:43 -0800

On Mar 5, 2009, at 09:33, Jens Alfke wrote:

[...] Both TextMate and Xcode like to stat every single file in every open project, whenever the app becomes active. This made working with my normal 5,000-file projects impossible (I had to kill TextMate after it had been spinning for several minutes), and even using small projects with a dozen files caused the app to spin for several seconds every time I switched to it. Yuck.

This is one of those cases where the problem isn't really caused by using synchronous interfaces to the filesystem so much as by excessively eager evaluation.

I have projects with 100k+ files in them that are simply unusable, even on fast, locally attached volumes, because of this basic class of problem.  The basic rule of interactive programming to keep in mind here is this: don't waste valuable time with unnecessary computation.  (I'm sure some famous computer scientist has a pithy quote I could drop to that effect, but I'm not going to go looking for one right now.  Sorry.)


--
james woodyatt <email@hidden>
member of technical staff, communications engineering


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Five Reasons Why Synchronous Networking Is Bad
      • From: Jens Alfke <email@hidden>
References: 
 >Five Reasons Why Synchronous Networking Is Bad (From: Quinn <email@hidden>)
 >Re: Five Reasons Why Synchronous Networking Is Bad (From: Josh Graessley <email@hidden>)
 >Re: Five Reasons Why Synchronous Networking Is Bad (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Five Reasons Why Synchronous Networking Is Bad
  • Next by Date: Re: Five Reasons Why Synchronous Networking Is Bad
  • Previous by thread: Re(2): Five Reasons Why Synchronous Networking Is Bad
  • Next by thread: Re: Five Reasons Why Synchronous Networking Is Bad
  • Index(es):
    • Date
    • Thread