Hi Kevin,
Thank you very much for your insightful perspective on this.
[quote='792745022, DTS Engineer, /thread/757744?answerId=792745022#792745022']
-XPC/IPC latency is FAR smaller than screen latency
[/quote]
I hadn't given much thought to screen latency in relation to XPC, so thank you for highlighting this.
[quote='792745022, DTS Engineer, /thread/757744?answerId=792745022#792745022']
I was curious enough that I actually ended up mocking this up myself
[/quote]
[quote='792745022, DTS Engineer, /thread/757744?answerId=792745022#792745022']
~30/s was very fast/blurry,
[/quote]
I will definitely take your advice regarding a mock up and timers. But even your results have put my mind at easy regarding XPC performance and what I'm hoping to achieve.
[quote='792745022, DTS Engineer, /thread/757744?answerId=792745022#792745022']
My actual suggestion here is that you START by figuring out what you want this to look like.
[/quote]
I'm always thinking about, not so much worst-case scenarios, but extreme-case scenarios. If my backend is capable of running any number of concurrent background tasks for a user, and they want to try and keep an eye on them, whether using a summary overview, or multiple task detail views, I wonder how well that would handle performance wise, but as you say, it's down to how much information the user can interpret in their perceived "real-time".
[quote='792745022, DTS Engineer, /thread/757744?answerId=792745022#792745022']
Note that, in my experience, many of these issues are caused by the GUI being drowned in noise, NOT because the GUI didn't have enough data to look at.
[/quote]
I was thinking I might run into trouble when users attempt to interact with a table view containing historical activity. Something like Instruments detail views. If a user wants to scroll down through a fine-grained list of activity, and that's being pulled from a DB that the backend controls, the experience is probably going to be quite smooth, given the numbers you're seeing. Assuming the disk reads are sequential, which they will be.
I haven't worked in web development for over a decade, but having spent so much time in that field, developing a macOS app with a backend architecture really does appeal to me. I know a lot of apps simply don't require an architecture like this (Pages, Keynote, etc), but any unattended background processing, and you really have to start looking at things differently.
Thanks for the time you've spent on answering my questions, and taking the time to mock up something out of curiosity.