1read 100read
2012年5月レンタル鯖4: 【ヘロク】 Heroku Part1 【PostgreSQL】 (210) TOP カテ一覧 スレ一覧 2ch元 削除依頼
鯖の疑問はワシに質問せい! (273)
ようこそ、ぼくの、ホームページへ、パート6 (130)
【.com】 空 き ド メ イ ン 【.net】 (419)
【ブログ】ハッスルサーバー【メール】 2ハッスル (952)
KDDIホスティングサービス(法人向け?) (153)
さくらインターネット 質問にマジギレするスレ Part22 (101)

【ヘロク】 Heroku Part1 【PostgreSQL】


1 :12/02/16 〜 最終レス :12/05/31

http://www.heroku.com/
https://postgres.heroku.com/
http://addons.heroku.com/
http://devcenter.heroku.com/articles/using-the-cli
https://github.com/heroku
http://blog.heroku.com/
https://twitter.com/#!/heroku
https://status.heroku.com/
https://twitter.com/#!/herokustatus
http://www.facebook.com/herokujp
http://groups.google.com/group/heroku-ja
http://groups.google.com/group/heroku/

2 :
ruby
http://find.2ch.net/?STR=ruby
【RoR】Ruby on Rails Part13
http://kohada.2ch.net/test/read.cgi/php/1320393984/l50

3 :
なぜ今頃突然に

4 :
Migrating to the Celadon Cedar Stack | Heroku Dev Center
http://devcenter.heroku.com/articles/cedar-migration

5 :
http://devcenter.heroku.com/articles/rails3
http://devcenter.heroku.com/articles/rails31_heroku_cedar
http://devcenter.heroku.com/articles/rails3x-asset-pipeline-cedar
http://stackoverflow.com/questions/tagged/heroku
http://railsapps.github.com/rails-heroku-tutorial.html
http://blog.heroku.com/archives/2011/5/31/celadon_cedar/

6 :
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50

7 :
https://twitter.com/#!/search/heroku
https://twitter.com/#!/cloooote

8 :

http://www.iron.io/
http://docs.iron.io/worker
https://addons.heroku.com/iron_worker

9 :
http://b.hatena.ne.jp/t/heroku?sort=eid
http://b.hatena.ne.jp/t/heroku

10 :
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50
http://rubydoc.info/gems/ar-octopus/frames
https://github.com/tchandy/octopus
https://www.ruby-toolbox.com/categories/Active_Record_Sharding

11 :
https://github.com/mperham/data_fabric
https://github.com/kovyrin/db-charmer
https://github.com/technoweenie/masochism
https://github.com/tchandy/octopus
https://github.com/schoefmax/multi_db
https://github.com/mixonic/ShardTheLove

12 :
Twitterのトラブルから見る、DB分割でスケーラブルなRailsサイト構築:TKMR.blog.show
http://blog.tkmr.org/tatsuya/show/311-twitter-db-rails
Magic Multi-Connections: A “facility in Rails to talk to more than one database at a time”
http://drnicwilliams.com/2007/04/12/magic-multi-connections-a-facility-in-rails-to-talk-to-more-than-one-database-at-a-time/
ActsAsReadonlyable
http://revolutiononrails.blogspot.com/2007/04/plugin-release-actsasreadonlyable.html
https://github.com/masarakki/acts_as_multi_connection
https://github.com/tchandy/octopus
https://github.com/kovyrin/db-charmer
https://github.com/mperham/data_fabric
https://www.ruby-toolbox.com/categories/Active_Record_Sharding

13 :
acts_as_readonlyable
http://revolutiononrails.blogspot.com/2007/04/plugin-release-actsasreadonlyable.html
http://drnicwilliams.com/2007/04/12/magic-multi-connections-a-facility-in-rails-to-talk-to-more-than-one-database-at-a-time/
octopus
Database Sharding for ActiveRecord
https://github.com/tchandy/octopus
User.where(:name => "Thiago").limit(3).using(:slave_one)
Octopus.using(:slave_two) do
User.create(:name => "Mike")
end
Database sharding and Rails - Stack Overflow
http://stackoverflow.com/questions/44145/database-sharding-and-rails

14 :
https://github.com/runeleaf/acts_as_readonlyable

15 :
ActiveRecord の find(id) と find_by_id(id) の違い
http://higelog.brassworks.jp/?p=71

16 :
https://github.com/tchandy/octopus/wiki/Sharding
https://github.com/tchandy/octopus
class ApplicationController < ActionController::Base
around_filter :select_shard
def select_shard(&block)
Octopus.using(current_user.country, &block)
end
end
https://github.com/mperham/data_fabric
class ApplicationController < ActionController::Base
around_filter :select_shard
private
def select_shard(&block)
DataFabric.activate_shard(:city => @current_user.city, &block)
end
end

17 :
ActiveRecord の find(id) と find_by_id(id) の違い
レコードが見つからなかったとき
find(id) 例外が発生する
find_by_id(id) nil が返る
http://higelog.brassworks.jp/?p=71

18 :
Comment.find_all_by_id([2, 3, 5])
http://stackoverflow.com/questions/1441791/how-to-select-where-id-in-array-rails-activerecord-without-exception

19 :
http://partitioned.rubyforge.org/

20 :

octopus
Database Sharding for ActiveRecord
https://github.com/tchandy/octopus
https://github.com/tchandy/octopus/wiki/config-file
https://github.com/tchandy/octopus/wiki/Sharding
ar-octopus
http://gendosu.jp/archives/1037

21 :
http://www.sssg.org/blogs/naoya/archives/1989
http://blog.agoragames.com/blog/2010/01/29/getting-started-with-data_fabric/
class ApplicationController < ActionController::Base
around_filter :select_shard
private
def select_shard(&block)
DataFabric.activate_shard(:city => @current_user.city, &block)
end
end
https://github.com/fiveruns/data_fabric/blob/ee9ec728686613acb58f0bcc482c179703c24ded/README.rdoc
http://rubydoc.info/gems/data_fabric/1.3.3/file/README.rdoc

22 :
#{group}_#{shard}_#{environment} - sharding, no replication, e.g. “city_austin_production”
data_fabric :replicated => true, :shard_by => :city
https://github.com/mperham/data_fabric
class ApplicationController < ActionController::Base
around_filter :select_shard
private
def select_shard(&block)
DataFabric.activate_shard(:city => @current_user.city, &block)
end
end

23 :
Amazon.co.jp: Heroku Cedar: Jurg van Vliet, Flavia Paganelli, Jasper Geurtsen, Matti Paksula, Att.. 
http://www.amazon.co.jp/gp/product/1449319637

24 :
RoR Wiki 翻訳 Wiki - HowtoUseMultipleDatabases
http://web.archive.org/web/20070217161907/http://techno.hippy.jp/rorwiki/?HowtoUseMultipleDatabases
やむにやまれず:ActiveRecordで異なる複数のDBへ接続しにいく方法
http://blog.livedoor.jp/sparklegate/archives/50376930.html
[Ruby] ActiveRecord で複数のデータベースに接続する方法 « messaliberty 日本語
http://jp.messaliberty.com/2009/02/ruby-how-to-use-multiple-databases-with-activerecord/

25 :
https://github.com/engineyard/datafabric-example/blob/master/app/controllers/application_controller.rb
https://github.com/engineyard/datafabric-example/blob/master/app/controllers/accounts_controller.rb
https://github.com/engineyard/datafabric-example/blob/master/app/controllers/figments_controller.rb

26 :
Master-Slave clusters to scale out your Rails models reads.
Vertical sharding by moving some of your models to a separate (maybe even dedicated) servers and still keep using AR associations
Horizontal sharding by slicing your models data to pieces and placing those pieces into different databases and/or servers.
http://kovyrin.net/2010/04/16/dbcharmer-rails-can-scale/
https://github.com/kovyrin/db-charmer
http://kovyrin.github.com/db-charmer/

27 :
http://groups.google.com/group/db-charmer

28 :
http://kovyrin.github.com/db-charmer/#migrations

29 :

>>10

30 :
http://rubydoc.info/gems/data_fabric/frames

31 :
https://github.com/schoefmax/multi_db
http://firn.jp/2010/07/19/rails_multi_db

32 :

【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50
http://rubydoc.info/gems/ar-octopus/frames
https://github.com/tchandy/octopus
https://github.com/kovyrin/db-charmer
https://github.com/mperham/data_fabric
https://www.ruby-toolbox.com/categories/Active_Record_Sharding

33 :
HerokuでWebアプリ開発を始めるなら知っておきたいこと (10)参考リンク集 - アインシュタインの電話番号☎
http://d.hatena.ne.jp/ruedap/20110508/ruby_heroku_web_app_development_tips_10

34 :
何このスレ

35 :
>>24
HowtoUseMultipleDatabases in Ruby on Rails
http://oldwiki.rubyonrails.org/rails/pages/HowtoUseMultipleDatabases
http://kadoppe.com/archives/2011/12/rails-activerecord-warning-cant-mass-assign-protected-attributes-type.html
http://d.hatena.ne.jp/rudeboyjet/20101221/p1
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50

36 :
https://github.com/Dashwire/active_shard

37 :
個人でちょっとしたアプリ作って公開するには、無料分だとちょっとDBの容量が心もとなくない?
ただ20GBの共有データベースに課金するぐらいなら、VPS使った方が良くないかな?
個人的に使うアプリを色々と置かせてもらってるので、Herokuは好きなんだけど・・・
それともなんか他に良いやり方あるかな?

38 :
Get up and running in minutes, and deploy instantly with git.
Focus 100% on your code, and never think about servers
http://www.heroku.com/
ヒト、モノ、カネは有限
選択と集中

39 :
Herokuはつかえない。最初は良かったけど結局は高くつく。
さくらとか、カゴヤとかのレンサバの方が百倍マシ。

40 :
ケーススタディ11 初期の成功を放棄し、スケールするためのPivotとは?Herokuの場合 | "Lean Startup Japan"
Herokuは2011年1月にSalesforce.comに2億1200万ドル(約172億円!!)で買収されました。
彼らは「さらなる集中」の必要性に気づきます。
そこでの選択は「Webエディタ機能の放棄」でした。
http://leanstartupjapan.org/?p=237

41 :
クラウド型ストレージ「Amazon S3」は安いか? − @IT
1つはデータの冗長構成についてで、
Amazonは地理的に離れた最低2つのデータセンターにまたがって3重の冗長度でデータを保持している。
自前で同様のことをするには、RAID構成のストレージを2つのデータセンターに置き、それらの間でリアルタイムのレプリケーションを行う必要がある。
http://www.atmarkit.co.jp/news/200901/09/s3.html

42 :
HerokuがPostgreSQLのDatabase-as-a-Serviceを開始。しかし料金表がおかしいぞ − Publickey
If a meteor were to wipe out the east coast, you won’t lose your data.
もしも宇宙からの隕石で米東海岸が壊滅しても、データが失われることはありません。
http://www.publickey1.jp/blog/11/herokupostgresqldatabase-as-a-service.html

43 :
Heroku Postgresを触ってみた PostgreSQL Advent Calendar #2 - 象と戯れ - postgresqlグループ
http://postgresql.g.hatena.ne.jp/umitanuki/20111202/1322810909
https://postgres.heroku.com/
http://www.heroku.com/

44 :

このぐらいの性能でレプリケーション、バックアップ、リストア、ログ管理等等を
全く気にしなくていいとすれば、
月200でサーバ+DBAなんか雇えないわけで、十分ペイする気がします。
http://postgresql.g.hatena.ne.jp/umitanuki/20111202/1322810909

45 :
https://github.com/alexkazeko/faye_shards
http://rails-alex.blogspot.com/2011/10/ssl-support-for-high-loaded-faye-nodejs.html

46 :
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50

47 :
PostgreSQL 9.1 Now Default
https://postgres.heroku.com/blog/past/2012/3/1/postgresql_91_now_default/

48 :

http://ja.wikipedia.org/wiki/TCO
TCO (Total Cost of Ownership) とは「総保有コスト」のことで、ある設備などの資産に関する、購入から廃棄までに必要な時間と支出の総計。
予算を作成し要求する際、ランニングコスト(保守・運用・維持等のための費用、例として設備・システムなどのメンテナンス、
有償の更新、管理のための人件費、光熱費など)のために必要な経費を考慮に入れず、
初期投資額(イニシャルコスト)だけに注目しがちである。
TCOはそれらをトータルに含めた経費で、実際に支出すべき金銭の全額にあたる。

49 :
【test-unit】RSpec【minitest】
http://kohada.2ch.net/test/read.cgi/php/1330647705/l50
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50

50 :
http://www.postgresql.org/docs/9.0/static/app-psql.html

51 :
$ gem install mysql2postgres

52 :
http://devcenter.heroku.com/articles/heroku-postgres-documentation
Fork (beta)
Forking creates a new database containing a snapshot
of an existing database at the current point in time.
Forked databases do not stay up-to-date with the original database and are writable.
Follow (beta)
Followers are read-only and stay stay up-to-date
with the changes to your database.

53 :
Heroku PG Backups
http://devcenter.heroku.com/articles/pgbackups

54 :
Automatic monthly snapshots (i.e. backups) are automatically enabled for standalone databases.
They must be manually enabled when database are provisioned as an add-on.
Standalone databases do not appear through our command-line client.
http://devcenter.heroku.com/articles/differences-standalone-vs-addons-database

55 :
https://addons.heroku.com/pgbackups

56 :
https://postgres.heroku.com/databases

57 :
Restoring from a Backup
http://devcenter.heroku.com/articles/pgbackups#restoring_from_a_backup

58 :
fork
分岐
http://dic.yahoo.co.jp/dsearch?p=fork&enc=UTF-8&stype=0&dtype=1

59 :
【test-unit】RSpec【minitest】
http://kohada.2ch.net/test/read.cgi/php/1330647705/l50
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50
https://postgres.heroku.com/databases

60 :
http://www.heroscale.com/
http://twitter.com/heroscale

61 :

scaling scheduler for heroku dynos/workers
http://rubygems.org/gems/heroku_scale_scheduler

62 :

TASK FREQUENCY
heroku:scale:dynos Every 10 minutes
heroku:scale:workers Every 10 minutes
http://rubydoc.info/gems/heroku_scale_scheduler/0.0.2/frames

63 :
https://github.com/hsbt/heroku_scale_scheduler
https://github.com/railsjedi/heroku-rails

64 :
https://github.com/fastestforward/heroku_san

65 :

Heroku | Nezumi 2.0 for Managing Heroku Apps 'on-the-go' Now Available for iPhone
http://blog.heroku.com/archives/2012/2/21/nezumi-2-for-iphone/
http://itunes.apple.com/us/app/nezumi/id346715875?mt=8

66 :
https://github.com/hsbt/heroku-invoice

67 :
Heroku Toolbelt  
https://toolbelt.herokuapp.com/

68 :
みんさん、英語よめるの?すげー

69 :
Ruby on Railsが簡単というのは嘘 - 30 to 30
http://toyoshi.hatenablog.com/entry/2012/03/09/143753
Rails Hub情報局: 素人がWebサービスを作ってみて分かった9つのこと
http://el.jibun.atmarkit.co.jp/rails/2011/09/web9-1e8b.html

70 :
Heroku app drops initial requests
http://stackoverflow.com/questions/4909651/heroku-app-drops-initial-requests
Keep Heroku 1 dyno instance always alive [closed]
http://stackoverflow.com/questions/4297543/keep-heroku-1-dyno-instance-always-alive

71 :
How many simultaneous connections will a shared database on Heroku allow? - Quora
You should be safe with up to around 20 connections.
http://www.quora.com/How-many-simultaneous-connections-will-a-shared-database-on-Heroku-allow

72 :
https://addons.heroku.com/heroku-shared-postgresql
20 connections
Ingress support

73 :
>>71-72
既存のShared Database 20GBと比較して、これはどういう位置付けになるんだろ?

74 :
プラン      ronin     fugu ika zilla baku mecha
接続コネクション数 16 20 50 100 200 400
http://thinkit.co.jp/story/2011/03/23/2060?page=0,1
http://blog.heroku.com/archives/2010/11/4/heroku_postgresql/

75 :
さくらvps
http://d.hatena.ne.jp/kaosf/20111214/1323876555

76 :
heroku addons:add heroku-shared-postgresql:basic

77 :
Outside Connections
In addition to being available to the Heroku runtime,
databases can be accessed directly by clients running elsewhere.
All connections require SSL.
http://devcenter.heroku.com/articles/heroku-shared-postgresql
http://devcenter.heroku.com/articles/labs-heroku-shared-postgresql

78 :
さくらのVPS http://vps.sakura.ad.jp
Cloudcore http://cloudcore.jp
Serversman http://serversman.jp

79 :
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50

80 :
SonicGardenにおけるherokuでのサービス運用構成 - blog.mah-lab.com
http://blog.mah-lab.com/2012/03/12/sonicgarden-heroku/

81 :
Herokuで定期バックアップを無料で簡単に取得する方法 - スモールスタート
http://blog.mat-aki.net/heroku-easy-free-daily-backup
mataki/heroku_backup_task - GitHub
https://github.com/mataki/heroku_backup_task

82 :
heroku addons:add heroku-shared-postgresql:basic
heroku addons:add ssl:piggyback
heroku addons:add scheduler:standard
heroku addons:add mailgun:starter
heroku addons:add cron:daily
heroku config:add AWS_S3_SECRET_KEY="xxxx" AWS_S3_KEY_ID="xxxx" BACKUP_BACKET="backet-name"
https://github.com/mataki/heroku_backup_task

83 :
アプリのDBデータを別アプリにリストアする方法 - よかろうもん!
http://d.hatena.ne.jp/interu/20120313/1331633642

84 :
Why Startups Need Automated Infrastructures
http://www.slideshare.net/adamhjk/why-startups-need-automated-infrastructures

85 :
groongaに対応してくれないかな…

86 :
Introducing key/value data storage in Heroku Postgres
https://postgres.heroku.com/blog/past/2012/3/14/introducing_keyvalue_data_storage_in_heroku_postgres/

87 :

heroku/hstore_example
http://hstoredemo.herokuapp.com/
https://github.com/heroku/hstore_example
NoSQL with Postgres - Using Hstore in Rails - YouTube
http://www.youtube.com/watch?v=trycX7CL2A0

88 :
Bonsai ElasticSearch
Fulltext search that celebrates craftsmanship
https://addons.heroku.com/bonsai

89 :
https://status.heroku.com/

90 :

Heroku | Add-ons
https://addons.heroku.com/mwiki

91 :
MemCachier
Give your database a break with a scalable in-memory cache.
https://addons.heroku.com/memcachier
RoboWhois
Query WHOIS records and check domain availability with a unified, consistent API direcly from your app.
https://addons.heroku.com/robowhois

92 :
ruby on rails - Easy way to prevent Heroku idling? - Stack Overflow
http://stackoverflow.com/questions/5480337/easy-way-to-prevent-heroku-idling
heroku addons:add newrelic:standard
https://addons.heroku.com/newrelic
http://pingdom.com/

93 :
What is dyno idling? | Heroku Dev Center
http://devcenter.heroku.com/articles/dyno-idling
Heroku | Dev Center | The Dyno Manifold
http://devcenter.heroku.com/articles/dyno-manifold
http://devcenter.heroku.com/articles/dynos#frequently-asked-questions

94 :

http://groups.google.com/group/heroku/browse_thread/thread/9f1a5d7d677fb4dc
You can install the free New Relic add-on.
It has an availability monitor feature that will ping your site twice per minute,
thus preventing the dyno from idling.
http://stackoverflow.com/questions/5480337/easy-way-to-prevent-heroku-idling
Apps that have only 1 web dyno will be idled out after one hour of inactivity.
Apps that have more than 1 web dyno are never idled out. Workers dynos are never idled out.
http://devcenter.heroku.com/articles/dyno-idling

95 :
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50
【RoR】Ruby on Rails Part14
http://kohada.2ch.net/test/read.cgi/php/1329492840/l50

96 :
クラウド上の(多言語)統合開発環境Kodingが$2Mを調達–グローバルな開発コラボが可能に
http://jp.techcrunch.com/archives/20120315koding/
Welcome to Koding. A new way for developers to get work done.
http://koding.com/
Cloud9 IDE - Ajax.org
http://c9.io/

97 :

Node.jsを手軽に試せるJavaScript統合開発環境「Cloud9 IDE」、クラウドでの提供開始 − Publickey
http://www.publickey1.jp/blog/11/nodejsjavascriptcloud9_ide.html
Cloud9 IDE is an online development environment for
Javascript and Node.js applications as well as
HTML, CSS, PHP, Java, Ruby and 23 other languages.
http://c9.io/

98 :
Reduce Server Deployment Cycles with Heroku - YouTube
http://www.youtube.com/watch?v=YbXiIjJffHk

99 :
5分でリリースできるRailsアプリ on Heroku
http://www.youtube.com/watch?v=m0BD7RwbNc0

100read 1read
1read 100read
TOP カテ一覧 スレ一覧 2ch元 削除依頼
【ライト全滅】楽天HP(infoseek isweb/cool)総合14 (466)
こんな無料webスペースは嫌だ! (725)
【ハッキングされたよ】Just-size.networks Part.7 (907)
HotHot Service/hothot.jp/HOTHOTサービス専用1.1 (184)
ものすごい勢いで誰かが無料サーバを探してあげるスレ14 (110)
月額200円にて独自ドメイン (173)
--log9.info------------------
アクセルワン所属の声優4 (358)
男のファンも多い男性声優挙げて その2 (341)
アーツビジョン事件は枕営業事件ではなかった! (158)
勘違い中堅声優がウザい (507)
けいおん!!ライブイベント総合 110曲目 (913)
女性声優の歌唱力を議論するスレ2 (491)
竹達彩奈 Part171 (121)
豊崎愛生 part268 (842)
【本スレ】生天目仁美(なばためひとみ)part54 (232)
早見沙織 part29 (138)
浪川大輔さんについて語ろう 13 (194)
【アニサマ辞退】水樹奈々アンチスレ76【ゴリ押しプロモーション】 (811)
浪川大輔アンチスレ2 (142)
津田美波 Part18 (561)
【抹殺仕事人】植田佳奈アンチスレ★冤罪被害者8人目 (454)
【棒演技】細谷佳正アンチスレ【無個性】 (770)
--log55.com------------------
★2ch.scは何故失敗したのか
★クロール批判要望スレ
★削ジェンヌに文句ある人集合
★迷惑行為報告担当 - 小さな親切募集中 2
★2ch.scへの要望スレ Part3
★かっこう観測所
★スレ立て人キャップ
★2ch.scニュース系板観測所