JWT Authentication

Implementing authentication for third-party access is no small feat, but is imperative in order to compete in a complex API economy and expand business capabilities. With every application, securing protected resources always poses a unique challenge, particularly considering how rapid technology evolves. New solutions come along and customers expect a level of consistency across apps,… Continue reading JWT Authentication

Multiple Databases with Rails 6 and RDS

Rails 6 shipped with the ability to use multiple databases in one application, making automatic connection switching as simple as adding a connects_to method in the respective class. To go a step further, we’ll set up an Amazon RDS instance, which benefits team members by providing consistent access to the same database—which could contain a… Continue reading Multiple Databases with Rails 6 and RDS

AWS Lambda Functions for Python and Ruby

I love to program in Ruby as well as Python, and AWS Lambda functions provide the perfect solution to combine both language’s capabilities without additional server configuration. The aws-sdk-lambda library makes serverless computing workflow dead simple, by providing a gateway that connects to a Lambda function that will run Python code and return the results… Continue reading AWS Lambda Functions for Python and Ruby

Background Processing with RETS and Sidekiq

Managing large quantities of real estate data is computationally intensive, and well-suited for background processing. The task involves importing thousands of MLS® listings into a Redis in-memory data structure store, using an open government API for geocoding, and association with other models, therefore a lot can go wrong, and it’s important to isolate these functions… Continue reading Background Processing with RETS and Sidekiq

Ruby 2.7.0

As per tradition, a new version of Ruby was released on Christmas Day. Out of the 4,190 file changes since 2.6.0, Ruby 2.7.0 introduces some notable improvements.