Wikipedia talk:WikiProject Java
This is the talk page for discussing WikiProject Java and anything related to its purposes and tasks. |
|
Archives: Index, 1Auto-archiving period: 2 months ![]() |
![]() | Java Project‑class | ||||||
|
Wikipedia:Wikipedia Signpost/WikiProject used
This is the talk page for discussing WikiProject Java and anything related to its purposes and tasks. |
|
Archives: Index, 1Auto-archiving period: 2 months ![]() |
java thread pools
Most of server based applications, like Web servers, database servers, or mail servers, are responsible for controlling a large number of tasks that arrive from some remote source it can be fast task.
Any request can received by the servers in any manner, which can be from a network protocol (HTTP, FTP, or POP), through a JMS queue, MQ, myth be by polling a database or any socket based connection. It’s often the case in server applications that the processing of each individual task is short-lived and the number of requests is large.
One simplistic model for building a server application would be to create a new thread each time a request arrives and service the request in the new thread.
This approach actually works fine for prototyping, but has significant disadvantages that would become apparent if you tried to deploy a server application that worked this way. One of the disadvantages of the thread-per-request approach is that the overhead of creating a new thread for each request is significant; a server that created a new thread for each request would spend more time and consume more system resources creating and destroying threads than it would processing actual user requests.
A thread pool offers a solution to thread life-cycle overhead and the resource thrashing. By reusing threads for multiple tasks, the thread-creation overhead is spread over many tasks. As a bonus, because the thread already exists when a request arrives, the delay introduced by thread creation is eliminated. Thus, the request can be serviced immediately, rendering the application more responsive. Furthermore, by properly tuning the number of threads in the thread pool, you can prevent resource thrashing by forcing any requests in excess of a certain threshold to wait until a thread is available to process it.
- Dear Ehsaniara, many thanks for your invaluable contribution to this project. I don't see much Java stuff in there so may we point you to the Thread pool pattern article... The only intriguing thing is that your bit is not as well 'written' as the source you took it from... AR 18 December 2009, 14:36 (UTC)
Request for comment on Biographies of living people
Hello Wikiproject! Currently there is a discussion which will decide whether wikipedia will delete 49,000 articles about a living person without references, here:
Wikipedia:Requests for comment/Biographies of living people
Since biographies of living people covers so many topics, nearly all wikiproject topics will be effected.
The two opposing positions which have the most support is:
- supports the deletion of unreferenced articles about a living person, User:Jehochman
- opposes the deletion of unreferenced articles about a living person, except in limited circumstances, User:Collect
Comments are welcome. Keep in mind that by default, editor's comments are hidden. Simply press edit next to the section to add your comment.
Please keep in mind that at this point, it seems that editors support deleting unreferenced article if they are not sourced, so your project may want to pursue the projects below.
Request for information on WP1.0 web tool
Hello and greetings from the maintainers of the WP 1.0 Bot! As you may or may not know, we are currently involved in an overhaul of the bot, in order to make it more modern and maintainable. As part of this process, we will be rewriting the web tool that is part of the project. You might have noticed this tool if you click through the links on the project assessment summary tables.
We'd like to collect information on how the current tool is used by....you! How do you yourself and the other maintainers of your project use the web tool? Which of its features do you need? How frequently do you use these features? And what features is the tool missing that would be useful to you? We have collected all of these questions at this Google form where you can leave your response. Walkerma (talk) 04:24, 27 October 2019 (UTC)
Category:Java articles needing expert attention has been nominated for discussion

Category:Java articles needing expert attention has been nominated for possible deletion, merging, or renaming. A discussion is taking place to decide whether this proposal complies with the categorization guidelines. If you would like to participate in the discussion, you are invited to add your comments at the category's entry on the categories for discussion page. Thank you. Peaceray (talk) 21:17, 16 May 2021 (UTC)