ignaciochiazzo
It should be easier to get started with Whatsapp Cloud API. I have been using the gem for a while and it's working for me.
Show HN: Ruby WhatsApp SDK Gem
https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk
Whatsapp Ruby SDK gemWhatsapp released the Cloud API. I had an App that uses Whatsapp, and I extracted all the Ruby code that talks to the API into a gem and made it public.The gem provides the ability to connect with Whatsapp API. Amongst them, you can:- Interact with Business Profiles. - Interact with Phone numbers. - Interact with Media: audio, videos, images, stickers, templates, and...
Performance: Six steps required when working on performance optimizations
I wrote the post when I was investigating cursor-based pagination, which I had to implement at Shopify. We decided to use Cursor-based pagination since offset performance wasn't good enough. The larger the offset, the slower the query.
We decided to add the cursors to the LINK header page of each request response. The header contains two URLS: the previous and next page.
We saw a tremendous impact! In some cases, iterating over the pages sequentially using Cursor was much faster than sending parallel requests using Page-based pagination.
I built a library where you can compare the performance of Cursor vs Offset for a Shopify Store iterating on specific resources. This helped validate the approach at Shopify and prove to partners that it was worth migrating to Cursors!
More information here https://twitter.com/IgnacioChiazzo/status/153071174122657382...