MENU
Home
News
Tutorials
Blogs
Videos
Jobs
Conferences
Events
Books
Gems
Services
Other
About
Home
Categories
6742
today
Blogs
Zero Downtime Migrations with ActiveRecord and PostgreSQL
As our database and traffic continued to grow, we discovered that certain migrations which appeared harmless actually caused table locking and, in some cases, downtime!
Rails 5.1: Default Primary Keys Are Now BIGINT
Remember the Twitpocalypse? Back in 2009, Twitter ran out of Integers. Like most of us, they set up the primary key in their tweets table to be a 32-bit signed integer. Once they hit the magical number (2,147,483,647), servers were all but guarant...
How to detect image contents from Ruby with Amazon Rekognition
Rekognition is a new Amazon Web Service that “makes it easy to add image analysis to your applications.” It can detect faces and objects, and even let you store libraries of faces for future recognition.
Implementing Twitter Bot using Ruby
When I was 15 years old, I dreamed of being able to develop bots. The story behind was terribly simple, – back then it was way too popular among us (the little nerds) to manage own IRC bots which could do some fancy things like log the discussion ...
Ruboto 1.5.0
Ruboto (JRuby on Android) is a platform for developing full stand-alone apps for Android using the Ruby language and libraries. It includes support libraries and generators for creating projects, classes, tests, and more. The complete APIs of Andr...
A Rubyist's Guide to Big-O Notation
Performance means one of two things: speed, or ram usage. In computer science class you'd refer to these as "time complexity" and "space complexity." Big-O notation is used for both, but we're going to focus on speed here, since that seems to be t...
Rails Database Best Practices
Working on an oldish Rails project, I came across some smelly ActiveRecord code that begged for some refactoring love. I also spent some time speeding up pages with slow/many database calls. Between those two experiences, I felt the inspiration to...
Top 10 Quick Rails Performance Wins
We've been using and deploying Rails applications since 1.0. In the beginning, Rails performance was really looked down on and wasn't really defended. You used and deployed with it because of developer productivity. Over time things like caching, ...
How to write an MVC framework in Ruby
Hey guys! What if we wrote a web application similar to a typical rails-application? I.e. it will have MVC, routing, migrations, some configs, all in all, everything like it's supposed to be (or purposed, whatever you like). But all this will be a...
Microservice Communication with Queues
Microservices are small programs that handle one task. A microservice that is never used is useless though — it’s the system on the whole that provides value to the user. Microservices work together by communicating messages back and forth so that...
<
1
…
185
186
187
188
189
190
191
>
Visit our blog
Categories
News
Tutorials
Blogs
Videos
Jobs
Conferences
Events
Books
Gems
Services
Other