Re: Tips/advice for implementing integrated RESTful HTTP API

Поиск
Список
Период
Сортировка
Искать
От
Álvaro Hernández Tortosa
Тема
Re: Tips/advice for implementing integrated RESTful HTTP API
Дата
Msg-id
5406509D.6090902@nosys.es
Ответ на
Список
Дерево обсуждения
Tips/advice for implementing integrated RESTful HTTP API Dobes Vandermeer <dobesv@gmail.com>
Re: Tips/advice for implementing integrated RESTful HTTP API Peter Eisentraut <peter_e@gmx.net>
Re: Tips/advice for implementing integrated RESTful HTTP API Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Tips/advice for implementing integrated RESTful HTTP API Craig Ringer <craig@2ndquadrant.com>
Re: Tips/advice for implementing integrated RESTful HTTP API Dobes Vandermeer <dobesv@gmail.com>
Re: Tips/advice for implementing integrated RESTful HTTP API Craig Ringer <craig@2ndquadrant.com>
Re: Tips/advice for implementing integrated RESTful HTTP API Dobes Vandermeer <dobesv@gmail.com>
Re: Tips/advice for implementing integrated RESTful HTTP API Álvaro Hernández Tortosa <aht@nosys.es>
Re: Tips/advice for implementing integrated RESTful HTTP API Björn Harrtell <bjorn.harrtell@gmail.com>

On 02/09/14 04:47, Dobes Vandermeer wrote:

 
Same idea as PgBouncer or PgPool. The advantage over hacking
PgBouncer/PgPool for the job is that Tomcat can already do a lot of what
you want using built-in, pre-existing functionality. Connection pool
management, low level REST-style HTTP processing, JSON handling etc are
all done for you.

Yeah, those are nice conveniences but I still think installing Java and getting something to run on startup is a bit more of a hurdle.  Better maek life easier up front by having a simple standalone proxy you can compile and run with just whatever is already available on a typical AWS ubuntu environment.

    If instead of Tomcat you use Jetty, you can embed the whole app+Jetty+dependencies in a single executable JAR, which easies deployment a lot. Installing a JVM in a Ubuntu environment is just one apt-get and even easier if you use CloudFormation for automation. I don't think is a bad choice at all... you get most of the functionality you want already there, as Craig said, and it's lightweight.

    Hope it helps,

    Álvaro

В списке pgsql-hackers по дате отправления
От: Jan Wieck
Дата:
Сообщение: Re: PL/pgSQL 2
От: Peter Geoghegan
Дата:
FAQ