Page 67 of 127 (2534 total posts)

April 2021

06-04-2021
Metaprogramming: Writing in Ruby with... Ruby | Toptal

Metaprogramming: Writing in Ruby with... Ruby | Toptal

Source: toptal.com

Ruby metaprogramming, one of the most interesting aspects of Ruby, enables the programming language to achieve an extreme level of expressiveness. It is because of this very feature that many gems, such as RSpec and ActiveRecord, can work the way they do. In this article, Toptal engineer Nikola Todorovic demystifies...

Tags: metaprogramming programming ruby
06-04-2021
Sharding your database Craig Kerstiens

Sharding your database Craig Kerstiens

Source: craigkerstiens.com

I’m increasingly encountering users on Heroku that are encountering the need to shard their data. For most users this is something you delay as long as possible as you can generally go for sometime before you have to worry about it. Additionally scaling up your database is often a reasonable approach early on and something I encourage as a starting point as scaling up is easy to do with regards to databases. However, for the 1% of users that do need to shard when the time comes many are left wondering where to start, hence the fo...

Tags: sharding database
06-04-2021
Handling Growth with Postgres: 5 Tips From Instagram - Instagram Engineering

Handling Growth with Postgres: 5 Tips From Instagram - Instagram Engineering

Source: instagram-engineering.tumblr.com

As we’ve scaled Instagram to an ever-growing number of active users, Postgres has continued to be our solid foundation and the canonical data storage for most of the data created by our users. While less than a year ago, we blogged about how we “stored a lot of data” at Instagram at 90 likes per second, we’re now pushing over 10,000 likes per second at peak–and our fundamental storage technology hasn’t changed.

Tags: postgres scaling database postgres