2024-10-27
pairec-lite is a stripped-down version of Alibaba's pairec, with no external dependencies. This repo is more pedagogical than practical.
Here is how one bootstrap a service using pairec-lite
.
pairec
in the first place?pairec
instead of pairec-lite
?In most cases, you should not. I used it at work for several reason:
pairec
offers way more than what we use. The infra stack was simply AWS + Postgres, less than 5% of what pairec offers out-of-the-box.pairec
for other uses. These include: adapting pairec
for search; embedding pairec
into an existing web service; adding timeout control and streaming responses. Like all frameworks, doing things not the way it intends is a lot of work.pairec
and its transitive dependencies adds around 30MB after compilation.