alphagov / trade-tariff-backend

Enabling the population and distribution via API of UK Customs tariffs and duties
MIT License
7 stars 6 forks source link

See #58300476 – add seamless_database_pool #112

Closed jabley closed 10 years ago

jabley commented 10 years ago

Take advantage of master-slave configuration to send read traffic to the slaves.

Also upgraded gds-sso since omniauth-gds 0.0.3 doesn't appear to be available any longer?

saulius commented 10 years ago

James, I sense that you forgot that we use Sequel as ORM :-) That gem looks to be ActiveRecord-only.

saulius commented 10 years ago

In Sequel's case I think we need to take advantage of https://github.com/jeremyevans/sequel/blob/master/lib/sequel/extensions/server_block.rb somehow.