[PATCH v2] MINOR Add last activity/session enhancement to stats page

2014-02-11 Thread Bhaskar Maddala
cedcbe6998d7bf5f9b7bbc0cc160d21281479824 Mon Sep 17 00:00:00 2001 From: Bhaskar Maddala madda...@gmail.com Date: Tue, 11 Feb 2014 07:53:55 -0500 Subject: [PATCH] Add last activity/session enhancements to stats page Summary: Added fields for last activity/session to stats page. Last session for front end tracks the last accept

[PATCH v1] MINOR Add last activity/session enhancement to stats page

2014-02-09 Thread Bhaskar Maddala
connection time. Last activity on all (be/fe/listener) tracks the time of last byte. Thanks Bhaskar From 331c995f64afac6d7b722e8658b2a15bb5cc91b8 Mon Sep 17 00:00:00 2001 From: Bhaskar Maddala madda...@gmail.com Date: Sun, 9 Feb 2014 03:13:22 -0500 Subject: [PATCH] Add last activity/session

Re: [PATCH v1] MINOR Add last activity/session enhancement to stats page

2014-02-09 Thread Bhaskar Maddala
maxconn 2 check frontend f1 bind *:9080 default_backend b1 listen stats :9081 stats enable stats hide-version stats uri /admin?stats Thanks Bhaskar On Sun, Feb 9, 2014 at 4:22 AM, Bhaskar Maddala madda...@gmail.com wrote: Hello, Following up on the comments from the previous

[PATCH] MINOR Add ability to externalize health checks [Was: Externalizing health checks]

2014-02-07 Thread Bhaskar Maddala
Bhaskar On Thu, Feb 6, 2014 at 2:45 PM, Bhaskar Maddala madda...@gmail.com wrote: Hello, Since I did not get any responses on this, I decided to try motivating a reponse by attempting an implementation. I am attaching a patch that does this. Admittedly this patch is an iteration and I am

Re: [Patch V2 1/1] [MINOR] Enhancement to stats page to provide information of last session time.

2014-02-07 Thread Bhaskar Maddala
Sorry that was my mistake. I didn't not check how some of the other stats were done. Please make the change. Thank you On Feb 7, 2014 6:52 PM, Willy Tarreau w...@1wt.eu wrote: Hi Bhaskar, On Wed, Feb 05, 2014 at 12:10:09PM -0500, Bhaskar Maddala wrote: Hello, Resubmitting the patch

Re: [PATCH] MINOR Add ability to externalize health checks [Was: Externalizing health checks]

2014-02-07 Thread Bhaskar Maddala
:10PM -0500, Bhaskar Maddala wrote: Hello, I apologize for my persistence and realize that everyone if busy with getting 1.5 out of the door. I have no expectations on that front for the patch included here. However any feedback is welcome. I went thru some of the submitted patches and saw

Re: Externalizing health checks

2014-02-06 Thread Bhaskar Maddala
to the appropriate web host if required, it may return cached health check responses according the configured TTL. Thanks Bhaskar On Fri, Jan 31, 2014 at 1:46 PM, Bhaskar Maddala madda...@gmail.com wrote: Hello, As the number of haproxy deployments (20) grows in our infrastructure along

[Patch V2 1/1] [MINOR] Enhancement to stats page to provide information of last session time.

2014-02-05 Thread Bhaskar Maddala
Hello, Resubmitting the patch with changed to address concerns from previous attempt Updates from previous submission (a) using unsigned long for last session time stamp instead of timeval struct (b) avoiding tv_now and using now Thanks Bhaskar 0001_last_session_date_stats.patch

[Patch V1 1/1] Enhancement to stats page to provide information of last session time.

2014-02-04 Thread Bhaskar Maddala
Hello, I took a stab at implementing - add a last activity date for each server (req/resp) that will be displayed in the stats. It will be useful with soft stop. from the ROADMAP document. I digressed from the last activity date (req/resp) by logging a timestamp for the

Re: [PATCH v2] Add ability to select HASH function amongst (SDBM/DJB2/WT6) and optionally apply avalanche

2013-11-14 Thread Bhaskar Maddala
Thank you for your comments, Willy. 1) hash algorithm = I realized that this naming is confusing because it's used in conjunction with the balance algorithm. In practice, both the terms hash algorithm or hash function are used, with the latter being much more common. So I changed again

Re: balance hdr() enhancment suggestion

2013-11-13 Thread Bhaskar Maddala
You could try something like this acl c01 hdr(host) -i -f c01.acl acl c02 hdr(host) -i -f c02.acl acl c03 hdr(host) -i -f c04.acl ... use_backend cluster01 if c01 ... The ACL's can be generated independently, and haproxy reloaded when one of the

Re: [PATCH v2] Add ability to select HASH function amongst (SDBM/DJB2/WT6) and optionally apply avalanche

2013-11-06 Thread Bhaskar Maddala
Bhaskar [1] http://tinyurl.com/l55zode On Tue, Nov 5, 2013 at 6:45 PM, Bhaskar Maddala madda...@gmail.com wrote: Hello, Please find attached the patch with changes we discussed on the email thread for the first patch on the same. Test results are at [1]. The only variation between this patch

Re: Consistent hashing alternative to sdbm

2013-10-29 Thread Bhaskar Maddala
additional tests you would like written? Thanks Bhaskar [1] https://github.com/maddalab/haproxy/pull/1 On Tue, Oct 29, 2013 at 2:13 AM, Willy Tarreau w...@1wt.eu wrote: Hi Bhaskar, On Tue, Oct 29, 2013 at 12:44:58AM -0400, Bhaskar Maddala wrote: Hello, Can you please take a look at [1

Re: Loadbalancing with ssl on www only

2013-10-29 Thread Bhaskar Maddala
If it is any help you can get a certificate for *. domain.com On Oct 28, 2013 9:37 PM, Felix fe...@ferchland.org wrote: Hello, I am using haproxy to loadbalance my webapplication but I get into a problem with our ssl certificate. haproxy is also serving the ssl certificate to the clients.

Re: Loadbalancing with ssl on www only

2013-10-29 Thread Bhaskar Maddala
Ahh, thank you -Bhaskar On Tue, Oct 29, 2013 at 10:56 AM, David Coulson da...@davidcoulson.netwrote: A wildcard cert is helpful for some things, but domain.com will not validate against a cert issued for *.domain.com On 10/29/13, 10:52 AM, Bhaskar Maddala wrote: If it is any help you

Re: Consistent hashing alternative to sdbm

2013-10-29 Thread Bhaskar Maddala
, Bhaskar Maddala madda...@gmail.com wrote: Hello, I updated the diff [1], it uses function now instead of macros, and added hash function wt6. I did smoke testing stepping thru the code via the debugger for all hash functions and it looks good, however requires more rigorous testing which

PATCH: Add ability to select HASH function amongst (SDBM/DJB2/WT6)

2013-10-29 Thread Bhaskar Maddala
Hello Willy, In continuation of the thread on alternatives to consistent hashing, I am starting a new thread to track the patch that has been implemented. The results of testing can be viewed at [1]. The result match my expectations from earlier, i.e. when using consistent hashing DJB2 is

Re: Consistent hashing alternative to sdbm

2013-10-28 Thread Bhaskar Maddala
-Bhaskar [1] https://github.com/maddalab/haproxy/pull/1 On Fri, Oct 25, 2013 at 2:19 AM, Willy Tarreau w...@1wt.eu wrote: Hi Bhaskar, First, you did an amazing work, thanks for sharing your findings! On Thu, Oct 24, 2013 at 11:12:14PM -0400, Bhaskar Maddala wrote: Hello