Re: Show: h-app-proxy – Application server inside haproxy

2018-05-18 Thread Thierry FOURNIER
On Fri, 18 May 2018 16:30:46 +0200
Tim Düsterhus  wrote:

> Thierry,
> 
> Am 18.05.2018 um 12:47 schrieb Thierry FOURNIER:
> > Hi,
> > 
> > This is a great usage of Lua. I add a link on my own blog:
> > 
> >http://blog.arpalert.org/p/interesting-links.html
> 
> Thank you! Don't forget to fix the typo in your redis connection pool I
> mentioned in my mail.


Thanks, I missed it. Done.

> 
> Best regards
> Tim Düsterhus



Re: Show: h-app-proxy – Application server inside haproxy

2018-05-18 Thread Tim Düsterhus
Thierry,

Am 18.05.2018 um 12:47 schrieb Thierry FOURNIER:
> Hi,
> 
> This is a great usage of Lua. I add a link on my own blog:
> 
>http://blog.arpalert.org/p/interesting-links.html

Thank you! Don't forget to fix the typo in your redis connection pool I
mentioned in my mail.

Best regards
Tim Düsterhus



Re: Show: h-app-proxy – Application server inside haproxy

2018-05-18 Thread Thierry FOURNIER
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  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
> 



Re: Show: h-app-proxy – Application server inside haproxy

2018-05-12 Thread Aleksandar Lazic
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



Show: h-app-proxy – Application server inside haproxy

2018-05-11 Thread 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 :-)

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 :-)