Hi, This is a great usage of Lua. I add a link on my own blog:
http://blog.arpalert.org/p/interesting-links.html Thierry On Sat, 12 May 2018 11:23:31 +0200 Aleksandar Lazic <[email protected]> wrote: > Hi Tim. > > Am 11.05.2018 um 20:57 schrieb Tim Düsterhus: > > Hi list, > > > > I recently experimented with the Lua API to check out it's capabilities > > and wanted to show off the results: > > > > I implemented a very simple short URL service entirely in haproxy with > > Redis as it's backend. No backend service needed :-) > > Cool stuff ;-) > Thanks for sharing. > > > Thanks to Thierry for his Redis Connection Pool implementation: > > http://blog.arpalert.org/2018/02/haproxy-lua-redis-connection-pool.html > > > > Thierry, note that you made a small typo in your pool: r.release(conn) > > in renew should read r:release(conn). > > > > Blog post : https://bl.duesterhus.eu/20180511/ > > GitHub : https://github.com/TimWolla/h-app-roxy > > Live Demo : https://bl.duesterhus.eu/20180511/demo/DWhxJf2Gpt > > Hacker News: https://news.ycombinator.com/item?id=17049715 > > > > Best regards > > Tim Düsterhus > > > > PS: Don't use this at home or at work even :-) > > ;-) > > Best regards > Aleks >

