Could I ask you a few more questions? What was the dataset size? What was the size of your index? How long (and how much RAM) did it take to index the dataset and what machine (and how many cores) did you do it on?
I did not know that! Good to know.
> What was the dataset size?
2.2GB in size, with ~2.2M records
> What was the size of your index?
2.7GB
> How long (and how much RAM) did it take to index the dataset
It took about 8 minutes to index that data. Typesense stores the entire index in memory, so the index took 2.7GB in RAM
> What machine (and how many cores) did you do it on?
It's running on a 3-node cluster, with each node having 4vCPUs and 8GB of RAM. The nodes are distributed across data centers, so search requests are served by the closest node (like a CDN).
That can't be right? Surely Greek, Russian, Turkish, etc are whitespace delimited?
Huge fan of instant search results, well done!
Why did you built it instead of using other open source engines? eg postgres text search
re: why not just postgres text search, I'll post a more detailed response in the github issue you opened (thank you) for posterity: https://github.com/typesense/typesense/issues/167
The search backend is running on Typesense Cloud, which is point and click to provision.
This is my 1-line deployment command: https://github.com/typesense/showcase-recipe-search/blob/7b5...
That's it for the infra! No API Gateway.
Hmmm, seems to be up for me. Could you show me a console+browser screenshot of what you see?
Thought this would take me 1-2 hours to build, ended up taking about 6 hours - engineering estimates and all!
> Details about the Tech Stack:
The dataset has 2,231,142 recipes and is indexed on Typesense [2], an open source alternative to Algolia/ElasticSearch that a friend and I are working on.
The UI was built using the Typesense adapter for InstantSearch.js [3] and is a static site bundled using ParcelJS.
The app is hosted on S3, with CloudFront for a CDN.
The search backend is powered by a geo-distributed 3-node Typesense cluster running on Typesense Cloud [4], with nodes in Oregon, Frankfurt and Mumbai.
Here's the source code: https://github.com/typesense/showcase-recipe-search
[1] https://news.ycombinator.com/item?id=25356156
[2] https://github.com/typesense/typesense
[3] https://github.com/typesense/typesense-instantsearch-adapter
[4] https://cloud.typesense.org