[00:04:58] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [00:05:05] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [00:09:03] domino14 (~Adium@173-228-114-197.static.sonic.net) left irc: Quit: Leaving. [00:15:57] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [00:16:00] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [00:16:13] hoodow (~hoodow@pdpc/supporter/active/hoodow) left irc: Ping timeout: 240 seconds [00:17:11] rittyan (~rittyan@95-25-230-30.broadband.corbina.ru) joined #redis. [00:17:17] hoodow (~hoodow@pdpc/supporter/active/hoodow) joined #redis. [00:26:51] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [00:26:53] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [00:28:20] markdaws (~markdaws@c-67-182-136-6.hsd1.wa.comcast.net) left irc: Remote host closed the connection [00:30:07] tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection [00:36:14] kenperkins (HydraIRC@50-47-18-37.evrt.wa.frontiernet.net) joined #redis. [00:37:41] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [00:37:45] Wombert_ (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [00:45:43] thehodge (~thehodge@2001:470:1f09:13a3:6d97:eddc:7cd2:a6a0) joined #redis. [00:46:41] Geffy (~geoffgars@2a02:40:2:0:dc4e:ee99:46de:a3da) joined #redis. [00:48:38] Wombert_ (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [00:48:40] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [00:50:05] kenperkins (HydraIRC@50-47-18-37.evrt.wa.frontiernet.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/ [00:59:24] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [00:59:33] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [01:03:43] aguynamedben (~aguynamed@c-24-6-38-37.hsd1.ca.comcast.net) left irc: Quit: aguynamedben [01:03:56] agentzh (~agentz@nginx/adept/agentzh) joined #redis. [01:04:15] superjudge_ (~superjudg@195.22.80.140) joined #redis. [01:07:12] superjudge (~superjudg@195.22.80.141) left irc: Ping timeout: 240 seconds [01:07:12] Nick change: superjudge_ -> superjudge [01:10:23] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [01:10:26] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [01:21:12] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [01:21:20] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [01:24:21] bngle (bungle@roundup.nwo.fi) joined #redis. [01:24:51] bngle (bungle@roundup.nwo.fi) left irc: Client Quit [01:27:44] bngle (bungle@roundup.nwo.fi) joined #redis. [01:28:08] dvirsky (~TheDude@bzq-79-178-16-206.red.bezeqint.net) joined #redis. [01:30:27] gnrfan (~gnrfan@190.43.188.177) left irc: Quit: This computer has gone to sleep [01:32:12] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [01:32:16] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [01:37:17] wilmoore (~wilmoore@c-24-8-147-56.hsd1.co.comcast.net) joined #redis. [01:38:29] gnrfan (~gnrfan@190.43.188.177) joined #redis. [01:42:28] PiotrSikora (~none@nginx/adept/piotrsikora) left irc: Excess Flood [01:43:02] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [01:43:07] Wombert_ (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [01:43:27] Geffy (~geoffgars@2a02:40:2:0:dc4e:ee99:46de:a3da) left irc: Quit: leaving [01:43:27] PiotrSikora (~none@nginx/adept/piotrsikora) joined #redis. [01:47:07] zircote (~zircote@173-96-176-117.pools.spcsdns.net) joined #redis. [01:47:29] bzinger (~bzinger@79.135.102.174) joined #redis. [01:53:16] wilmoore_ (~wilmoore@c-24-8-147-56.hsd1.co.comcast.net) joined #redis. [01:53:25] wilmoore (~wilmoore@c-24-8-147-56.hsd1.co.comcast.net) left irc: Read error: Connection reset by peer [01:53:58] Wombert_ (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [01:54:00] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [01:56:01] drbobbeaty (~drbobbeat@c-67-184-75-162.hsd1.il.comcast.net) joined #redis. [01:56:16] skade (~skade@p5DC56B8B.dip.t-dialin.net) joined #redis. [01:58:56] ArmyOfBruce (~bmitchene@waywardmonkeys.com) left irc: Excess Flood [01:59:23] ArmyOfBruce (~bmitchene@waywardmonkeys.com) joined #redis. [02:04:51] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [02:04:54] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [02:09:05] dvirsky (~TheDude@bzq-79-178-16-206.red.bezeqint.net) left irc: Quit: No Ping reply in 180 seconds. [02:09:16] lux___ (~lux@ppp-244-103.24-151.libero.it) joined #redis. [02:09:25] dvirsky (~TheDude@bzq-79-178-16-206.red.bezeqint.net) joined #redis. [02:09:44] thehodge (~thehodge@2001:470:1f09:13a3:6d97:eddc:7cd2:a6a0) left irc: Remote host closed the connection [02:10:08] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) joined #redis. [02:11:35] VasilisWong (~WL@182.92.247.2) joined #redis. [02:12:13] hi everybody [02:13:25] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) left irc: Read error: Operation timed out [02:14:35] what's the meaning for "mem_fragmentation_ratio"? can anybody answer me? [02:15:43] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [02:15:46] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [02:16:23] lux___ (~lux@ppp-244-103.24-151.libero.it) left irc: Quit: This computer has gone to sleep [02:17:21] superjudge (~superjudg@195.22.80.140) left irc: Remote host closed the connection [02:17:44] superjudge (~superjudg@195.22.80.141) joined #redis. [02:25:14] drbobbeaty (~drbobbeat@c-67-184-75-162.hsd1.il.comcast.net) left irc: Quit: drbobbeaty [02:26:37] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [02:26:42] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [02:30:10] wilmoore_ (~wilmoore@c-24-8-147-56.hsd1.co.comcast.net) left irc: Remote host closed the connection [02:37:16] old_sound (~old_sound@77-58-253-248.dclient.hispeed.ch) joined #redis. [02:37:31] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Read error: Connection reset by peer [02:37:36] Wombert_ (~Wombert@2001:5a8:4:6d6f:d501:f34b:4d17:93ef) joined #redis. [02:42:23] thehodge (~thehodge@82.109.33.196) joined #redis. [02:59:19] tisba (~tisba@koln-4d0b15a6.pool.mediaWays.net) joined #redis. [03:01:56] VasilisWong: the ratio between the net memory redis has allocated, and the actual amount of system RAM assigned to redis [03:02:39] actually the opposite of this ratio [03:02:50] fintler (~fintler@unaffiliated/fintler) left irc: Ping timeout: 276 seconds [03:04:10] bzinger (~bzinger@79.135.102.174) left irc: Read error: Connection reset by peer [03:04:22] gnrfan (~gnrfan@190.43.188.177) left irc: Quit: This computer has gone to sleep [03:05:34] hey guys. as far as I understand redis replication it is a async process. is there any way to tell, how far a slave is behind its master? [03:08:10] rittyan_ (~rittyan@95-25-230-30.broadband.corbina.ru) joined #redis. [03:08:11] rittyan (~rittyan@95-25-230-30.broadband.corbina.ru) left irc: Read error: Connection reset by peer [03:08:47] tks to dvirsky. what if that ratio is larger. e.g. it's up to 1000 [03:09:25] 1000?! it's usually around 1.25 [03:09:33] maybe there's very little data? [03:09:49] yes [03:09:54] only 1-2M data [03:10:06] what version of redis? [03:10:35] redis v2.2.2 [03:11:01] mmmm, before continuing anything, I'd upgrade to latest 2.4.x [03:11:17] the whole memory allocator has been changed and replication is more or less a non issue [03:11:39] I mean fragmentation, not replication, sorry [03:12:01] tibsa: AFAIK there's no way of knowing [03:12:06] bzinger (~bzinger@79.135.102.174) joined #redis. [03:12:45] i got u. but recenly, there are more and more read timeout exceptions nearly 21:00 [03:13:01] dvirsky: in that case I'll try to figure out a way to do on the application level [03:13:19] if the redis organized mem fragmention periodly? [03:13:51] rittyan (~rittyan@95-25-230-30.broadband.corbina.ru) joined #redis. [03:14:01] rittyan_ (~rittyan@95-25-230-30.broadband.corbina.ru) left irc: Read error: Connection reset by peer [03:17:21] fragmentation, sorry, not fragmention [03:23:25] io_syl (~io_syl@adsl-68-125-50-109.dsl.pltn13.pacbell.net) left irc: Quit: Computer has gone to sleep. [03:28:26] VasilisWong: I don't think redis does that. but please try 2.4, it is much better in this sense, and very stable [03:29:18] tisba: you can tell when the sync is done, but how much of it? well, you can estimate it by sniffing the network and stuff like that, but it won't be very reliable [03:29:55] dvirsky: hmm, how can I tell if the sync is up to date? [03:30:23] I thought you meant initial sync... [03:30:51] there's a way of telling the delay in the application layer very reliably actually [03:31:12] do BLPOP on a list (that blocks until a value is available) [03:31:15] on the slave [03:31:17] my idea was to update a specific known document on the master and reading it back from the slave [03:31:21] then on the master, push to this list [03:31:25] oh [03:31:30] this sounds nice [03:31:45] yes, it's actually a sync lock [03:32:04] but only for the client? I hope that the node.js lib supports that :) [03:32:10] but thanks for the hint [03:32:38] you can look at it as as some sort of semaphore indicating that a slave is in sync [03:32:58] or just sample the avg or median delay to estimate it [03:35:58] nice. I don't need super high precision. I just want to make sure, I can detect problems or significant delays (e.g. >1min), so I can take actions to handle this situation [03:38:19] alc (~nek@61.135.165.188) joined #redis. [03:40:12] seivan (~seivan@bb116-15-97-134.singnet.com.sg) joined #redis. [03:42:39] loxs (~metin@85.91.143.230) joined #redis. [03:47:41] drbobbeaty (~drbobbeat@38.98.137.29) joined #redis. [03:47:41] rittyan (~rittyan@95-25-230-30.broadband.corbina.ru) left irc: Read error: Connection reset by peer [03:48:03] rittyan (~rittyan@95-25-230-30.broadband.corbina.ru) joined #redis. [03:58:32] d0k (~d0k@aef.wh.uni-dortmund.de) joined #redis. [03:59:40] ArmyOfBruce (~bmitchene@waywardmonkeys.com) left irc: Excess Flood [04:00:09] ArmyOfBruce (~bmitchene@waywardmonkeys.com) joined #redis. [04:01:43] lux___ (~lux@ppp-244-103.24-151.libero.it) joined #redis. [04:09:16] Anyone got any experience with https://github.com/Sirupsen/cachedis in production? [04:09:23] I love that it's DB agnostic, as long as shit can get serialized [04:18:09] ceej (~anonymous@cpe-72-190-40-203.tx.res.rr.com) joined #redis. [04:20:11] looks nice, never used it [04:21:26] p1d (~p1d@ns1.vonaffenfels.de) joined #redis. [04:40:21] dvirsky: do you know what master_last_io_seconds_ago (from INFO) exactly means? [04:41:01] nope [04:43:11] lux___ (~lux@ppp-244-103.24-151.libero.it) left irc: Quit: This computer has gone to sleep [04:46:08] dvirsky: https://groups.google.com/d/msg/redis-db/CBgiLcB0QpE/fXxB2Xbyn7kJ [04:47:01] that's useful to detect very long delays, but can't tell you the exact delay [04:48:22] loxs (~metin@85.91.143.230) left irc: Quit: Leaving [04:48:56] __alex (~alex@business-178-015-083-042.static.arcor-ip.net) joined #redis. [04:52:15] dvirsky: good point [04:53:12] the documentation is unfortunately not very good (and complete) on the INFO command [04:53:23] yes, it's pretty old [04:54:09] what I would do if I'd want to know the status, is keep a separate thread or even process, that just samples delays in the method I suggetsed, and writes a key with the current and average delay, that can be queried by anyone [04:54:20] seppo0010 (~Adium@200.69.194.105) joined #redis. [04:59:22] soveran (~soveran@186.19.214.247) joined #redis. [05:10:53] seivan (~seivan@bb116-15-97-134.singnet.com.sg) left irc: Remote host closed the connection [05:16:55] rb2k (~rb2k@HSI-KBW-149-172-19-196.hsi13.kabel-badenwuerttemberg.de) joined #redis. [05:17:33] alc (~nek@61.135.165.188) left irc: Ping timeout: 252 seconds [05:18:52] bzinger (~bzinger@79.135.102.174) left irc: Read error: Operation timed out [05:19:08] alc (~nek@61.135.165.188) joined #redis. [05:26:43] bzinger (~bzinger@79.135.102.174) joined #redis. [05:42:52] ceej (~anonymous@cpe-72-190-40-203.tx.res.rr.com) left irc: Remote host closed the connection [05:43:26] ceej (~anonymous@cpe-72-190-40-203.tx.res.rr.com) joined #redis. [05:51:39] lstrojny (~lstrojny@ppp-188-174-67-183.dynamic.mnet-online.de) left irc: Quit: lstrojny [05:57:03] bzinger (~bzinger@79.135.102.174) left irc: Quit: bzinger [06:01:38] alc (~nek@61.135.165.188) left irc: Ping timeout: 245 seconds [06:02:22] rbd (~rbd@cpe-173-095-183-151.nc.res.rr.com) joined #redis. [06:04:36] hey guys...in my redis.conf file I have "maxmemory 256m" and "vm-max-memory 256m", but redis ends up blowing up to about 1GB of memory on my system and cause major issues (CPU spikes as the kernel tries to swap and find memory for it). If I then clear the redis cache (redis-cli keys "*" | while read LINE ; do RES=`redis-cli del $LINE`; done;), the memory doesn't decrease and I still get the [06:04:36] error "command not allowed when used memory > 'maxmemory'" in my apps...any ideas? [06:05:24] I'm thinking I don't fully understand redis memory management...I thought it should be removing volatile keys before it hits that limit...unless none of my keys are marked as volatile/have an expiration time that is passed [06:08:28] seppo0010 (~Adium@200.69.194.105) left #redis. [06:09:44] rb2k (~rb2k@HSI-KBW-149-172-19-196.hsi13.kabel-badenwuerttemberg.de) left irc: Quit: rb2k [06:15:40] ArmyOfBruce (~bmitchene@waywardmonkeys.com) left irc: Excess Flood [06:16:04] ArmyOfBruce (~bmitchene@waywardmonkeys.com) joined #redis. [06:19:12] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) joined #redis. [06:26:54] wam (~wam@unaffiliated/wam) left irc: Read error: Operation timed out [06:30:18] loxs (~metin@85.91.143.230) joined #redis. [06:30:52] lux___ (~lux@ppp-244-103.24-151.libero.it) joined #redis. [06:55:15] old_sound (~old_sound@77-58-253-248.dclient.hispeed.ch) left irc: Quit: old_sound [06:55:27] fintler (~fintler@blueone.lanl.gov) joined #redis. [06:55:30] fintler (~fintler@blueone.lanl.gov) left irc: Changing host [06:55:30] fintler (~fintler@unaffiliated/fintler) joined #redis. [06:58:48] lux___ (~lux@ppp-244-103.24-151.libero.it) left irc: Read error: Connection timed out [06:59:05] lux___ (~lux@ppp-244-103.24-151.libero.it) joined #redis. [07:00:32] Brend_ (~brend@112.105.156.160) left irc: Remote host closed the connection [07:02:39] axl_ (~axl@216-43-114-19.ip.mcleodusa.net) joined #redis. [07:05:49] seivan (~seivan@cm139.eta200.maxonline.com.sg) joined #redis. [07:06:10] radiocats (~chatzilla@h-64-236-128-41.nat.aol.com) joined #redis. [07:06:49] fmeyer (~fmeyer@189-38-236-217.static-corp.ajato.com.br) joined #redis. [07:07:10] rsampaio (~rodrigo@189-69-146-184.dial-up.telesp.net.br) left irc: Quit: Computer has gone to sleep. [07:08:35] seivan (~seivan@cm139.eta200.maxonline.com.sg) left irc: Remote host closed the connection [07:10:23] maqr (~maqr@httpcraft/hax) left irc: Ping timeout: 258 seconds [07:12:03] davidcoallier (~david@couchdb/user/davidc) joined #redis. [07:12:44] EyePulp (~eyepulp@c-67-173-34-83.hsd1.il.comcast.net) joined #redis. [07:13:59] rb2k (~rb2k@2001:6f8:1334:0:40ff:c251:1cb8:83e) joined #redis. [07:14:59] advt (~mehaves@you-just.gotpwned.com) joined #redis. [07:15:10] howdy folks. Running a 2.4.1 slave and getting really high disk IO. iotop is telling me my redis.conf is getting hit a lot, along with the ssh tunnel that points out to my master db. I'm still learning this, so looking for some direction on diagnosis and hopefully reducing the io, since the DB easily seems to fit into memory. [07:16:48] xetorthio (~jleibiusk@206.132.109.43) joined #redis. [07:16:59] Sarevok (~locke@rrcs-98-101-176-143.midsouth.biz.rr.com) joined #redis. [07:22:59] EyePulp: any chance there might be a watchdog that's constantly trying to start another redis process, thus reading redis.conf? [07:23:12] runsv or something like that [07:24:20] dvirsky: redis was started with an upstart conf file [07:24:31] (ubuntu) [07:24:35] includex (~includex@194.65.5.235) joined #redis. [07:24:47] I see no reason why redis.conf will be read constantly [07:25:02] redis.log - for sure [07:25:05] but redis.conf? [07:28:33] hrm… going to log iotop for a bit to get a record. [07:31:43] xetorthio (~jleibiusk@206.132.109.43) left irc: Ping timeout: 256 seconds [07:32:34] superjudge (~superjudg@195.22.80.141) left irc: Quit: superjudge [07:32:41] kjournald is hit a lot [07:33:11] Brend (~brend@60-251-59-178.HINET-IP.hinet.net) joined #redis. [07:50:00] fmeyer (~fmeyer@189-38-236-217.static-corp.ajato.com.br) left irc: Ping timeout: 240 seconds [07:51:45] Comandante (~Comandant@206.132.109.241) joined #redis. [07:54:56] fmeyer (~fmeyer@c9518027.virtua.com.br) joined #redis. [07:55:25] xetorthio (~jleibiusk@206.132.109.241) joined #redis. [07:57:28] seppo0010 (~Adium@200.69.194.105) joined #redis. [08:00:09] robblesz (robblesz@204.45.118.171) left irc: Quit: . [08:00:39] robblesz (robblesz@204.45.118.171) joined #redis. [08:03:10] nevans (~nick@12.167.132.78) left irc: Read error: Connection reset by peer [08:04:02] okay, so I have an upstart conf file which launches the redis-server, and if I shut down the service things suddenly get a lot friendlier on the io front. [08:04:18] nevans (~nick@12.167.132.78) joined #redis. [08:04:31] nevans (~nick@12.167.132.78) left irc: Read error: Connection reset by peer [08:05:45] nevans (~nick@12.167.132.78) joined #redis. [08:06:01] nevans (~nick@12.167.132.78) left irc: Read error: Connection reset by peer [08:07:18] nevans (~nick@12.167.132.78) joined #redis. [08:07:30] nevans (~nick@12.167.132.78) left irc: Read error: Connection reset by peer [08:08:00] zircote (~zircote@173-96-176-117.pools.spcsdns.net) left irc: Remote host closed the connection [08:08:26] tjholowaychuk (~tj@S0106000352031482.gv.shawcable.net) joined #redis. [08:08:29] tjholowaychuk (~tj@S0106000352031482.gv.shawcable.net) left irc: Excess Flood [08:08:45] tjholowaychuk (~tj@S0106000352031482.gv.shawcable.net) joined #redis. [08:08:46] nevans (~nick@12.167.132.78) joined #redis. [08:09:03] nevans (~nick@12.167.132.78) left irc: Read error: Connection reset by peer [08:10:07] nevans (~nick@12.167.132.78) joined #redis. [08:10:34] nevans (~nick@12.167.132.78) left irc: Read error: Connection reset by peer [08:11:30] nevans (~nick@12.167.132.78) joined #redis. [08:12:05] nevans (~nick@12.167.132.78) left irc: Read error: Connection reset by peer [08:13:10] nevans (~nick@12.167.132.78) joined #redis. [08:13:35] nevans (~nick@12.167.132.78) left irc: Read error: Connection reset by peer [08:13:46] seppo0010 (~Adium@200.69.194.105) left #redis. [08:21:25] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) left irc: Quit: jtsnow [08:23:08] rsampaio (~rodrigo@187.45.255.40) joined #redis. [08:25:45] ank (~ank@c-67-172-16-188.hsd1.pa.comcast.net) joined #redis. [08:26:17] lux___ (~lux@ppp-244-103.24-151.libero.it) left irc: Read error: Connection timed out [08:26:45] lux___ (~lux@ppp-244-103.24-151.libero.it) joined #redis. [08:27:07] bugant (~matteo@93-62-138-226.ip22.fastwebnet.it) joined #redis. [08:29:47] fmeyer (~fmeyer@c9518027.virtua.com.br) left irc: Ping timeout: 276 seconds [08:30:16] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) joined #redis. [08:31:50] gnrfan (~gnrfan@190.43.188.177) joined #redis. [08:32:03] hi there [08:33:16] EyePulp: curious if your issue might be related to https://twitter.com/#!/antirez/status/129197771835191296 [08:33:44] skrul (~skrul@70-36-146-156.dsl.dynamic.sonic.net) joined #redis. [08:34:12] Seldaek: interesting - what's the AOF log? [08:36:21] zerok (~zerok@pdpc/supporter/active/zerok) left irc: Excess Flood [08:38:00] seivan (~seivan@cm139.eta200.maxonline.com.sg) joined #redis. [08:38:51] EyePulp: append-only file, it's one of the persistence modes [08:39:07] in any case, try to upgrade to 2.4.2, it might help :) [08:39:12] ahh… that is interesting. [08:40:04] would there be anything in the redis.conf controlling that? [08:41:36] EyePulp: have a look! [08:41:49] bugant: I am [08:42:20] EyePulp: the example redis.conf has nice comment [08:42:54] bugant: certainly does. I don't see a lot on controlling the AOF other than the location [08:43:59] EyePulp: search for appendonly [08:44:30] ahh [08:44:35] EyePulp: read on from there, what you are looking for [08:44:43] is appendfsync [08:44:47] parameter [08:45:15] or config, as you prefer [08:47:36] io_syl (~io_syl@96.24.68.1) joined #redis. [08:48:51] includex (~includex@194.65.5.235) left irc: Remote host closed the connection [08:48:57] I'm setting appendfsync to no for the moment to test. [08:50:10] mkrecny (~mkrecny@rrcs-50-74-74-5.nyc.biz.rr.com) joined #redis. [08:50:40] anyone using redis as a TTL'd cache under really high load in production?> [08:50:44] agentzh (~agentz@nginx/adept/agentzh) left irc: Quit: Leaving. [08:52:49] Nick change: edsu -> jrochkind_lunch [08:53:05] p1d (~p1d@ns1.vonaffenfels.de) left irc: Quit: ... [08:53:32] kenperkins (~textual@174-24-130-78.tukw.qwest.net) joined #redis. [08:53:32] Nick change: jrochkind_lunch -> anarchivist_lunc [08:53:51] Nick change: anarchivist_lunc -> edsu [08:56:23] stephank (~stephank@82.197.214.45) joined #redis. [08:56:38] ttpva (~ttpva@64-71-24-18.static.wiline.com) joined #redis. [08:58:23] aguynamedben (~aguynamed@173-164-219-53-SFBA.hfc.comcastbusiness.net) joined #redis. [08:58:48] lux___ (~lux@ppp-244-103.24-151.libero.it) left irc: Read error: Connection timed out [08:58:56] Brend (~brend@60-251-59-178.HINET-IP.hinet.net) left irc: Remote host closed the connection [08:59:11] aguynamedben (~aguynamed@173-164-219-53-SFBA.hfc.comcastbusiness.net) left irc: Client Quit [08:59:24] lux___ (~lux@ppp-244-103.24-151.libero.it) joined #redis. [09:01:53] rurufufuss (~rurufufus@115-64-27-246.static.tpgi.com.au) joined #redis. [09:07:45] fmeyer (~fmeyer@189-38-236-217.static-corp.ajato.com.br) joined #redis. [09:07:51] zerok (~zerok@pdpc/supporter/active/zerok) joined #redis. [09:08:31] mkrecny : yes [09:08:47] (now I switched from memcahed anyway)! [09:11:28] fmeyer (~fmeyer@189-38-236-217.static-corp.ajato.com.br) left irc: Client Quit [09:13:38] fmeyer (~fmeyer@189-38-236-217.static-corp.ajato.com.br) joined #redis. [09:15:53] aguynamedben (~aguynamed@173-164-219-53-SFBA.hfc.comcastbusiness.net) joined #redis. [09:17:00] seivan (~seivan@cm139.eta200.maxonline.com.sg) left irc: Remote host closed the connection [09:19:04] Brend (~brend@60-251-59-178.HINET-IP.hinet.net) joined #redis. [09:28:37] jm3 (~jm3_@173-13-169-18-sfba.hfc.comcastbusiness.net) joined #redis. [09:30:09] __alex (~alex@business-178-015-083-042.static.arcor-ip.net) left irc: Ping timeout: 256 seconds [09:30:53] markdaws (~markdaws@174-24-130-78.tukw.qwest.net) joined #redis. [09:35:16] andymccurdy (~andymccur@c-67-188-242-100.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep. [09:35:29] NodeX how's it going? [09:36:16] spasquali (~spasquali@64.61.91.74) joined #redis. [09:36:23] spasquali (~spasquali@64.61.91.74) left #redis. [09:36:29] NodeX: great. redis >>>>>>>>>>>>>> memcached [09:38:07] ron : NodeX : I'm switching away from MongoDB - u guys have any thoughts regarding relative performance? [09:38:37] comparing redis and mongodb is comparing apples and oranges. [09:39:12] ron true - but as a simple cache - which would be more performant - assuming the entire cache is in your working set w/ mongo [09:39:14] comparing redis and memcached is comparing fresh, shiny apples with old, rotten apples. [09:39:30] for a cache redis would be better. [09:39:43] ron - cool - why? [09:39:54] because it's in-memory? [09:40:24] ron well I said in mongo the entire cache is in the working set (ie in memory)... [09:40:44] I imagine it'd still be more efficient in redis. [09:41:25] they're really not built to solve the same problems, from what I've seen. [09:42:42] ron sure - but what hard facts are those imaginings based upon [09:42:46] Nick change: wmoss|away -> wmoss [09:43:12] EyePulp yeah they're built to solve different problems ... [09:44:57] vidi (~vidi@75.92.81.135) left irc: Quit: vidi [09:45:55] It's like saying my fruit salad is faster than your beanbag chair. [09:46:07] lol [09:50:34] tisba (~tisba@koln-4d0b15a6.pool.mediaWays.net) left irc: Quit: tisba [09:50:41] cyx (~cyx@rrcs-24-43-163-86.west.biz.rr.com) joined #redis. [09:56:17] io_syl (~io_syl@96.24.68.1) left irc: Quit: goodbye [09:57:43] not really - all though they're different in many ways they're both a type of key value store [09:57:48] and could be used to build a cache [09:58:00] i want to compare them as caches [09:58:16] i'm not trying to compare them 'in general' [09:59:19] namelessnotion (~namelessn@c-24-11-210-52.hsd1.mi.comcast.net) joined #redis. [09:59:24] mkrecny: I may be able to go into it a bit later, but right now I'm going home. Been a long day, wanna go home. now. laters ;) [09:59:45] ron don't bother [09:59:59] going home or replying later? ;) [10:01:45] io_syl (~io_syl@96.24.68.1) joined #redis. [10:01:47] replying later [10:01:50] go home by all means [10:03:59] hey all, i was wondering when backing up the redis aof file, should you simply make a copy of it? is there any danger of problems if the file is written to while the copy is in progress? [10:04:48] xetorthio (~jleibiusk@206.132.109.241) left irc: Ping timeout: 240 seconds [10:12:01] soveran (~soveran@186.19.214.247) left irc: Remote host closed the connection [10:13:11] loxs (~metin@85.91.143.230) left irc: Remote host closed the connection [10:14:28] bugant (~matteo@93-62-138-226.ip22.fastwebnet.it) left irc: Quit: leaving [10:15:37] io_syl (~io_syl@96.24.68.1) left irc: Read error: Connection reset by peer [10:16:44] io_syl (~io_syl@96.24.68.1) joined #redis. [10:17:05] vidi (~vidi@108-195-230-57.lightspeed.irvnca.sbcglobal.net) joined #redis. [10:17:52] io_syl (~io_syl@96.24.68.1) left irc: Client Quit [10:18:07] io_syl (~io_syl@96.24.68.1) joined #redis. [10:20:09] kersny (~kersny@64.31.22.33) left irc: Ping timeout: 260 seconds [10:20:11] blueadept (~blueadept@unaffiliated/blueadept) left #redis ("Leaving"). [10:20:42] kersny (~kersny@64.31.22.33) joined #redis. [10:23:13] seppo0010 (~Adium@200.69.194.105) joined #redis. [10:33:23] dvirsky (~TheDude@bzq-79-178-16-206.red.bezeqint.net) left irc: Ping timeout: 252 seconds [10:39:52] andymccurdy (~andymccur@69.12.160.66) joined #redis. [10:41:04] seppo0010 (~Adium@200.69.194.105) left #redis. [10:41:43] pietern (~pieter@208.91.1.14) joined #redis. [10:41:43] #redis: mode change '+v pietern' by ChanServ!ChanServ@services. [10:42:33] #redis: mode change '+o pietern' by ChanServ!ChanServ@services. [10:42:42] Topic changed on #redis by pietern!~pieter@208.91.1.14: Redis 2.4.2 stable released! | http://redis.io/download | This channel is logged at http://redis.hackyhack.net and http://irclogger.com/redis [10:42:55] #redis: mode change '-o pietern' by ChanServ!ChanServ@services. [10:46:32] rb2k (~rb2k@2001:6f8:1334:0:40ff:c251:1cb8:83e) left irc: Quit: rb2k [10:48:21] Nick change: wmoss -> wmoss|away [10:51:39] xetorthio (~jleibiusk@206.132.109.241) joined #redis. [10:52:46] soveran (~soveran@186.19.214.247) joined #redis. [10:52:53] _macro (~Neil@c-67-169-183-90.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep [10:53:59] kersny (~kersny@64.31.22.33) left irc: Ping timeout: 260 seconds [10:54:22] kersny (~kersny@64.31.22.33) joined #redis. [10:55:58] mrb_bk: did you already solve the issue? [10:59:23] thehodge (~thehodge@82.109.33.196) left irc: Remote host closed the connection [10:59:48] thehodge (~thehodge@82.109.33.196) joined #redis. [11:04:13] thehodge (~thehodge@82.109.33.196) left irc: Ping timeout: 240 seconds [11:07:27] rurufufuss (~rurufufus@115-64-27-246.static.tpgi.com.au) left irc: Remote host closed the connection [11:09:29] Comandante (~Comandant@206.132.109.241) left irc: Remote host closed the connection [11:11:57] gnrfan (~gnrfan@190.43.188.177) left irc: Quit: Leaving [11:12:24] xetorthio (~jleibiusk@206.132.109.241) left irc: Ping timeout: 240 seconds [11:16:38] skade (~skade@p5DC56B8B.dip.t-dialin.net) left irc: Quit: Computer has gone to sleep. [11:18:10] Nick change: wmoss|away -> wmoss [11:18:54] awksedgreep (~awksedgre@66.6.147.87) joined #redis. [11:19:06] lux___ (~lux@ppp-244-103.24-151.libero.it) left irc: Quit: This computer has gone to sleep [11:21:24] kersny (~kersny@64.31.22.33) left irc: Ping timeout: 260 seconds [11:21:48] kersny (~kersny@64.31.22.33) joined #redis. [11:26:17] skrul - yeah good q i've often wondered [11:27:46] mkrecny: i found this http://groups.google.com/group/redis-db/browse_thread/thread/3ab70d8f0a179878 which sounds reasonable [11:29:00] skrul - nice [11:30:11] deepthawtz (~deepthawt@c-69-181-52-55.hsd1.ca.comcast.net) joined #redis. [11:30:56] Kevlar_ (~Kevlar_@pool-71-184-182-91.bstnma.east.verizon.net) joined #redis. [11:31:55] Hey about to setup redis for first time for a very simple delayed mailing job with rails.. what's sorta the minimum amount of RAM that should be allocated to something that may just hold a few thousand queues? [11:37:44] kersny (~kersny@64.31.22.33) left irc: Ping timeout: 260 seconds [11:38:06] kersny (~kersny@64.31.22.33) joined #redis. [11:38:37] ambroff (~ambroff@209.66.114.6) left irc: Quit: ambroff [11:40:30] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) joined #redis. [11:43:29] ambroff (~ambroff@209.66.114.6) joined #redis. [11:51:47] probably depends upon the size/# of the keys you'll be storing. [11:52:53] kersny (~kersny@64.31.22.33) left irc: Ping timeout: 260 seconds [11:53:24] kersny (~kersny@64.31.22.33) joined #redis. [11:56:33] xentek (~xentek@64.94.34.218) joined #redis. [11:57:29] hello redis folks [11:58:01] I'm running redis (mostly for resque) and my master has 1 CPU pegged and all operations (even info) is really slow [11:58:15] its an 8gb rackspace cloud server, only running redis, [11:58:35] and I'm not sure how to go about figuring out why its bottlenecked or how I'm causing it to happen [11:59:04] we're running 2.4.1 [11:59:18] kersny (~kersny@64.31.22.33) left irc: Ping timeout: 260 seconds [11:59:33] kersny (~kersny@64.31.22.33) joined #redis. [12:01:53] perezd (~derek@108-71-92-105.lightspeed.sntcca.sbcglobal.net) joined #redis. [12:04:16] gnrfan (u1161@gateway/web/irccloud.com/x-tqjyfulhjuxziame) joined #redis. [12:06:18] xentek: have you narrowed it to redis as the cpu killer? [12:06:29] its the only service on the box [12:06:53] kersny (~kersny@64.31.22.33) left irc: Ping timeout: 260 seconds [12:06:57] and redis operations in the cli (i.e. info) take forever to return [12:07:14] kersny (~kersny@64.31.22.33) joined #redis. [12:07:14] when I shut redis down, cpu immediately goes down too (when viewing in htop) [12:07:44] aguynamedben_ (~aguynamed@50-0-96-104.dsl.static.sonic.net) joined #redis. [12:08:19] aguynamedben (~aguynamed@173-164-219-53-SFBA.hfc.comcastbusiness.net) left irc: Ping timeout: 260 seconds [12:08:20] Nick change: aguynamedben_ -> aguynamedben [12:09:32] was trying to get to 'poormansprofiler.org' (which i saw in a redis related thread on the google group) but that site didn't pull up for me [12:10:47] merlin83 (~merlin83@unaffiliated/merlin83) left irc: Ping timeout: 276 seconds [12:12:24] aguynamedben (~aguynamed@50-0-96-104.dsl.static.sonic.net) left irc: Ping timeout: 240 seconds [12:12:35] aguynamedben (~aguynamed@173-164-219-53-SFBA.hfc.comcastbusiness.net) joined #redis. [12:13:02] alexdong (~alexdong@168.248.69.111.dynamic.snap.net.nz) left irc: Quit: alexdong [12:13:17] kersny (~kersny@64.31.22.33) left irc: Ping timeout: 259 seconds [12:14:22] kersny (~kersny@64.31.22.33) joined #redis. [12:14:52] xentek: what about its memory usage? [12:15:03] less than 10% [12:15:17] wam (~wam@dslb-088-067-148-156.pools.arcor-ip.net) joined #redis. [12:15:17] wam (~wam@dslb-088-067-148-156.pools.arcor-ip.net) left irc: Changing host [12:15:17] wam (~wam@unaffiliated/wam) joined #redis. [12:17:05] pietern: not yet! [12:17:17] incorrect (~incorrect@cpc7-cmbg14-2-0-cust43.5-4.cable.virginmedia.com) joined #redis. [12:17:21] pietern: are you stilll around? [12:17:27] mrb_bk: hi [12:20:17] kersny (~kersny@64.31.22.33) left irc: Ping timeout: 260 seconds [12:26:08] kersny (~kersny@64.31.22.33) joined #redis. [12:26:20] io_syl (~io_syl@96.24.68.1) left irc: Quit: Computer has gone to sleep. [12:34:33] ttpva (~ttpva@64-71-24-18.static.wiline.com) left irc: Quit: ttpva [12:35:53] skade (~skade@p4FCDFE8D.dip.t-dialin.net) joined #redis. [12:40:14] xetorthio (~jleibiusk@206.132.109.241) joined #redis. [12:47:20] lux___ (~lux@ppp-244-103.24-151.libero.it) joined #redis. [12:48:59] ambroff (~ambroff@209.66.114.6) left #redis. [12:54:00] tilgovi (~randall@69.111.59.167) joined #redis. [12:54:00] tilgovi (~randall@69.111.59.167) left irc: Changing host [12:54:00] tilgovi (~randall@couchdb/developer/tilgovi) joined #redis. [12:57:15] snowgoose (b2bfb71a@gateway/web/freenode/ip.178.191.183.26) joined #redis. [12:59:57] snowgoose (b2bfb71a@gateway/web/freenode/ip.178.191.183.26) left #redis. [13:06:06] Swimming_Bird (~textual@64.70.114.89) joined #redis. [13:06:54] skade (~skade@p4FCDFE8D.dip.t-dialin.net) left irc: Quit: Computer has gone to sleep. [13:07:12] ron (~ron@unaffiliated/ron) left irc: Ping timeout: 248 seconds [13:09:00] ambroff (~ambroff@209.66.114.6) joined #redis. [13:09:22] ebobby (~bobby@189.170.92.245) joined #redis. [13:09:57] skade (~skade@p4FCDFE8D.dip.t-dialin.net) joined #redis. [13:15:13] ron (~ron@unaffiliated/ron) joined #redis. [13:21:13] awksedgreep (~awksedgre@66.6.147.87) left irc: Quit: This computer has gone to sleep [13:23:17] blueadept (~blueadept@unaffiliated/blueadept) joined #redis. [13:36:15] soveran (~soveran@186.19.214.247) left irc: Remote host closed the connection [13:36:30] seppo0010 (~Adium@186.19.19.229) joined #redis. [13:46:48] tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 240 seconds [13:48:44] tilgovi (~randall@couchdb/developer/tilgovi) joined #redis. [13:51:00] seppo0010 (~Adium@186.19.19.229) left #redis. [13:51:14] Guest86366 (~merlin83@175.156.151.202) joined #redis. [13:56:07] d0k (~d0k@aef.wh.uni-dortmund.de) left irc: Quit: he does that [13:59:02] tjholowaychuk (~tj@S0106000352031482.gv.shawcable.net) left irc: Read error: Operation timed out [13:59:40] tjholowaychuk (~tj@S0106000352031482.gv.shawcable.net) joined #redis. [14:04:17] jeffreyd (~jeff@24-196-64-200.static.mdsn.wi.charter.com) joined #redis. [14:04:59] awksedgreep (~awksedgre@c-24-98-243-58.hsd1.ga.comcast.net) joined #redis. [14:05:17] If I have an AOF dump that is larger than will fit in memory and then start redis adn have it load up that file, what will happen??? with redis die? will it only load part of the aof? [14:05:32] io_syl (~io_syl@96.24.68.1) joined #redis. [14:05:56] an AOF is most like to be larger than memory. it's an op log, not a memory dump. [14:05:59] io_syl (~io_syl@96.24.68.1) left irc: Client Quit [14:06:12] s/like/likely [14:07:06] seppo0010 (~Adium@186.19.19.229) joined #redis. [14:07:12] seppo0010 (~Adium@186.19.19.229) left #redis. [14:07:16] tjholowaychuk (~tj@S0106000352031482.gv.shawcable.net) left irc: Quit: Bye! [14:07:23] io_syl (~io_syl@96.24.68.1) joined #redis. [14:10:56] it won't be bigger than memory... but I'll be running two redis server processes starting from the same aof dump... each dump is about 60% of memory and half the records in each server will expire over time.. but initially it'd be > 100% of memory [14:11:31] why would you run two redis instances from the same AOF file? [14:11:44] I'm doing this because we use aof's to take backups of what's in memory and it's swapping during the aof dump [14:12:10] we'd like to run an aof dump on each server sequentially so they run faster [14:12:24] sorry, you lost me. [14:12:32] our application actually connects to various redises on different boxes using a hash on the keys [14:13:12] tav (~tav@host-92-20-11-103.as13285.net) left irc: Ping timeout: 240 seconds [14:13:35] seppo0010 (~Adium@186.19.19.229) joined #redis. [14:15:27] Wombert_ (~Wombert@2001:5a8:4:6d6f:d501:f34b:4d17:93ef) left irc: Quit: Wombert_ [14:16:00] well, a redis cluster makes sense, I just don't understand the multiple redis data. [14:16:25] so I guess I need to know what happens if all the records implied by the aof dump is > than the configured max_memory what will redis do [14:16:40] yes... this is essentially a cluster [14:17:51] tav (~tav@host-92-20-61-60.as13285.net) joined #redis. [14:18:29] well, depending on the redis version that you use, if you have vm-enabled, you won't have any real problem with the data not being able to be stored in memory. [14:20:33] deepthawtz (~deepthawt@c-69-181-52-55.hsd1.ca.comcast.net) left irc: Read error: Connection reset by peer [14:21:05] cyx (~cyx@rrcs-24-43-163-86.west.biz.rr.com) left #redis. [14:22:42] lux___ (~lux@ppp-244-103.24-151.libero.it) left irc: Quit: This computer has gone to sleep [14:23:37] lux___ (~lux@ppp-244-103.24-151.libero.it) joined #redis. [14:25:59] awksedgreep (~awksedgre@c-24-98-243-58.hsd1.ga.comcast.net) left irc: Ping timeout: 276 seconds [14:28:21] if vm-enabled is no.. on loading up an aof it will fill up memory, then try to expire, then try to expire near expiration records, and then will just start failing on new commands loaded from the aof... is that right [14:28:35] so it basically will just let them fall on the floor [14:28:40] dvirsky (~TheDude@93-173-39-230.bb.netvision.net.il) joined #redis. [14:28:48] maqr (~maqr@httpcraft/hax) joined #redis. [14:29:08] yup, that's about right. [14:29:15] ok [14:29:31] as far as I know, just to note. [14:29:41] dvirsky could probably help you more. [14:30:03] awksedgreep (~awksedgre@c-24-98-243-58.hsd1.ga.comcast.net) joined #redis. [14:30:12] ron: que? I just logged in, can't see what you were talking about [14:30:20] I know. [14:30:21] ;) [14:34:25] alessioalex (~alessio@f79-118-223-6.pitesti.rdsnet.ro) joined #redis. [14:35:22] dvirsky ... if I'm loading an aof file into a redis with max_memory < the size implied by the commands in the aof... how will redis behave? [14:35:32] vm-enabled is no [14:35:55] I'm thinking it will load things up until it hits the memory limit and then drop the rest of the aof commands on the ground [14:36:02] essentially erroring out on those [14:41:42] deepthawtz (~deepthawt@c-69-181-52-55.hsd1.ca.comcast.net) joined #redis. [14:42:46] dvirsky (~TheDude@93-173-39-230.bb.netvision.net.il) left irc: Quit: No Ping reply in 180 seconds. [14:42:48] xetorthio (~jleibiusk@206.132.109.241) left irc: Ping timeout: 240 seconds [14:43:00] dvirsky (~TheDude@93-173-39-230.bb.netvision.net.il) joined #redis. [14:49:17] wam (~wam@unaffiliated/wam) left irc: Quit: Ex-Chat [14:49:49] lux___ (~lux@ppp-244-103.24-151.libero.it) left irc: Ping timeout: 240 seconds [14:50:27] Wombert (~Wombert@ppp-71-139-177-45.dsl.snfc21.pacbell.net) joined #redis. [14:53:07] jeffreyd: there's a memory eviction policy you can choose. it can behave as an LRU cache [14:54:19] if set to noeviction, when max-memory is reached, you will get errors AFAIK [14:55:31] lstrojny (~lstrojny@ppp-188-174-67-183.dynamic.mnet-online.de) joined #redis. [15:00:11] tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 252 seconds [15:00:24] kenperkins (~textual@174-24-130-78.tukw.qwest.net) left irc: Ping timeout: 240 seconds [15:01:12] markdaws (~markdaws@174-24-130-78.tukw.qwest.net) left irc: Ping timeout: 260 seconds [15:02:57] tilgovi (~randall@69.111.59.167) joined #redis. [15:02:57] tilgovi (~randall@69.111.59.167) left irc: Changing host [15:02:57] tilgovi (~randall@couchdb/developer/tilgovi) joined #redis. [15:05:47] dvirsky... thanks for that tip [15:06:45] markdaws (~markdaws@174-24-164-49.tukw.qwest.net) joined #redis. [15:07:27] kenperkins (~textual@174-24-164-49.tukw.qwest.net) joined #redis. [15:09:48] xentek_ (~xentek@38.106.196.126) joined #redis. [15:09:55] xentek_ (~xentek@38.106.196.126) left irc: Client Quit [15:10:36] mkrecny (~mkrecny@rrcs-50-74-74-5.nyc.biz.rr.com) left #redis. [15:12:24] xentek (~xentek@64.94.34.218) left irc: Ping timeout: 240 seconds [15:12:33] ozataman (~ozataman@12.130.116.203) joined #redis. [15:16:38] rsampaio (~rodrigo@187.45.255.40) left irc: Quit: Computer has gone to sleep. [15:39:02] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) left irc: Remote host closed the connection [15:40:43] incorrect (~incorrect@cpc7-cmbg14-2-0-cust43.5-4.cable.virginmedia.com) left irc: Remote host closed the connection [15:42:26] thehodge (~thehodge@2001:470:1f09:13a3:8cb8:75eb:c48a:93ee) joined #redis. [15:42:33] seppo0010 (~Adium@186.19.19.229) left #redis. [15:42:35] seppo0010 (~Adium@186.19.19.229) joined #redis. [15:42:40] seppo0010 (~Adium@186.19.19.229) left #redis. [15:42:41] ozataman (~ozataman@12.130.116.203) left irc: Remote host closed the connection [15:45:53] tjholowaychuk (~tj@S010658b03565e6c6.gv.shawcable.net) joined #redis. [15:45:56] tjholowaychuk (~tj@S010658b03565e6c6.gv.shawcable.net) left irc: Excess Flood [15:46:19] tjholowaychuk (~tj@S010658b03565e6c6.gv.shawcable.net) joined #redis. [15:48:09] fintler (~fintler@unaffiliated/fintler) left irc: Read error: Connection reset by peer [15:48:49] fintler (~fintler@blueone.lanl.gov) joined #redis. [15:48:49] fintler (~fintler@blueone.lanl.gov) left irc: Changing host [15:48:49] fintler (~fintler@unaffiliated/fintler) joined #redis. [15:49:45] radiocats (~chatzilla@h-64-236-128-41.nat.aol.com) left irc: Quit: ChatZilla 0.9.87 [Firefox 3.6.23/20110920075126] [15:50:34] technoweenie (~technowee@host-86-220-9-69.midco.net) joined #redis. [15:50:59] alessioalex (~alessio@f79-118-223-6.pitesti.rdsnet.ro) left irc: Quit: Ex-Chat [15:55:05] axl_ (~axl@216-43-114-19.ip.mcleodusa.net) left irc: Quit: axl_ [15:56:00] tav (~tav@host-92-20-61-60.as13285.net) left irc: Ping timeout: 240 seconds [15:57:38] axl_ (~axl@75-149-152-225-Minnesota.hfc.comcastbusiness.net) joined #redis. [15:57:46] axl_ (~axl@75-149-152-225-Minnesota.hfc.comcastbusiness.net) left irc: Client Quit [16:01:35] tav (~tav@host-2-99-77-242.as13285.net) joined #redis. [16:05:55] pranq (pranq@unaffiliated/contempt) joined #redis. [16:06:36] ceej (~anonymous@cpe-72-190-40-203.tx.res.rr.com) left irc: Remote host closed the connection [16:11:51] awksedgreep (~awksedgre@c-24-98-243-58.hsd1.ga.comcast.net) left irc: Ping timeout: 258 seconds [16:13:21] ctp (~ctp@dslc-082-082-133-250.pools.arcor-ip.net) joined #redis. [16:16:40] Swimming_Bird (~textual@64.70.114.89) left irc: Quit: Computer has gone to sleep. [16:16:41] awksedgreep (~awksedgre@c-24-98-243-58.hsd1.ga.comcast.net) joined #redis. [16:17:17] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) left irc: Quit: jtsnow [16:17:27] aguynamedben (~aguynamed@173-164-219-53-SFBA.hfc.comcastbusiness.net) left irc: Quit: aguynamedben [16:21:12] vidi (~vidi@108-195-230-57.lightspeed.irvnca.sbcglobal.net) left irc: Ping timeout: 240 seconds [16:22:13] vidi (~vidi@108-195-230-57.lightspeed.irvnca.sbcglobal.net) joined #redis. [16:24:37] skade (~skade@p4FCDFE8D.dip.t-dialin.net) left irc: Quit: Leaving... [16:28:11] lstrojny (~lstrojny@ppp-188-174-67-183.dynamic.mnet-online.de) left irc: Quit: lstrojny [16:32:18] drbobbeaty (~drbobbeat@38.98.137.29) left irc: Quit: drbobbeaty [16:32:48] aguynamedben (~aguynamed@173-164-219-53-SFBA.hfc.comcastbusiness.net) joined #redis. [16:36:38] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) joined #redis. [16:39:25] tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 240 seconds [16:42:28] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) left irc: Quit: jtsnow [16:44:26] thehodge (~thehodge@2001:470:1f09:13a3:8cb8:75eb:c48a:93ee) left irc: Remote host closed the connection [16:44:50] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) joined #redis. [16:47:19] ^gnrfan^ (~gnrfan@190.43.188.177) joined #redis. [16:49:12] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) left irc: Ping timeout: 240 seconds [16:50:03] jm31 (~jm3_@173-13-169-18-sfba.hfc.comcastbusiness.net) joined #redis. [16:50:33] jm3 (~jm3_@173-13-169-18-sfba.hfc.comcastbusiness.net) left irc: Ping timeout: 252 seconds [16:55:06] ebobby (~bobby@189.170.92.245) left irc: Quit: Lost terminal [16:56:24] tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) joined #redis. [16:56:24] tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) left irc: Changing host [16:56:24] tilgovi (~randall@couchdb/developer/tilgovi) joined #redis. [17:03:19] Sarevok (~locke@rrcs-98-101-176-143.midsouth.biz.rr.com) left #redis. [17:04:18] rittyan (~rittyan@95-25-230-30.broadband.corbina.ru) left irc: Remote host closed the connection [17:05:02] ^gnrfan^ (~gnrfan@190.43.188.177) left irc: Quit: Leaving [17:12:45] ozataman (~ozataman@64.134.170.52) joined #redis. [17:13:05] gnrfan (u1161@gateway/web/irccloud.com/x-tqjyfulhjuxziame) left irc: [17:13:34] gnrfan (~gnrfan@190.43.188.177) joined #redis. [17:16:11] brimster___ (~brimster@cpe-75-84-209-47.socal.res.rr.com) joined #redis. [17:16:50] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) joined #redis. [17:20:15] quackquack (~quackquac@128.187.132.130) joined #redis. [17:21:03] If I am going to need more than one Redis database for my application, is that common? Or does it indicate I am not understanding something properly... [17:21:23] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) left irc: Client Quit [17:21:31] ozataman_ (~ozataman@64.134.170.52) joined #redis. [17:22:50] tjholowaychuk (~tj@S010658b03565e6c6.gv.shawcable.net) left irc: Remote host closed the connection [17:23:03] tjholowaychuk (~tj@S010658b03565e6c6.gv.shawcable.net) joined #redis. [17:24:05] ozataman (~ozataman@64.134.170.52) left irc: Ping timeout: 244 seconds [17:26:30] quackquack: I guess it depends on why you feel you need multiple db's .. but no, it's not impossible that you can make use of two different ones. [17:27:18] EyePulp: ok, ty [17:27:53] ozataman_ (~ozataman@64.134.170.52) left irc: Remote host closed the connection [17:28:37] tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection [17:39:33] is a forward slash a valid character in a redis key? [17:39:58] quackquack: any character is valid [17:40:07] pietern: oh, ok. ty! [17:42:00] kenperkins (~textual@174-24-164-49.tukw.qwest.net) left irc: Ping timeout: 240 seconds [17:43:43] aguynamedben (~aguynamed@173-164-219-53-SFBA.hfc.comcastbusiness.net) left irc: Quit: aguynamedben [17:45:31] martincozzi (~martincoz@209.66.114.6) joined #redis. [17:45:33] ctp (~ctp@dslc-082-082-133-250.pools.arcor-ip.net) left irc: Ping timeout: 255 seconds [18:01:44] jm31 (~jm3_@173-13-169-18-sfba.hfc.comcastbusiness.net) left irc: Quit: Leaving. [18:02:02] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) joined #redis. [18:06:59] sarkis (~sarkis@unaffiliated/sako) joined #redis. [18:07:59] deepthawtz (~deepthawt@c-69-181-52-55.hsd1.ca.comcast.net) left irc: Quit: Leaving... [18:11:27] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) left irc: Quit: jtsnow [18:14:57] lux___ (~lux@ppp-181-7.24-151.libero.it) joined #redis. [18:21:29] hey guys so theres some talk about possibly using redis as a replacement to memcached for cacheing [18:21:51] ofcourse redis is more flexible since it's not a cache but a data store... i see mixed reports on doing the above [18:21:59] any first hand experience here? [18:22:32] mdaisuke (~mdaisuke@124x38x82x202.ap124.ftth.ucom.ne.jp) joined #redis. [18:24:34] ozataman (~ozataman@12.130.124.7) joined #redis. [18:24:55] andymccurdy (~andymccur@69.12.160.66) left irc: Ping timeout: 260 seconds [18:25:37] rsampaio (~rodrigo@187.11.31.209) joined #redis. [18:25:48] redis is great for a cache [18:26:05] markdaws (~markdaws@174-24-164-49.tukw.qwest.net) left irc: Ping timeout: 244 seconds [18:26:05] and you get the benefit of supporting all other sorts of operations as well [18:26:13] that don't work in memcached [18:26:15] yup [18:26:26] i can't figure out how it would work as a session store.. [18:27:14] we currently use cookies to track session info for users that havent registered yet [18:32:10] alc (~nek@61.135.165.188) joined #redis. [18:35:36] pietern (~pieter@208.91.1.14) left irc: Quit: pietern [18:36:11] skrul (~skrul@70-36-146-156.dsl.dynamic.sonic.net) left irc: Quit: skrul [18:39:25] jano (~djanowski@190.245.30.40) joined #redis. [18:42:09] VasilisWong (~WL@182.92.247.2) left irc: Quit: Leaving [18:45:09] robblesz (robblesz@204.45.118.171) left irc: Quit: . [18:46:03] perezd (~derek@108-71-92-105.lightspeed.sntcca.sbcglobal.net) left irc: Quit: perezd [18:51:36] robblesz (robblesz@204.45.118.171) joined #redis. [18:51:36] robblesz (robblesz@204.45.118.171) left irc: Excess Flood [18:51:57] lux___ (~lux@ppp-181-7.24-151.libero.it) left irc: Read error: Operation timed out [18:52:06] robblesz (robblesz@204.45.118.171) joined #redis. [18:52:31] lux___ (~lux@ppp-181-7.24-151.libero.it) joined #redis. [18:53:52] DubLo7 (~Adium@24-247-67-24.dhcp.trcy.mi.charter.com) joined #redis. [18:55:01] io_syl (~io_syl@96.24.68.1) left irc: Quit: Computer has gone to sleep. [18:56:04] alc (~nek@61.135.165.188) left irc: Remote host closed the connection [18:57:16] Nick change: wmoss -> wmoss|away [18:58:57] quackquack (~quackquac@128.187.132.130) left irc: Quit: Leaving [18:59:07] alc (~nek@61.135.165.188) joined #redis. [19:05:45] martincozzi (~martincoz@209.66.114.6) left irc: Quit: martincozzi [19:13:51] jano (~djanowski@190.245.30.40) left irc: Remote host closed the connection [19:15:01] ozataman (~ozataman@12.130.124.7) left irc: Remote host closed the connection [19:33:24] io_syl (~io_syl@adsl-68-125-50-109.dsl.pltn13.pacbell.net) joined #redis. [19:33:58] igors (~igors@201.53.24.18) joined #redis. [19:34:50] martincozzi (~martincoz@c-67-188-32-200.hsd1.ca.comcast.net) joined #redis. [19:35:09] tjholowaychuk (~tj@S010658b03565e6c6.gv.shawcable.net) left irc: Quit: Bye! [19:39:39] martincozzi (~martincoz@c-67-188-32-200.hsd1.ca.comcast.net) left irc: Client Quit [19:46:00] EyePulp (~eyepulp@c-67-173-34-83.hsd1.il.comcast.net) left irc: Quit: EyePulp [19:51:01] vidi (~vidi@108-195-230-57.lightspeed.irvnca.sbcglobal.net) left irc: Quit: vidi [19:55:09] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) joined #redis. [19:56:33] igors (~igors@201.53.24.18) left irc: Remote host closed the connection [19:57:21] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) left irc: Client Quit [20:01:24] gnrfan (~gnrfan@190.43.188.177) left irc: Quit: This computer has gone to sleep [20:02:34] Swimming_Bird (~textual@cpe-68-173-65-172.nyc.res.rr.com) joined #redis. [20:03:14] io_syl (~io_syl@adsl-68-125-50-109.dsl.pltn13.pacbell.net) left irc: Quit: Computer has gone to sleep. [20:10:30] Wombert (~Wombert@ppp-71-139-177-45.dsl.snfc21.pacbell.net) left irc: Quit: Wombert [20:13:36] DubLo7 (~Adium@24-247-67-24.dhcp.trcy.mi.charter.com) left irc: Quit: Leaving. [20:16:54] lux___ (~lux@ppp-181-7.24-151.libero.it) left irc: Quit: Leaving [20:30:48] andymccurdy (~andymccur@c-67-188-242-100.hsd1.ca.comcast.net) joined #redis. [20:35:53] awksed2greep (~awksedgre@c-24-98-243-58.hsd1.ga.comcast.net) joined #redis. [20:44:49] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) joined #redis. [20:47:55] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) joined #redis. [20:50:25] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) left irc: Client Quit [20:51:25] awksed2greep (~awksedgre@c-24-98-243-58.hsd1.ga.comcast.net) left irc: Quit: Leaving [20:55:52] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) joined #redis. [20:56:54] skrul (~skrul@76.14.75.186) joined #redis. [20:59:06] You pretty much just store the hashed password and salt in a hash that's set to expire. [20:59:24] I do the concept of slots where I do LRU if people use more than the allowed amount of slots. [21:00:02] So I have "session:foo:0" through "session:foo:7" where "foo" is the name of the user. [21:00:41] When login happens I get all slots, if empty slot found I create one. Otherwise I check TTL and do LRU. [21:08:25] kenperkins (~textual@50-47-18-37.evrt.wa.frontiernet.net) joined #redis. [21:11:48] seppo0010 (~Adium@186.19.19.229) joined #redis. [21:14:35] seivan (~seivan@175.156.188.20) joined #redis. [21:18:48] EyePulp (~eyepulp@static-50-40-43-106.bltn.il.frontiernet.net) joined #redis. [21:22:23] can I get a list of all keys that start with a particular string? [21:22:45] KEYS [21:25:42] Swimming_Bird (~textual@cpe-68-173-65-172.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep. [21:29:01] ambroff (~ambroff@209.66.114.6) left irc: Quit: ambroff [21:31:16] jeffreyd (~jeff@24-196-64-200.static.mdsn.wi.charter.com) left irc: Quit: jeffreyd [21:34:56] KevBurnsJr (~kevburnsj@c-67-169-94-104.hsd1.ca.comcast.net) joined #redis. [21:46:59] EyePulp: you can, but it still has to iterate over every key. its not recommended you do this in production when you have a lot of keys [21:47:36] it'd be a rare batch option [21:48:28] keycount < 100k [21:49:46] EyePulp (~eyepulp@static-50-40-43-106.bltn.il.frontiernet.net) left irc: Quit: EyePulp [21:52:50] kenperkins (~textual@50-47-18-37.evrt.wa.frontiernet.net) left irc: Quit: Computer has gone to sleep. [21:55:41] axl (~axl@70-59-119-238.mpls.qwest.net) joined #redis. [21:58:29] jeffreyd (~jeff@24-196-64-200.static.mdsn.wi.charter.com) joined #redis. [22:06:22] superjudge (~superjudg@195.22.80.141) joined #redis. [22:07:27] seivan (~seivan@175.156.188.20) left irc: Remote host closed the connection [22:08:26] bakkdoor (~bakkdoor@s15229144.onlinehome-server.info) joined #redis. [22:08:41] skrul (~skrul@76.14.75.186) left irc: Quit: skrul [22:09:13] luckyruby (~luckyruby@125-187.96-97.tampabay.res.rr.com) joined #redis. [22:09:41] luckyruby (~luckyruby@125-187.96-97.tampabay.res.rr.com) left #redis. [22:10:16] luckyruby (~luckyruby@125-187.96-97.tampabay.res.rr.com) joined #redis. [22:12:54] rsampaio (~rodrigo@187.11.31.209) left irc: Quit: Computer has gone to sleep. [22:20:44] rurufufuss (~rurufufus@115-64-27-246.static.tpgi.com.au) joined #redis. [22:23:44] io_syl (~io_syl@adsl-68-125-50-109.dsl.pltn13.pacbell.net) joined #redis. [22:23:45] io_syl (~io_syl@adsl-68-125-50-109.dsl.pltn13.pacbell.net) left irc: Client Quit [22:23:58] io_syl (~io_syl@adsl-68-125-50-109.dsl.pltn13.pacbell.net) joined #redis. [22:25:34] Nick change: wmoss|away -> wmoss [22:26:47] ozataman (~ozataman@64.134.242.234) joined #redis. [22:31:10] vidi (~vidi@75.92.81.135) joined #redis. [22:32:21] Nick change: wmoss -> wmoss|away [23:02:36] martincozzi (~martincoz@c-98-210-184-132.hsd1.ca.comcast.net) joined #redis. [23:05:28] p1d (~p1d@tmo-103-90.customers.d1-online.com) joined #redis. [23:07:35] markdaws (~markdaws@c-67-182-136-6.hsd1.wa.comcast.net) joined #redis. [23:07:45] jeffreyd (~jeff@24-196-64-200.static.mdsn.wi.charter.com) left #redis. [23:07:46] martincozzi (~martincoz@c-98-210-184-132.hsd1.ca.comcast.net) left irc: Quit: martincozzi [23:15:35] ambroff (~ambroff@c-69-181-182-8.hsd1.ca.comcast.net) joined #redis. [23:15:54] Wombert (~Wombert@guest-client-gate.sfa.network.cynigram.com) left irc: Quit: bai [23:16:55] markdaws (~markdaws@c-67-182-136-6.hsd1.wa.comcast.net) left irc: Remote host closed the connection [23:19:53] vidi (~vidi@75.92.81.135) left irc: Quit: vidi [23:19:53] rudebwoy (~rudebwoy@may.mooo.com) left irc: Read error: Connection reset by peer [23:19:56] ozataman (~ozataman@64.134.242.234) left irc: Remote host closed the connection [23:20:57] rudebwoy (~rudebwoy@may.mooo.com) joined #redis. [23:28:24] ozataman (~ozataman@64.134.242.234) joined #redis. [23:38:04] jtsnow (~jtsnow@174-23-171-31.slkc.qwest.net) left irc: Quit: jtsnow [23:40:05] p1d (~p1d@tmo-103-90.customers.d1-online.com) left irc: Quit: ... [23:43:04] wam (~wam@unaffiliated/wam) joined #redis. [23:52:35] wam (~wam@unaffiliated/wam) left irc: Ping timeout: 252 seconds [00:00:00] --- Thu Oct 27 2011