Open Bug 1176649 Opened 9 years ago Updated 9 years ago

Use an OLTP database for splice "business data"


(Content Services Graveyard :: Tiles: Administration Front-End, defect)

Not set


(Not tracked)


(Reporter: oyiptong, Unassigned)


(Blocks 3 open bugs)


(Whiteboard: [story])

We are currently
Blocks: 1136229
No longer depends on: 1136229
We are currently using Redshift, an OLAP database as our primary datastore.

This poses a few problems:
* insertions are slow because of the expectations of transactions in Redshift. We currently have to lock the database to make every tile Test-And-Set operations upon tile ingestion
* insertions are slow because performance in Redshift is optimized for large aggregations and not single insertions and small queries. Every single tile insertion procedure does a join between the tiles and adgroups tables
* the problems will exacerbate with the additions of state-level targeting and other targeting criteria
* we will need to modify rows soon, which is again, not optimized in Redshift

The way to solve this is to use an OLTP database to store this data. The data will be the "business data", i.e. the data splice 1.2 will write.

This bug will allow us to make splice 1.2 a CMS for Tiles with acceptable performance and security.

Postgres is the preferred DB, due to driver compatibility with Redshift.
Depends on: 1181640
Depends on: 1181652
Depends on: 1181659
No longer depends on: 1181659
Whiteboard: .? → [story]
Depends on: 1181659
Blocks: 1181663
Depends on: 1181665
Blocks: 1181697
Depends on: 1182241
Depends on: 1190870
You need to log in before you can comment on or make changes to this bug.