<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>13.2.2. groonga 通信アーキテクチャ — groonga v3.0.5 documentation</title> <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" /> <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../../', VERSION: '3.0.5', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../../_static/jquery.js"></script> <script type="text/javascript" src="../../_static/underscore.js"></script> <script type="text/javascript" src="../../_static/doctools.js"></script> <link rel="shortcut icon" href="../../_static/favicon.ico"/> <link rel="top" title="groonga v3.0.5 documentation" href="../../index.html" /> <link rel="up" title="13.2. groonga開発者向け情報" href="../development.html" /> <link rel="next" title="13.2.3. ドキュメント作成" href="document.html" /> <link rel="prev" title="13.2.1. Repository" href="repository.html" /> </head> <body> <div class="header"> <h1 class="title"> <a id="top-link" href="../../index.html"> <span class="project">groonga</span> <span class="separator">-</span> <span class="description">An open-source fulltext search engine and column store.</span> </a> </h1> <div class="other-language-links"> <ul> <li><a href="../../../../ja/html/contribution/development/com.html"><img src="../../_static/jp.png" alt="日本語">日本語版はこちら</a></li> </ul> </div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="document.html" title="13.2.3. ドキュメント作成" accesskey="N">next</a> |</li> <li class="right" > <a href="repository.html" title="13.2.1. Repository" accesskey="P">previous</a> |</li> <li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li> <li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li> <li><a href="../development.html" accesskey="U">13.2. groonga開発者向け情報</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="groonga"> <h1>13.2.2. groonga 通信アーキテクチャ<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h1> <div class="section" id="gqtp"> <h2>13.2.2.1. gqtpでのアーキテクチャ<a class="headerlink" href="#gqtp" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>comが外部からの接続を受け付ける。</li> <li>comは1スレッド。</li> <li>comがedgeを作る。</li> <li>edgeは接続と1対1対応。</li> <li>edgeはctxを含む。</li> <li>workerはthreadと1対1対応。</li> <li>workerは上限が個定数。</li> <li>workerは、1つのedgeと結びつくことができる。</li> <li>edgeごとにqueueを持つ。</li> <li>msgはcomによって、edgeのqueueにenqueueされる。 edgeがworkerに結びついていないときは、同時に、ctx_newというqueueに、msgをenqueueした対象のedgeをenqueueする。</li> </ul> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="../../index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">13.2.2. groonga 通信アーキテクチャ</a><ul> <li><a class="reference internal" href="#gqtp">13.2.2.1. gqtpでのアーキテクチャ</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="repository.html" title="previous chapter">13.2.1. Repository</a></p> <h4>Next topic</h4> <p class="topless"><a href="document.html" title="next chapter">13.2.3. ドキュメント作成</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../../_sources/contribution/development/com.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="document.html" title="13.2.3. ドキュメント作成" >next</a> |</li> <li class="right" > <a href="repository.html" title="13.2.1. Repository" >previous</a> |</li> <li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li> <li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li> <li><a href="../development.html" >13.2. groonga開発者向け情報</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2013, Brazil, Inc. </div> </body> </html>