Dear lazy web, does Lua have regex support?
mysql-proxy, being developed by MySQL AB itself, is very powerful tool to have. It can intercept raw mysql packets from authentication to query and query result. Creating a read/write load balancer has never been easier. Instead of filtering query (as seen in sqlrelay), we can use mysql-proxy to defines which back-end should be used for reading (–proxy-read-only-backend-addresses) or writing. No need to mess with each query executed. However, I miss regex in query filter or router of sql-relay. I wonder if we can use regex in Lua so we don’t have to do substr thingy in read_query() hook.
Powered by ScribeFire.
Sphere: Related Content
2008
14
Feb
- Posted by Akhmad Fathonih at 02:50 pm
- Permalink for this entry
- Filed under: Dev Hours, Open Source
- RSS comments feed of this entry
- TrackBack URI








mainan Lua?
iya, gara-gara mainan mysql-proxy