Daniel Carbajal

Blue route

Content search pipeline

The backend that lets learners find language content fast: pipelines parse each source, transform it and load it into Elasticsearch, and the app searches the index.

Company
Unalengua
Role
Ruby Engineer
Dates
Sep 2019 to Jun 2020
Where
Remote
My part
I led the backend services: the search infrastructure and the pipelines that fill it.
Built with
Ruby, PostgreSQL, Redis, Elasticsearch

Drag to turn the block

This browser could not draw the 3D block. The route is written out beside it.

The route, hold by hold

  1. Input sources

    • Content in PostgreSQL
  2. Parsers

    • Extract, transform, load
    • Redis

    One pipeline per source. Each input source has its own parser. The pipeline extracts the content, transforms it into one shape and loads it into the index.

  3. Search index

    • Elasticsearch indexes

    Indexes built for retrieval. Content is indexed in Elasticsearch, so the app searches the index and learners get results faster.

  4. Search service

    • Search endpoints for the app
    • Query building

Topped out.