タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

Redisに関するishiducaのブックマーク (4)

  • Redis Sentinelを動かしてみた · さよならインターネット

    January 24, 2013 以前、Redis Sentinelを試すというエントリーを書きましたが もう少し入り込んで検証してみた。 殴り書きの域を出ていないので適時アップデートしていきたい。 検証環境 DATE: 2013/01/25 CentOS 6.3 Redis 2.6.9(remi) ドキュメント http://redis.io/topics/sentinel こちらを参考に行います。 Sentinelの設定、および起動方法 $ /usr/local/bin/redis-server /etc/sentinel.conf --sentinel [28498] 25 Jan 01:28:24.447 * Max number of open files set to 10032 _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 2.6.9

  • Redis Sentinelを試す · さよならインターネット

    January 15, 2013 某社ではRedisをKeepalivedでフェイルオーバーする構成案 / 酒日記 はてな支店 みたいな構成が使われているとか使われていないとかで、Sentinelはどうなのだろうか というお話がわいたので、カジュアルに試してみました。 参考:Redis Sentinel Documentation 6379 Port が Master 6380 Port が 6379のSlave 上記内容のRedisのセットがあるとします。 [hoge@example ~]# [hoge@example ~]# redis-cli -p 6379 info | grep role -3 latest_fork_usec:340 # Replication role:master connected_slaves:1 slave0:127.0.0.1,6380,online

  • Using Redis for Real Time Application - Kentaro Kuribayashi's blog

    I'm curious about how scale out WebSocket-based implementation of, for example, chat-like service. Can it be easily scaled out to multiple app servers? I think Server-Sent Events and Redis can easily solve the problem. The biggest difference between WebSocket and SSE is bi-directional or not. Posting messages can be done via usual XHR. So, the problem just sits on how server can sent message chunk

    Using Redis for Real Time Application - Kentaro Kuribayashi's blog
  • Redis - Tech Note

    このページではインメモリKVS(Key-Value Store)のRedisに関するメモを書いています。 ブログでもまとめてあるので参考までに。 Redisの監視/分析系ツールまとめ インメモリKVSのRedisについて Redis AS3クライアント 環境 CentOS 5.8 (x86_64) Redis 2.2.8, 2.6.10 Rubyクライアント redis-rb Pythonクライアント redis-py PHPクライアント predis Redis data types (型について) Redisは基の文字列型の他にリストやセット、ハッシュなどの様々な型があるが、それぞれの型に対するコマンドがatomicに動作するという特徴を持つ (参照: Command reference – Redis)。 String (文字列) 基となる文字列型。整数文字列をセットしてインクリ

  • 1