September 2014 Summaries
3 posts from Clearbit
Filter
Month:
Year:
Post Summaries
Back to Blog
The text provides a detailed guide on setting up a cost-effective alternative to Heroku for deploying applications using EC2, Docker, Dokku, and Vagrant. It explains how Heroku, while useful, may be expensive for large-scale operations like those at Clearbit, prompting the exploration of alternatives that offer similar benefits without the high cost. The guide walks through the process of using Vagrant to create and manage EC2 instances, Docker for application environment isolation, and Dokku to emulate Heroku's app deployment features using Git and buildpacks. It includes steps for setting up AWS credentials, creating a Vagrantfile to define server configurations, provisioning servers, and deploying apps via Git. Additionally, the text suggests enhancing the setup with custom AMIs, managing multiple servers, and configuring application environments, providing an overview of how to build a personalized Platform as a Service (PaaS) solution.
Sep 25, 2014
1,571 words in the original blog post.
PostgreSQL struggles with performance issues when handling high offsets due to its need for a full table scan, which complicates pagination without excessive memory usage. While cursors might seem like a potential solution, they rely on transactions and can lead to memory exhaustion. A more effective approach involves using an indexed auto-incrementing ID for pagination purposes. At Clearbit, UUIDs are used for identifiers, but an internal indexed numeric sequence column (iid) is utilized for efficient pagination. This method involves selecting records based on the iid column rather than an OFFSET, leading to faster query execution. The implementation, demonstrated with a Sequel example, can be adapted to other ORMs and facilitates pagination by iterating over ordered records using a WHERE clause with the iid column, ensuring optimal performance with large datasets.
Sep 23, 2014
279 words in the original blog post.
Mailmatch is a newly announced service that enhances email marketing lists by providing social data. Users can upload their email lists either by pasting emails directly or through a Mailchimp integration. The service gathers publicly available social information, such as Facebook handles and Twitter followers, to enrich the data. Additionally, Mailmatch offers a downloadable CSV file with expanded attributes, including social profiles, company information, and job titles, all powered by Clearbit's APIs. For ongoing email list processing, integration with Clearbit's APIs is recommended.
Sep 21, 2014
114 words in the original blog post.