Welcome! Log In Create A New Profile

Advanced

Feedback on my module

Tarek Ziade
April 01, 2011 08:08AM
Hey,

I hope this is the right list for this kind of question -- seems more
suitable than nginx@ --

I have started the development of a module that does the following:

One each request, if a X-Target-Service header is present, the module
checks in memcached a flag. Depending on the value, it returns a 503 or
pass the request to the upstream server.

The goal here is to manage in memcache the status of backend services
the application uses like twitter, linkedin etc, and reject any request
to the server if those services are down for any reason.

I would love to get some feedback/advices from anyone experimented in
Nginx, as I am new to this and my C skills are from college ;)

The memcached code still need a few changes like catching any
libmemcached error etc, but the nginx module logic is basically done.

the code is here: https://bitbucket.org/tarek/nginx-sstatus/src/

Cheers
Tarek

--
Tarek Ziade - Mozilla Services


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Feedback on my module

Tarek Ziade 2168 April 01, 2011 08:08AM

Re: Feedback on my module

Umesh Sirsiwal 699 April 01, 2011 10:46AM

Re: Feedback on my module

Tarek Ziade 727 April 01, 2011 12:30PM

Re: Feedback on my module

agentzh 692 April 01, 2011 11:52PM

RE: Feedback on my module

Sirsiwal, Umesh 967 April 02, 2011 12:32AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 313
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready