MySQL Forums
Forum List  »  Router & Proxy

Lua Questions
Posted by: Nakoa McCullough
Date: December 10, 2007 11:49AM

I would like to add a couple of functions to the lua module proxy.

1. I would like to add a time function that has millisecond time resolution. We use proxy instead of turning on the general log for trouble shooting.

2. I would like to add a sleep function that does not completely peg the CPU (ie. while (true)) This would be helpful for our master-master failover.

Is adding this kind of functionality even possiable? If so, is the any documentation or recommend reading on the subject of working with embeded lua modules?

--Koa

Options: ReplyQuote


Subject
Views
Written By
Posted
Lua Questions
4124
December 10, 2007 11:49AM
3271
December 12, 2007 02:21PM
2610
December 19, 2007 06:39PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.