Pinboard (jm)
https://pinboard.in/u:jm/public/
recent bookmarks from jmankane/strong_migrations: Catch unsafe Rails migrations at dev time2019-04-08T09:39:48+00:00
https://github.com/ankane/strong_migrations
jm
Strong Migrations detects potentially dangerous operations in [Rails database] migrations, prevents them from running by default, and provides instructions on safer ways to do what you want.
]]>database migrations rails releases ops databases mysql ruby gemshttps://pinboard.in/https://pinboard.in/u:jm/b:11703c588753/What causes Ruby memory bloat? – Joyful Bikeshedding2019-03-25T11:53:22+00:00
https://www.joyfulbikeshedding.com/blog/2019-03-14-what-causes-ruby-memory-bloat.html
jmAnother likely suspect is the memory allocator. After all, Nate Berkopec and Heroku remarked that fiddling with the memory allocator (either replacing it altogether with jemalloc, or setting the magical environment variable MALLOC_ARENA_MAX=2) drastically lowers [Ruby] memory usage.
]]>ruby memory rails linux malloc bloat jemalloc opshttps://pinboard.in/https://pinboard.in/u:jm/b:2ea0371f30eb/Ruby in Production: Lessons Learned — Medium2016-03-23T14:24:27+00:00
https://medium.com/@rdsubhas/ruby-in-production-lessons-learned-36d7ab726d99#.8ez7ska71
jmrvm docker ruby production rails opshttps://pinboard.in/https://pinboard.in/u:jm/b:ea02a9490a1f/Semian2015-06-23T13:17:53+00:00
https://github.com/shopify/semian
jmcircuit-breaker bulkhead patterns architecture microservices shopify rails ruby networking reliability fallback fail-fasthttps://pinboard.in/https://pinboard.in/u:jm/b:1110a603d906/How We Moved Our API From Ruby to Go and Saved Our Sanity2015-06-15T09:33:33+00:00
http://blog.parse.com/learn/how-we-moved-our-api-from-ruby-to-go-and-saved-our-sanity/
jmgo ruby rails ops parse languages platformshttps://pinboard.in/https://pinboard.in/u:jm/b:467ce7f9b421/devbook/README.md at master · barsoom/devbook2015-03-25T15:17:01+00:00
https://github.com/barsoom/devbook/blob/master/deploy_without_downtime/README.md
jmactiverecord fail rails mysql sql migrations databases schemas releasinghttps://pinboard.in/https://pinboard.in/u:jm/b:be719470c073/soundcloud/lhm2015-03-09T23:08:39+00:00
https://github.com/soundcloud/lhm
jm
The basic idea is to perform the migration online while the system is live, without locking the table. In contrast to OAK and the facebook tool, we only use a copy table and triggers. The Large Hadron is a test driven Ruby solution which can easily be dropped into an ActiveRecord or DataMapper migration. It presumes a single auto incremented numerical primary key called id as per the Rails convention. Unlike the twitter solution, it does not require the presence of an indexed updated_at column.
]]>migrations database sql ops mysql rails ruby lhm soundcloud activerecordhttps://pinboard.in/https://pinboard.in/u:jm/b:7319dc67d62e/Speeding up Rails 4.22014-12-01T11:06:06+00:00
http://samsaffron.com/archive/2014/12/01/speeding-up-rails-4-2
jmrails ruby performance profiling discoursehttps://pinboard.in/https://pinboard.in/u:jm/b:c9f6c3e0b862/Rails migrations with no downtime2014-11-05T14:14:16+00:00
http://blog.codeship.io/2014/02/11/rails-migrations-zero-downtime.html
jmactiverecord deploy migrations rails ruby sql fail downtimehttps://pinboard.in/https://pinboard.in/u:jm/b:881a6733e8f4/cavalle/steak · GitHub2014-06-20T23:34:25+00:00
https://github.com/cavalle/steak
jma minimal extension of RSpec-Rails that adds several conveniences to do acceptance testing of Rails applications using Capybara. It's an alternative to Cucumber in plain Ruby.
Good approach here to copy, but very tied to Rails.]]>rails ruby testing acceptance-testing steak bdd rspec codinghttps://pinboard.in/https://pinboard.in/u:jm/b:838ffd30ccc1/TDD is dead. Long live testing2014-04-24T14:41:16+00:00
http://david.heinemeierhansson.com/2014/tdd-is-dead-long-live-testing.html
jmTest-first units leads to an overly complex web of intermediary objects and indirection in order to avoid doing anything that's "slow". Like hitting the database. Or file IO. Or going through the browser to test the whole system. It's given birth to some truly horrendous monstrosities of architecture. A dense jungle of service objects, command patterns, and worse. I rarely unit test in the traditional sense of the word, where all dependencies are mocked out, and thousands of tests can close in seconds. It just hasn't been a useful way of dealing with the testing of Rails applications. I test active record models directly, letting them hit the database, and through the use of fixtures. Then layered on top is currently a set of controller tests, but I'd much rather replace those with even higher level system tests through Capybara or similar.
I think that's the direction we're heading. Less emphasis on unit tests, because we're no longer doing test-first as a design practice, and more emphasis on, yes, slow, system tests.
]]>tdd rails testing unit-tests system-tests integration-testing ruby dhh mockshttps://pinboard.in/https://pinboard.in/u:jm/b:1b88f6f761dd/Huginn2014-04-14T15:39:50+00:00
https://github.com/cantino/huginn/blob/master/README.md
jma system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed event flow graph. Think of it as Yahoo! Pipes plus IFTTT on your own server. You always know who has your data. You do.
MIT-licensed open source, built on Rails.]]>ifttt automation huginn ruby rails open-source agentshttps://pinboard.in/https://pinboard.in/u:jm/b:45473ceb4e29/Phusion Passenger now supports the new Ruby 2.1 Out-Of-Band GC2014-03-31T13:34:36+00:00
http://blog.phusion.nl/2014/01/31/phusion-passenger-now-supports-the-new-ruby-2-1-out-of-band-gc/
jmruby gc ops performance phusion passenger rails unicorn out-of-band web-serviceshttps://pinboard.in/https://pinboard.in/u:jm/b:8ec55f6f8a2d/Reducing MongoDB traffic by 78% with Redis | Crashlytics Blog2013-05-23T09:04:10+00:00
http://www.crashlytics.com/blog/reducing-mongodb-traffic-by-78-with-redis-caching/
jmcrashlytics fail roflscale rails caching redis ruby via:oisinhttps://pinboard.in/https://pinboard.in/u:jm/b:684457d967c4/Rails' Insecure Defaults2013-03-27T21:27:45+00:00
http://blog.codeclimate.com/blog/2013/03/27/rails-insecure-defaults/
jmrails security ruby web tipshttps://pinboard.in/https://pinboard.in/u:jm/b:fbc7d4814bae/From a monolithic Ruby on Rails app to the JVM2013-03-18T22:57:49+00:00
http://www.slideshare.net/pcalcado/from-a-monolithic-ruby-on-rails-app-to-the-jvm
jmsoundcloud rails slides jvm scalability ruby scala clojure codinghttps://pinboard.in/https://pinboard.in/u:jm/b:1d5708160eed/Using Statsd and Graphite From a Rails App2013-01-31T16:01:45+00:00
http://www.spacevatican.org/2012/9/18/using-statsd-and-graphite-from-a-rails-app/
jmrails graphite metrics service-metrics rubyhttps://pinboard.in/https://pinboard.in/u:jm/b:b2ef1ea7d819/Play framework2009-12-15T16:38:51+00:00
http://www.playframework.org/
jmjava rails webdev mvc webapps play playframeworkhttps://pinboard.in/u:jm/b:5630e10eaa9d/Unicorn at GitHub2009-10-22T11:12:38+00:00
http://github.com/blog/517-unicorn
jmweb ruby rails github nginx httpd server mongrel unicorn rubyonrails preforking unix fork select process-poolhttps://pinboard.in/u:jm/b:d1d93dd03caf/