A recent interview with Matz (Yukihiro Matsumoto), creator of Ruby, and Sasada Koichi, creator of YARV, tackles the topic of Ruby's handling of threads. Current stable releases of Ruby use user space threads (also called "green threads"), which means that the Ruby interpreter takes care of everything to do with threads. This is in contrast to kernel threads, where the creation, scheduling and sync
Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news. Note: This post was drafted before DHH's "The deal with shared hosts" post, but as it covers similar ground, it's worth reading too. DHH's opinion appears to be that shared hosts should put up or shut up, but I disagree and suggest this is something we need to solve as a community. Most of us in the Ruby community know tha
By David Heinemeier Hansson on January 9, 2008 Most Rails contributors are not big users of shared hosting and they tend to work on problems or enhancements that'll benefit their own usage of the framework. You don't have to have a degree in formal logic to deduce that work to improve life on shared hosting is not exactly a top priority for these people, myself included. That's not a value judgeme
Ruby on Rails Enterprise Application Development by Elliot Smith and Roch Nichols I was kindly sent a copy of Ruby on Rails Enterprise Application Development (or amazon.com link) by Elliot Smith and Roch Nichols by publisher Packt. As the authors are both British and the leading author is called Elliot Smith (close enough to the name of my favorite recording artist) I felt compelled to give it a
Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news. It's not very often I get to announce my own work here, but SwitchPipe is a new project I've been working on since my "No True mod_ruby Is Damaging Ruby's Viability On The Web" post. It was Ruby Inside's most commented-on post yet and inspired a lot of discussion about the state of deploying Ruby apps online, and got me to
rack-logo posted by (C)komagata komagataです。 仕事でも使う必要が出てきたのでRubyの勉強をしています。WebアプリケーションでRubyを使おうとしていきなり躓いたのがApache、WEBrick、Mongrel等、実行環境毎の設定やAPIの違いです。 Rubyを普段使っている人には常識過ぎるのか情報が少なく、FastCGIで単に「Hello, World」を表示させるのにも一苦労でした。(Railsでは簡単に動くのが悔しい) そんな実行環境毎のAPIの差を吸収してくれるRackというライブラリを知ったので試してみました。 RackはRuby版WSGIと呼ばれているそうです。WSGIとはWeb Server Gateway Interfaceの略でWeb ServerとWeb Applicationの間のInterfaceを定めたPython界の仕
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
Swiftply(日本語で何て読む?)はRubyで書かれたHTTPに特化したプロキシフレームワークである。ApacheのModProxyBalancerやHAProxyなどのプロキシといったフレームワークと大きく異なる点として、プロキシとアプリケーションサーバの関係が上げられる。Swiftplyではブラウザからのリクエストを受け付けるSwiftplyサーバとリクエストを処理する複数のSwifplyクライアントから構成される。Swiftplyクライアントは全て同じアドレス・ポートでリクエストを待ち受ける。 Swiftiplyサーバーの設定ファイルの作成 config/swiftiply_config.ymlにサーバの設定ファイルを設置する。(パスは任意でOK) cluster_address: 0.0.0.0 cluster_port: 80 #daemonize: true timeout
はじめに Star It!のアクセス数が増えてきて、色々と支障がでてきたので、おもいきって友人の会社に置いているサーバへと移してみました。さすがに、さくらインターネットの共用サーバ上で、1日あたり10万クエリをCGI + sqlite3という構成でさばくのは無理があったようです。新天地では、データベースをMySQLへと入れ替えたうえで、PoundとMongrel、それにApache2.0系という構成にしてみましたので、ばっちり動いてくれることを期待しています。 というわけで、今回のエントリーは、PoundとMongrel、それにApache2.0系を利用して、Ruby on Railsウェブアプリケーション環境を構築してみよう、という話です。この構成のメリットは、十分なスケーラビリティを得たうえで、柔軟性も確保できるという点が挙げられます。私のサーバ環境はDebian GNU/Linuxで
Update: Slightly more complete examples. I found a nice little technique for debugging Ruby code today. Ever had a situation where you wanted to insert some debugging code in the middle of an expression? The usual way is to break up the expression and use intermediate variables to get at the value, but it turns out that’s really not necessary in Ruby. Check this out: class Object def tap yield sel
クライアントサーバ形式だと情報漏えいの危険性があるから、ホストターミナル形式へ戻したって訳ですね。 #歴史は繰り返す 使用感などを うちはWindowsServer2003にログインしてます。 普通にWindowsにターミナルサービスで入るのと使用感はまったく同じです。 SunRayカードを抜くとそこでセッションが保存されて適当な端末に刺すと続きから。 たまに固まって近くの人からいっせいに悲鳴が上がったりwしばらくすると復旧しますが。 みんながいっせいにログインする時間はログインに時間がかかります。 USBポートはあるけどキーボードとマウス以外は刺しても認識しないようになっています。 プリンタは各拠点のがずらーっと並んでて自分の席の近くのを選んでそこからだすようにします。 違う建物のプリンタから出したりしたら大変なことになりますw
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く