joaoaab / libpostal-grpc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Libpostal-grpc

This project is a grpc api that serves libpostal

Written in golang

How to use

  1. install libpostal
  2. run the application with make run, this will run the main.go inside cmd/libpostal-grpc that starts and serves the api.
  3. Use the proto definition to make grpc calls.

Tests

You can run the test by running the following command

make test

Benchmarks

Benchmarks using ghz using 50 concurrent requests on a computer with a AMD ryzen 5 3600 with 3200mhz memory, the application was running on a docker container under a wsl2 environment.

Expand Parser

image

Parse Address

image

Checklist

  • Add Parser endpoint
  • Add Expander endpoint
  • Write tests
  • Create benchmarks for routes.
  • Dockerfile for easy deployment.
  • Add Caching for common used addresses

About


Languages

Language:Go 94.3%Language:Dockerfile 3.7%Language:Makefile 1.1%Language:Shell 0.8%