{"action":"created","comment":{"url":"https://api.github.com/repos/sinatra/sinatra/pulls/comments/46461890","id":46461890,"diff_hunk":"@@ -2821,6 +2821,42 @@ Die Optionen sind:\n -x # Mutex-Lock einschalten (Standard ist off)\n ```\n \n+### Multi-threading\n+\n+_Paraphrasiert von [dieser Antwort auf StackOverflow][so-answer] von Konstantin_\n+\n+Sinatra erlegt kein Nebenläufigkeitsmodell auf, sondern überlässt dies dem\n+unterlegendem Rack-Proxy (Server), so wie Thin, Puma oder WEBrick.\n+Sinatra selbst ist Thread-sicher, somit ist es kein Problem wenn der\n+Rack-Proxy ein anderes Threading-Modell für Nebenläufigkeit benutzt.\n+Das heißt, dass wenn der Server gestartet wird, dass man die korrekte\n+Aufrufsmethode benutzen sollte für den jeweiligen Rack-Proxy.\n+Das folgende Beispiel ist eine Veranschaulichung eines mehrprozeßigen","path":"README.de.md","position":14,"original_position":14,"commit_id":"9cdc54100b1b908ca797194630c6a79ff84d814a","original_commit_id":"9cdc54100b1b908ca797194630c6a79ff84d814a","user":{"login":"burningTyger","id":263378,"avatar_url":"https://avatars.githubusercontent.com/u/263378?v=3","gravatar_id":"","url":"https://api.github.com/users/burningTyger","html_url":"https://github.com/burningTyger","followers_url":"https://api.github.com/users/burningTyger/followers","following_url":"https://api.github.com/users/burningTyger/following{/other_user}","gists_url":"https://api.github.com/users/burningTyger/gists{/gist_id}","starred_url":"https://api.github.com/users/burningTyger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burningTyger/subscriptions","organizations_url":"https://api.github.com/users/burningTyger/orgs","repos_url":"https://api.github.com/users/burningTyger/repos","events_url":"https://api.github.com/users/burningTyger/events{/privacy}","received_events_url":"https://api.github.com/users/burningTyger/received_events","type":"User","site_admin":false},"body":"mehrprozessigen","created_at":"2015-12-02T19:26:37Z","updated_at":"2015-12-02T19:26:37Z","html_url":"https://github.com/sinatra/sinatra/pull/1051#discussion_r46461890","pull_request_url":"https://api.github.com/repos/sinatra/sinatra/pulls/1051","_links":{"self":{"href":"https://api.github.com/repos/sinatra/sinatra/pulls/comments/46461890"},"html":{"href":"https://github.com/sinatra/sinatra/pull/1051#discussion_r46461890"},"pull_request":{"href":"https://api.github.com/repos/sinatra/sinatra/pulls/1051"}}},"pull_request":{"url":"https://api.github.com/repos/sinatra/sinatra/pulls/1051","id":52417303,"html_url":"https://github.com/sinatra/sinatra/pull/1051","diff_url":"https://github.com/sinatra/sinatra/pull/1051.diff","patch_url":"https://github.com/sinatra/sinatra/pull/1051.patch","issue_url":"https://api.github.com/repos/sinatra/sinatra/issues/1051","number":1051,"state":"open","locked":false,"title":"Add DE documentation for Multithreaded modes","user":{"login":"kennym","id":160117,"avatar_url":"https://avatars.githubusercontent.com/u/160117?v=3","gravatar_id":"","url":"https://api.github.com/users/kennym","html_url":"https://github.com/kennym","followers_url":"https://api.github.com/users/kennym/followers","following_url":"https://api.github.com/users/kennym/following{/other_user}","gists_url":"https://api.github.com/users/kennym/gists{/gist_id}","starred_url":"https://api.github.com/users/kennym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennym/subscriptions","organizations_url":"https://api.github.com/users/kennym/orgs","repos_url":"https://api.github.com/users/kennym/repos","events_url":"https://api.github.com/users/kennym/events{/privacy}","received_events_url":"https://api.github.com/users/kennym/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-02T16:18:01Z","updated_at":"2015-12-02T19:26:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d903d18a41887362ecd178462c3b8acc8754d5ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sinatra/sinatra/pulls/1051/commits","review_comments_url":"https://api.github.com/repos/sinatra/sinatra/pulls/1051/comments","review_comment_url":"https://api.github.com/repos/sinatra/sinatra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sinatra/sinatra/issues/1051/comments","statuses_url":"https://api.github.com/repos/sinatra/sinatra/statuses/9cdc54100b1b908ca797194630c6a79ff84d814a","head":{"label":"kennym:master","ref":"master","sha":"9cdc54100b1b908ca797194630c6a79ff84d814a","user":{"login":"kennym","id":160117,"avatar_url":"https://avatars.githubusercontent.com/u/160117?v=3","gravatar_id":"","url":"https://api.github.com/users/kennym","html_url":"https://github.com/kennym","followers_url":"https://api.github.com/users/kennym/followers","following_url":"https://api.github.com/users/kennym/following{/other_user}","gists_url":"https://api.github.com/users/kennym/gists{/gist_id}","starred_url":"https://api.github.com/users/kennym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennym/subscriptions","organizations_url":"https://api.github.com/users/kennym/orgs","repos_url":"https://api.github.com/users/kennym/repos","events_url":"https://api.github.com/users/kennym/events{/privacy}","received_events_url":"https://api.github.com/users/kennym/received_events","type":"User","site_admin":false},"repo":{"id":47228779,"name":"sinatra","full_name":"kennym/sinatra","owner":{"login":"kennym","id":160117,"avatar_url":"https://avatars.githubusercontent.com/u/160117?v=3","gravatar_id":"","url":"https://api.github.com/users/kennym","html_url":"https://github.com/kennym","followers_url":"https://api.github.com/users/kennym/followers","following_url":"https://api.github.com/users/kennym/following{/other_user}","gists_url":"https://api.github.com/users/kennym/gists{/gist_id}","starred_url":"https://api.github.com/users/kennym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennym/subscriptions","organizations_url":"https://api.github.com/users/kennym/orgs","repos_url":"https://api.github.com/users/kennym/repos","events_url":"https://api.github.com/users/kennym/events{/privacy}","received_events_url":"https://api.github.com/users/kennym/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kennym/sinatra","description":"Classy web-development dressed in a DSL (official / canonical repo)","fork":true,"url":"https://api.github.com/repos/kennym/sinatra","forks_url":"https://api.github.com/repos/kennym/sinatra/forks","keys_url":"https://api.github.com/repos/kennym/sinatra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kennym/sinatra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kennym/sinatra/teams","hooks_url":"https://api.github.com/repos/kennym/sinatra/hooks","issue_events_url":"https://api.github.com/repos/kennym/sinatra/issues/events{/number}","events_url":"https://api.github.com/repos/kennym/sinatra/events","assignees_url":"https://api.github.com/repos/kennym/sinatra/assignees{/user}","branches_url":"https://api.github.com/repos/kennym/sinatra/branches{/branch}","tags_url":"https://api.github.com/repos/kennym/sinatra/tags","blobs_url":"https://api.github.com/repos/kennym/sinatra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kennym/sinatra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kennym/sinatra/git/refs{/sha}","trees_url":"https://api.github.com/repos/kennym/sinatra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kennym/sinatra/statuses/{sha}","languages_url":"https://api.github.com/repos/kennym/sinatra/languages","stargazers_url":"https://api.github.com/repos/kennym/sinatra/stargazers","contributors_url":"https://api.github.com/repos/kennym/sinatra/contributors","subscribers_url":"https://api.github.com/repos/kennym/sinatra/subscribers","subscription_url":"https://api.github.com/repos/kennym/sinatra/subscription","commits_url":"https://api.github.com/repos/kennym/sinatra/commits{/sha}","git_commits_url":"https://api.github.com/repos/kennym/sinatra/git/commits{/sha}","comments_url":"https://api.github.com/repos/kennym/sinatra/comments{/number}","issue_comment_url":"https://api.github.com/repos/kennym/sinatra/issues/comments{/number}","contents_url":"https://api.github.com/repos/kennym/sinatra/contents/{+path}","compare_url":"https://api.github.com/repos/kennym/sinatra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kennym/sinatra/merges","archive_url":"https://api.github.com/repos/kennym/sinatra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kennym/sinatra/downloads","issues_url":"https://api.github.com/repos/kennym/sinatra/issues{/number}","pulls_url":"https://api.github.com/repos/kennym/sinatra/pulls{/number}","milestones_url":"https://api.github.com/repos/kennym/sinatra/milestones{/number}","notifications_url":"https://api.github.com/repos/kennym/sinatra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kennym/sinatra/labels{/name}","releases_url":"https://api.github.com/repos/kennym/sinatra/releases{/id}","created_at":"2015-12-02T01:30:07Z","updated_at":"2015-12-02T01:30:09Z","pushed_at":"2015-12-02T16:16:27Z","git_url":"git://github.com/kennym/sinatra.git","ssh_url":"git@github.com:kennym/sinatra.git","clone_url":"https://github.com/kennym/sinatra.git","svn_url":"https://github.com/kennym/sinatra","homepage":"http://www.sinatrarb.com/","size":7422,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sinatra:master","ref":"master","sha":"fabf8efc451f361c444b288eb94292593f340f77","user":{"login":"sinatra","id":8312,"avatar_url":"https://avatars.githubusercontent.com/u/8312?v=3","gravatar_id":"","url":"https://api.github.com/users/sinatra","html_url":"https://github.com/sinatra","followers_url":"https://api.github.com/users/sinatra/followers","following_url":"https://api.github.com/users/sinatra/following{/other_user}","gists_url":"https://api.github.com/users/sinatra/gists{/gist_id}","starred_url":"https://api.github.com/users/sinatra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinatra/subscriptions","organizations_url":"https://api.github.com/users/sinatra/orgs","repos_url":"https://api.github.com/users/sinatra/repos","events_url":"https://api.github.com/users/sinatra/events{/privacy}","received_events_url":"https://api.github.com/users/sinatra/received_events","type":"Organization","site_admin":false},"repo":{"id":106995,"name":"sinatra","full_name":"sinatra/sinatra","owner":{"login":"sinatra","id":8312,"avatar_url":"https://avatars.githubusercontent.com/u/8312?v=3","gravatar_id":"","url":"https://api.github.com/users/sinatra","html_url":"https://github.com/sinatra","followers_url":"https://api.github.com/users/sinatra/followers","following_url":"https://api.github.com/users/sinatra/following{/other_user}","gists_url":"https://api.github.com/users/sinatra/gists{/gist_id}","starred_url":"https://api.github.com/users/sinatra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinatra/subscriptions","organizations_url":"https://api.github.com/users/sinatra/orgs","repos_url":"https://api.github.com/users/sinatra/repos","events_url":"https://api.github.com/users/sinatra/events{/privacy}","received_events_url":"https://api.github.com/users/sinatra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sinatra/sinatra","description":"Classy web-development dressed in a DSL (official / canonical repo)","fork":true,"url":"https://api.github.com/repos/sinatra/sinatra","forks_url":"https://api.github.com/repos/sinatra/sinatra/forks","keys_url":"https://api.github.com/repos/sinatra/sinatra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sinatra/sinatra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sinatra/sinatra/teams","hooks_url":"https://api.github.com/repos/sinatra/sinatra/hooks","issue_events_url":"https://api.github.com/repos/sinatra/sinatra/issues/events{/number}","events_url":"https://api.github.com/repos/sinatra/sinatra/events","assignees_url":"https://api.github.com/repos/sinatra/sinatra/assignees{/user}","branches_url":"https://api.github.com/repos/sinatra/sinatra/branches{/branch}","tags_url":"https://api.github.com/repos/sinatra/sinatra/tags","blobs_url":"https://api.github.com/repos/sinatra/sinatra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sinatra/sinatra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sinatra/sinatra/git/refs{/sha}","trees_url":"https://api.github.com/repos/sinatra/sinatra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sinatra/sinatra/statuses/{sha}","languages_url":"https://api.github.com/repos/sinatra/sinatra/languages","stargazers_url":"https://api.github.com/repos/sinatra/sinatra/stargazers","contributors_url":"https://api.github.com/repos/sinatra/sinatra/contributors","subscribers_url":"https://api.github.com/repos/sinatra/sinatra/subscribers","subscription_url":"https://api.github.com/repos/sinatra/sinatra/subscription","commits_url":"https://api.github.com/repos/sinatra/sinatra/commits{/sha}","git_commits_url":"https://api.github.com/repos/sinatra/sinatra/git/commits{/sha}","comments_url":"https://api.github.com/repos/sinatra/sinatra/comments{/number}","issue_comment_url":"https://api.github.com/repos/sinatra/sinatra/issues/comments{/number}","contents_url":"https://api.github.com/repos/sinatra/sinatra/contents/{+path}","compare_url":"https://api.github.com/repos/sinatra/sinatra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sinatra/sinatra/merges","archive_url":"https://api.github.com/repos/sinatra/sinatra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sinatra/sinatra/downloads","issues_url":"https://api.github.com/repos/sinatra/sinatra/issues{/number}","pulls_url":"https://api.github.com/repos/sinatra/sinatra/pulls{/number}","milestones_url":"https://api.github.com/repos/sinatra/sinatra/milestones{/number}","notifications_url":"https://api.github.com/repos/sinatra/sinatra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sinatra/sinatra/labels{/name}","releases_url":"https://api.github.com/repos/sinatra/sinatra/releases{/id}","created_at":"2009-01-14T01:27:30Z","updated_at":"2015-12-02T09:24:59Z","pushed_at":"2015-12-02T16:18:02Z","git_url":"git://github.com/sinatra/sinatra.git","ssh_url":"git@github.com:sinatra/sinatra.git","clone_url":"https://github.com/sinatra/sinatra.git","svn_url":"https://github.com/sinatra/sinatra","homepage":"http://www.sinatrarb.com/","size":12585,"stargazers_count":7464,"watchers_count":7464,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1191,"mirror_url":null,"open_issues_count":48,"forks":1191,"open_issues":48,"watchers":7464,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sinatra/sinatra/pulls/1051"},"html":{"href":"https://github.com/sinatra/sinatra/pull/1051"},"issue":{"href":"https://api.github.com/repos/sinatra/sinatra/issues/1051"},"comments":{"href":"https://api.github.com/repos/sinatra/sinatra/issues/1051/comments"},"review_comments":{"href":"https://api.github.com/repos/sinatra/sinatra/pulls/1051/comments"},"review_comment":{"href":"https://api.github.com/repos/sinatra/sinatra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sinatra/sinatra/pulls/1051/commits"},"statuses":{"href":"https://api.github.com/repos/sinatra/sinatra/statuses/9cdc54100b1b908ca797194630c6a79ff84d814a"}}}}