「Memcached」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(新規作成)
 
(→‎See also: 飜訳)
32行目: 32行目:
 
* Gambas: {{Pkg|gambas3-gb-memcached}}
 
* Gambas: {{Pkg|gambas3-gb-memcached}}
   
== See also ==
+
== 参照 ==
   
 
* [https://unix.stackexchange.com/questions/176916/where-is-the-memcached-configuration-file-in-archlinux unix.stackexchange.com]
 
* [https://unix.stackexchange.com/questions/176916/where-is-the-memcached-configuration-file-in-archlinux unix.stackexchange.com]

2022年7月7日 (木) 17:41時点における版

関連記事

From Wikipedia:memcached:

Memcached (pronunciation: mem-cashed, mem-cash-dee) is a general-purpose distributed memory caching system. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source (such as a database or API) must be read.

The system uses a client–server architecture. The servers maintain a key–value associative array; the clients populate this array and query it by key. Keys are up to 250 bytes long and values can be at most 1 megabyte in size.

Clients use client-side libraries to contact the servers which, by default, expose their service at port 11211. Both TCP and UDP are supported. Each client knows all servers; the servers do not communicate with each other. If a client wishes to set or read the value corresponding to a certain key, the client's library first computes a hash of the key to determine which server to use. This gives a simple form of sharding and scalable shared-nothing architecture across the servers.

インストール

memcached パッケージをインストールします。

設定

Since 1.5.6 memcached defaults to listening only on TCP. -l allows you to bind to specific interfaces or IP addresses By default, memcached listens for connections only on local network interfaces. It may be preferred to change the -l option to allow listening on external addresses instead. See memcached(1).

memcached.service編集して、パラメータを変更します。


memcached.service開始/有効化します。

クライアント側ソフトウェア

参照