Unix-commands-distcache
distcache-Unix、Linuxコマンド
link:/unix_commands/index [previous] link:/unix_commands/index [next] [[1]] php [AddThis Social Bookmark Button]
NAME
説明
distcacheの現在の主な用途は、SSL/TLSセッションキャッシングです。 これにより、SSL/TLSサーバー(例: HTTPSサポートを提供するセキュアなApache Webサーバー)を使用して、集中セッションキャッシュを使用します。つまり、どのサーバーでも、ネットワーク上の他のサーバーによってネゴシエートされたSSL/TLSセッションを再開できます。 このアプローチの利点には、負荷分散のためのメカニズムの自由度の増加が含まれます。
既存のSSL/TLSロードバランシングソリューション
SSLSSL/TLSSSL/TLS
distcacheを使用した任意のSSL/TLSロードバランシング
SSL/TLSSSL/TLSSSL/TLS
SSL/TLSだけではありません…
SSL/TLS
ツール
Tag | Description |
---|---|
dc_server | Runs a cache server listening on a configurable network address. See dc_server(1). |
*dc_client * | Runs a local client proxy. From the point of view of applications this behaves like* dc_server*, but manages multiplexing application requests to/from a cache server over a single persistent connection. See dc_client(1). |
*dc_test * | Sends a (configurable) barrage of session caching requests to a given network address using the distcache protocol. Useful for testing correctness of an installation as well as benchmarking. Can be used directly against an instance of* dc_server or against a dc_client* proxy. See dc_test(1). |
*dc_snoop * | A transparent proxy tool supporting the distcache protocol that can be used to monitor cache operation requests and responses between any two end-points (eg. between an application and* dc_client*, or between dc_client *and dc_server*). See dc_snoop(1). |
APIS
API
Libnal
NAL
libnalはさまざまなオブジェクトタイプを定義します。
Tag
説明
NAL_ADDRESS(NAL_ADDRESS_new(2)を参照)
アドレスの抽象化は、テキスト表現との間で変換し、指定されたアドレスがリッスン、接続、またはその両方に有効かどうかを示します。
NAL_CONNECTION(NAL_CONNECTION_new(2)を参照)
これにより、任意のバイナリデータの送受信に使用できるネットワーク接続がカプセル化されます。
NAL_LISTENER(NAL_LISTENER_new(2)を参照)
これは、設定されたアドレスで着信接続要求を受け入れるために使用できるリスニングソケットをカプセル化し、受け入れられた接続ごとにNAL_CONNECTIONラッパーを作成します。
NAL_SELECTOR(NAL_SELECTOR_new(2)を参照)
これにより、さまざまなNAL_LISTENERおよびNAL_CONNECTIONオブジェクトを使用して準備できるオブジェクトが提供され、設定可能な制限時間までネットワークアクティビティの待機をブロックできます。 これは非ブロッキングI/Oの基礎であり、従来の_select_(2)関数のカプセル化です。
NAL_BUFFER(NAL_BUFFER_new(2)を参照)
この抽象化はFIFOデータ配列を実装し、主にNAL_CONNECTIONオブジェクトの読み取り部分と送信部分を表すために使用されます。
NAL_decode_uint32
libdistcache
Tag | Description |
---|---|
distcache/dc_plug.h | This header provides the DC_PLUG abstraction. This encapsulates a connection and implements the distcache protocol and various functions for manipulating the reading and writing of distcache messages (requests or responses). This abstraction can support client and server implementations of the distcache protocol and supports asynchronous behaviour by interacting with libnal’s NAL_SELECTOR type. For more information, see DC_PLUG_new(2). |
distcache/dc_client.h | This header declares a higher-level (and much simpler) API than dc_plug.h, and is useful in applications that want API functions that ‘‘do cache operations’’. The API is blocking, and provides simplistic ‘‘add’’, ‘‘remove’’, and ‘‘get’’ functions that only return once the full request/response cycle is complete or an error has occured. This is the API used to add distcache support to applications like Apache, stunnel, etc. For more information, see DC_CTX_new(2). |
libdistcacheserver
APIlibdistcacheAPICVSDC_SERVER_new
ライセンス
distcachelibnalLGPLGNU
BUGS
OS
関連項目
Tag | Description |
---|---|
dc_server(1) | Distributed caching server. |
dc_client(1) | Distributed caching client proxy |
dc_snoop(1) | Distcache protocol analyser and debugging tool. |
http://www.distcache.org/ | Distcache home page. |
著者
geoff@geoffthorpe.net
ホームページ:http://www.distcache.org link:/unix_commands/index [previous] link:/unix_commands/index [next]リンク:/cgi-bin/printversion.cgi?tutorial = unix_commands&file = distcache [Printer Friendly]
Advertisements |