Talk:Concurrency (computer science): Difference between revisions
SirMeowMeow (talk | contribs) |
moving a thread into chronological order |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{WikiProject |
{{WikiProject banner shell|class=Start| |
||
{{WikiProject |
{{WikiProject Computing|importance=mid}} |
||
{{WikiProject Computer science|importance=Top}} |
|||
}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
==Safety and liveness== |
==Safety and liveness== |
||
Line 110: | Line 105: | ||
Cheers.—[[User:InternetArchiveBot|'''<span style="color:darkgrey;font-family:monospace">InternetArchiveBot</span>''']] <span style="color:green;font-family:Rockwell">([[User talk:InternetArchiveBot|Report bug]])</span> 03:19, 20 December 2017 (UTC) |
Cheers.—[[User:InternetArchiveBot|'''<span style="color:darkgrey;font-family:monospace">InternetArchiveBot</span>''']] <span style="color:green;font-family:Rockwell">([[User talk:InternetArchiveBot|Report bug]])</span> 03:19, 20 December 2017 (UTC) |
||
⚫ | |||
⚫ | |||
<!-- Template:Unsigned --><small class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Iyntx|Iyntx]] ([[User talk:Iyntx#top|talk]] • [[Special:Contributions/Iyntx|contribs]]) 08:56, 9 July 2021 (UTC)</small> |
|||
⚫ | : Rob Pike is a tech celebrity who is an author of Go. He may not be a researcher who is dedicated to concurrency, but he is a mass communicator who has given talks on concurrency vs parallelism. That means many people who have some understanding of concurrency have Rob Pike to thank for it, even if we're just talking about a few short talks over YouTube. This does not mean I think Rob Pike should / shouldn't be on this page. |
||
⚫ | : IMO this article needs to be refactored somehow, given that almost all most attention is now going to a hardware concurrency page while this one is languishing. I also think there's a serious lack of editorial coherency on this page, leading to confusing statements on concurrency vs. parallelism vs. the underlying hardware context. [[User:SirMeowMeow|SirMeowMeow]] ([[User talk:SirMeowMeow|talk]]) 15:29, 23 March 2022 (UTC) |
Latest revision as of 16:04, 8 July 2024
This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||
|
Safety and liveness
[edit]The words safety and liveness have an exact meaning in the context of concurrency. I cannot get at my source -- the handouts for a summerschool course taught by Robin Milner -- but it would be great if someone else familiar with this can provide more formal definitions. The following are informal definitions from what I recall, which I may eventually include in this article if no one objects:
Safety: The state of a concurrent system in which no constraints on any shared resource are being violated. An example of a violation may be a lack of effective exception handling in response a failed attempt to insert data into an already full queue. More simply the safety property can be stated as: "Something bad does never happen"
Liveness: The ability of a concurrent system to remain active, namely, to not halt. From the previous example, an unhandled exception would either hang the system, or terminate its execution althogether. Such a system would not have the liveness property. The word liveness corresponds to the original meaning in computer science of the word robust. Unfortunately, robust has been overhyped and conflated.
More simply the liveness property can be stated as : "Something good will eventually happen"
Vonkje 15:45, 31 August 2005 (UTC)
- This discussion concerns the following text that had since been deleted:
- Its base goals include safety and liveness which impact non-functional properties like reliability. Higher-level goals involve quality of service criteria that seek to optimize throughput and response time. Vonkje 16:39, 26 September 2005 (UTC)
- By contrast, quality of service, throughput, etc. are primarirly engineering terms. We need to talk about both the theoretical underpinnings of concurrency and implementation issues. But mixing and matching terminology is not really a good idea. Greg Woodhouse 14:14, 28 March 2007 (UTC)
Safety and Liveness are important theoretical concepts that I think ought to be incorporated into the article, but their definitions are a bit subtle. for one approach, see Nancy A. Lynch, "Distributed Algorithms", pp. 218-220. Greg Woodhouse 14:08, 28 March 2007 (UTC)
Concurrency wikiproject
[edit]I have put up a proposal for a concurrency wikiproject at User:Allan McInnes/Concurrency project. Input from all interested parties (especially those who will actually contribute) is most welcome. --Allan McInnes 21:32, 20 January 2006 (UTC)
- I was persuaded that we'd be better off coordinating through Wikipedia:WikiProject Computer science. --Allan McInnes 01:15, 28 January 2006 (UTC)
Temporal logics
[edit]I'm unfamiliar with the tree logics mentioned here but I'm guessing that they are temporal logic with branching time. If that is so, shouldn't the text be modified so as to indicate that they are a type of temporal logic? Or, for that matter, maybe we should only mention that temporal logic may use either branching or non-branching time, and drop the specific references? Greg Woodhouse 05:24, 27 March 2007 (UTC)
- I'm afraid that I don't understand. Doesn't the text already talk about the tree logics as being types of temporal logic? (And yes, they are branching-time logics) Apparently not in a clear enough fashion, I guess. Please feel free to rewrite to make this fact more clear. I'd rather include the specific references, since (a) LTL and CTL in particular are both important, especially for things like model-checking, and it's nice to give readers a direct reference to them, and (b) making specific references also makes it possible to highlight the difference between state-based and action-based logics. --Allan McInnes (talk) 06:41, 28 March 2007 (UTC)
Fair enough. As a non-specialist, I don't think I had ever seen the specific term tree logic before, but I suppose it's self-explanatory. I don't think there's any need to change anything. Greg Woodhouse 12:37, 28 March 2007 (UTC)
References and Further Reading
[edit]I added one more title to the Furter Reading section, namely Blackburn, et al. I don't think this needs to become a long list of links, but this seems to me to be an essential reference. By all means, use it as a reference in the body of the article if you feel it is appropriate. Greg Woodhouse 13:07, 28 March 2007 (UTC)
I also have a technical question: I note there are multiple references to the same work in the body of the article. In XML, if you assign an id attrribute, later refeences to the same object can use the ref attribute (ref=ID). Is the same syntax supported on the Wiki? The superscripts a b c in reference [1] look a bit odd to me. Being a newcomer to Wikis, I'm not sure if that's intended behavior, or a side-effect of reproducing the references in full. Greg Woodhouse 13:15, 28 March 2007 (UTC)
- Oops. Yeah, I guess I did end up repeating myself a bit there. I'll clean that up now. But the multiple superscripts will still appear, even if I use names to refer to an already-defined full reference - that just seems to be the way the Wikipedia citation handler works. --Allan McInnes (talk) 01:56, 29 March 2007 (UTC)
Representation Theorem
[edit]Shouldn't there be some discussion of the Representation Theorem? It's one of the fundamental unifying principles of the different models?--24.23.212.54 04:19, 4 April 2007 (UTC)
- I assume that you are referring to the Actor representation theorem (not the million and one other representation theorems out there). As far as I know, it is only applicable to the Actor model. While one might speculate that it is equally applicable to other models of concurrency, I am not aware of any published material which demonstrates that applicability. To claim that it's "one of the fundamental unifying principles of the different models" seems premature, since it hasn't actually been used to provide any kind of unification between the different existing models of concurrency.
- If we were going to discuss unifying approaches to understanding different models of concurrency, I'd suggest that Lee and Sangiovanni-Vincentelli's Tagged Signal Model, or some of the work by Nielsen and Winskel on using category theory to relate different models of concurrency, would be a more appropriate choice, since the published literature on them actually does demonstrate some kind of unification of different models.
- --Allan McInnes (talk) 06:50, 4 April 2007 (UTC)
Merge?
[edit]Does anyone who knows more about this article think it could be merged with Concurrent computing or does the interaction make a big difference?
Joe Llywelyn Griffith Blakesley talk contrib 14:14, 4 June 2007 (UTC)
- Concurrent computing largely deals with implementation issues. Thr study of concurrency includes theoretical aspects that don't enter into concurrent computing, and is also a broader topic (having recently been applied to areas as diverse as systems biology and business process modeling). I don't think that the articles should be merged. --Allan McInnes (talk) 02:44, 5 June 2007 (UTC)
Concurrency definition
[edit]"In computer science, concurrency is a property of systems in which several computational processes are executing at the same time, and potentially interacting with each other."
There's a difference between a concurrent execution machine and problem concurrency. With respect to problem concurrency, there should be no notion of "executing at the same time". This paragraph cites only a dubious online dictionary, especially since "concurrent" often means "at the same time" to a general audience, such as in prison time sentencing, and I think it confuses people with regards to parallelism that does indeed require "at the same time" capabilities.
General concurrency should refer to the property of problem logic or computational divisibility into order-independent units; the degree to which components of problem logic or computations are coupled is the degree to which a problem or computation is not concurrent.
Of course, this does not stop a person from misusing machine or language features for concurrency, as hardware and language designers don't have insight into the decomposability of a user's problem. Therefore, in terms of misusing features of a concurrent execution machine, then yes, concurrency features can lead to indeterminacy. But a properly decomposed concurrent problem should lead to the same result despite out-of-order, partially-ordered, or indeterminate execution.
I propose that this article should make a clear distinction between a machine concurrency, and the more abstract computer science concept of concurrency, and I think that most people discuss abstract concurrency, because details of the programming language and execution contexts are circumstantial. Therefore, it is this abstract or general concurrency which should receive more article attention. See "Time, Clocks, and the Ordering of Events in a Distributed System" (Lamport, 1978), where a definition of concurrency is defined in "The Partial Ordering" section.[1]
2602:306:B826:6950:0:0:0:44 (talk) 12:35, 4 February 2016 (UTC) Sir Meow Meow
Does several computational processes include threads? If it does not I think a better suited word that includes threads should be used instead of processes. —Preceding unsigned comment added by 89.181.9.27 (talk) 19:04, 15 December 2008 (UTC)
- You have a good point. The term "process" has a technical meaning in computer science. I cleaned up the article a bit to clarify things. However, the article still needs a lot of work.--67.170.201.132 (talk) 11:40, 22 January 2009 (UTC)
A typical example of the use of the word:"When building Python applications with any level of concurrency, it is often useful to know how many CPUs are available for instruction processing within the system"[2] None of these definitions really tell me anything about how concurrency can have a "level" and how one would actually find and then relate it. Consider this definition for mass: "In physics, mass is a property of physical objects in which they interact via gravity."Wheresmytab (talk) 20:09, 14 April 2010 (UTC)
References
- ^ Lamport, Leslie. "Time, Clocks, and the Ordering of Events in a Distributed System" (PDF). Microsoft Research. Retrieved 4 February 2016.
- ^ http://www.boduch.ca/2009/06/python-cpus.html
External links modified
[edit]Hello fellow Wikipedians,
I have just modified one external link on Concurrency (computer science). Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
- Added archive https://web.archive.org/web/20060128114620/http://vl.fmnet.info/concurrent/ to http://vl.fmnet.info/concurrent/
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}}
(last update: 5 June 2024).
- If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
- If you found an error with any archives or the URLs themselves, you can fix them with this tool.
Cheers.—InternetArchiveBot (Report bug) 00:29, 12 August 2017 (UTC)
External links modified
[edit]Hello fellow Wikipedians,
I have just modified one external link on Concurrency (computer science). Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
- Added archive https://web.archive.org/web/20070516135233/http://ic.arc.nasa.gov/people/filman/text/dpl/dpl.html to http://ic.arc.nasa.gov/people/filman/text/dpl/dpl.html
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}}
(last update: 5 June 2024).
- If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
- If you found an error with any archives or the URLs themselves, you can fix them with this tool.
Cheers.—InternetArchiveBot (Report bug) 03:19, 20 December 2017 (UTC)
"Concurrency is not Parallelism" WHY???
[edit]Who is this Rob Pike and why should his opinion be in this article? — Preceding unsigned comment added by Iyntx (talk • contribs) 08:56, 9 July 2021 (UTC)
- Rob Pike is a tech celebrity who is an author of Go. He may not be a researcher who is dedicated to concurrency, but he is a mass communicator who has given talks on concurrency vs parallelism. That means many people who have some understanding of concurrency have Rob Pike to thank for it, even if we're just talking about a few short talks over YouTube. This does not mean I think Rob Pike should / shouldn't be on this page.
- IMO this article needs to be refactored somehow, given that almost all most attention is now going to a hardware concurrency page while this one is languishing. I also think there's a serious lack of editorial coherency on this page, leading to confusing statements on concurrency vs. parallelism vs. the underlying hardware context. SirMeowMeow (talk) 15:29, 23 March 2022 (UTC)