Serverless search on AWS Lambda with Janet and SQLite

Serverless search on AWS Lambda with Janet and SQLite

Recently I have been porting a simple app on AWS Lambda for posts and comments to use the Janet programming language. A previous post describes how Janet is a great fit to use with AWS Lambda. The web app now also supports search through the search bar in the header. An earlier version of the postings app was written in Clojure and had a search functionality backed by ElasticSearch/OpenSearch on AWS, which is described in this post.

Since postings is a demo app that is rarely used, it benefits from the serverless quality of being able to scale the compute resource usage down to zero. The storage resources are also minimal. Sadly OpenSearch does not follow this serverless model by requiring a provisioned cluster.

Read more