18 ms·
Thanks for this question! Back in early 2020, Meilisearch did not have a Rust client library, but it did have a Go client library[1], and there was nothing com
by bsnnkv 4y ago
Thanks for this question!
Back in early 2020, Meilisearch did not have a Rust client library, but it did have a Go client library[1], and there was nothing comparable to lib/pq[1] in the Rust ecosystem which would allow me to create a listener on a table.[3]
Go is generally my "fallback language" when something would not be practical to do in Rust; it has a very nice, mature ecosystem, and as long as you aren't condemning yourself to interface{} hell, it remains in my eyes a perfectly capable and reasonably ergonomic alternative for well-defined use cases.
[1] https://github.com/meilisearch/meilisearch-go https://github.com/meilisearch/meilisearch-go
[2] https://github.com/lib/pq https://github.com/lib/pq
[3] https://pkg.go.dev/github.com/lib/pq#NewListener https://pkg.go.dev/github.com/lib/pq#NewListener
- RamblingCTO 4y agoThank you for taking the time to answer, I'm always curious as to the why ;) Sounds like a good decision in that case! Good luck with your project!
- bsnnkv 4y agoJust wanted to share with you that I recently published another article on this component.[1] [1]: https://notado.substack.com/p/how-notado-syncs-data-from-postgresql https://notado.substack.com/p/how-notado-syncs-data-from-pos...