Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

タグ

2012年4月27日のブックマーク (2件)

  • MongoDB - Strategies when hitting disk

    I gave a lightning talk on this at the London MongoDB User Group and thought I'd write it up here MongoDB sucks when it hits disk (ignoring SSDs). The general advice is to never hit disk. What if you have to hit disk? Conversocial's new metrics infrastructure will allow people to see statistics for their Facebook and Twitter channels going back indefinitely. In general, the data being queried and

  • Java NIO Non-Blocking I/O

    configureBlocking(false) 前回のコードで、acceptした後にOP_READでselectorにregisterする直前に、以下のような記述がありました。 SocketChannel channel = serverChannel.accept(); channel.configureBlocking(false); channel.register(key.selector(), SelectionKey.OP_READ); この「channel.configureBlocking(false)」を実行すると、I/Oがノンブロッキングになります。 しかし前回のecho serverを実際に動かしてみると、クライアントからのリクエストをreadする箇所がノンブロッキングで行われている感触がありませんでした。これは、Selector#select()がクライアントから

    msykt
    msykt 2012/04/27
    先日のI/O多重化に続いて、nioのノンブロッキングI/Oについて