Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Dustin
On Apr 4, 9:28 pm, Roberto Spadim robe...@spadim.com.br wrote: i'm using repcache without problem, if one server die the other have the same information, when other server is up it's automatic sync with the 'master' it works well with php memcache session handler but a good session handler

Error After Install Memcached When extension is added In Php.ini file

2011-04-05 Thread sabari nathan
Dear Sir/madam, I am new to php.i like to develop the wesite using php. My issue were: Apache is Not starting,after adding extension in* **PHP.INhttp://php.in/ **I * file. My OS:Windows xp PHP Version 5.3.2 Apache Version Apache/2.2.17

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Brian Moon
Products that do master/master across the WAN (or high latency LAN) and can assure that a request to server A in datacenter 1 that sets a value is available immediately (sub milisecond) to server B in datacenter 2? And that does not involve making a connection back across the WAN to get the

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Roberto Spadim
since it´s high latency, never will get sub milisecond right? so, master/master will be milisecond for writes, reads are done locally here the solution is a master/slave 2011/4/5 Brian Moon br...@moonspot.net: Products that do master/master across the WAN (or high latency LAN) and can assure

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Mohit Anchlia
Problem here is that lot of traffic is generated internally by server hosted by other projects within same co. now this need to be load balanced. If we used geo then 70% of our traffic will be stuck on one site. If all our clients were browser based then it would have been easier. 2011/4/4 Brian

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Mohit Anchlia
I haven't seen any project that solves this use case. Do you know of any? On Tue, Apr 5, 2011 at 2:44 PM, Roberto Spadim robe...@spadim.com.br wrote: hummm i think it´s not innovative, there´s some open projects that solve this, you should check before developing the whell again 2011/4/5

Re: memcached php extension failover

2011-04-05 Thread Sergey Novgorodsky
I use pecl/memcached 2.0.0.b1 On Mon, Apr 4, 2011 at 10:15 AM, Brian Moon br...@moonspot.net wrote: What version of pecl/memcached are you using? Brian. http://brian.moonspot.net On 4/3/11 11:21 AM, snovgorodsky wrote: I'm using php memcached extension to save my app sessions on two

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Mohit Anchlia
Bad design. Besides not that easy :) If it was I wouldn't have posted here. On Mon, Apr 4, 2011 at 5:04 PM, Brian Moon br...@moonspot.net wrote: You have full control over what resources your internal servers use. Just assign them a datacenter and go. Brian. http://brian.moonspot.net On

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Mohit Anchlia
BTW: Please do read my initial post again if you have time. On Tue, Apr 5, 2011 at 3:11 PM, Mohit Anchlia mohitanch...@gmail.com wrote: I haven't seen any project that solves this use case. Do you know of any? On Tue, Apr 5, 2011 at 2:44 PM, Roberto Spadim robe...@spadim.com.br wrote: hummm i

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Mohit Anchlia
That is already in place but business requirement is to do active/active hence need for more complicated solution. On Mon, Apr 4, 2011 at 3:32 PM, Brian Moon br...@moonspot.net wrote: Use geo dns instead to stick users to a single datacenter and only fail over to the other data center when

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Mohit Anchlia
Currently there is no memcache. I was thinking of using memcache to do store user session per site info and redirect if user came to wrong site, but memcached seems to be not meant to be master/master or master/slave either. Generally industry practice is such use cases is to use cookies but we

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Mohit Anchlia
One important thing. User will be stuck on one site for one hour which will allow for data replication to occur. So a User should not be load balanced to other site until one hour is expired. On Tue, Apr 5, 2011 at 3:30 PM, Mohit Anchlia mohitanch...@gmail.com wrote: Currently there is no

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Roberto Spadim
hum, sync must be done before users are allowed to use service? try this http://repcached.lab.klab.org/ membase is a nosql (it can save information on disk), i don´t know if it do replication like repcache but theres some 'cluster' in docs:

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Mohit Anchlia
Thanks! I am unable to find design doc or some kind of how it works doc on repcached. Do you have that info handy? Also, how do I integrate it with apache httpd. Thanks again for the link. On Tue, Apr 5, 2011 at 3:40 PM, Roberto Spadim robe...@spadim.com.br wrote: hum, sync must be done before

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Roberto Spadim
hum, repcache don´t have many information it´s a older memcache version with a patch to make replication at comand line you talk to what IP to 'replicate' when one server get down and get up again, it first sync information from 'master' any information changed in one server is send to another (i

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Roberto Spadim
about repcache: asynchronous data repliacation. why my implementation works? i make load balance per user all write is always on only one server if server down all users get back to the stand alone master i´m using linux server (archlinux) to sync i start repcache, wait it get in sync (i´m using

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Roberto Spadim
check that session and memcache have a problem... if your memcache get full of memory, some sessions are discarted you should use a nosql (memcachedb, or membase) 2011/4/5 Roberto Spadim robe...@spadim.com.br: about repcache: asynchronous data repliacation. why my implementation works? i make

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread dormando
(First; Roberto I swear if you do that thing where you spam three e-mails in a row one more time I'm blocking you from the list. To be honest I do that to occasionally, but I limit myself to two responses and I try a lot harder to be useful.) Mohit; Sorry for the confusion here. I hope you can

Re: cant install memcahed into cpanel showing error

2011-04-05 Thread dormando
What the ... urgh. I have no idea where you're getting that RPM of memcached, but it looks like the packager didn't remove the deps for the damemtop script I shoved in the scripts/ directory. Yum is being helpful and trying to install a ton of useless perl depedencies. If you just tell it to

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-05 Thread Roberto Spadim
sorry they should be private mails 2011/4/5 dormando dorma...@rydia.net: (First; Roberto I swear if you do that thing where you spam three e-mails in a row one more time I'm blocking you from the list. To be honest I do that to occasionally, but I limit myself to two responses and I try a lot

Re: cant install memcahed into cpanel showing error

2011-04-05 Thread smiling dream
can you give me the rpm for installing memcahed On 4/6/11, dormando dorma...@rydia.net wrote: What the ... urgh. I have no idea where you're getting that RPM of memcached, but it looks like the packager didn't remove the deps for the damemtop script I shoved in the scripts/ directory. Yum is

Re: cant install memcahed into cpanel showing error

2011-04-05 Thread dormando
sigh. yum install --skip-broken memcached or whatever combo actually works. On Wed, 6 Apr 2011, smiling dream wrote: can you give me the rpm for installing memcahed On 4/6/11, dormando dorma...@rydia.net wrote: What the ... urgh. I have no idea where you're getting that RPM of

Re: cant install memcahed into cpanel showing error

2011-04-05 Thread Marc Bollinger
Tough night, dormando? On Tue, Apr 5, 2011 at 8:17 PM, dormando dorma...@rydia.net wrote: sigh. yum install --skip-broken memcached or whatever combo actually works. On Wed, 6 Apr 2011, smiling dream wrote: can you give me the rpm for installing memcahed On 4/6/11, dormando

Re: memcached php extension failover

2011-04-05 Thread Brian Moon
I have not tested this client yet as it was just released. So, I can't speak to its sanity at this time. Brian. http://brian.moonspot.net On 4/4/11 12:20 PM, snovgorodsky wrote: I use pecl/memcached 2.0.0b1 On Apr 4, 10:15 am, Brian Moonbr...@moonspot.net wrote: What version of