This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JmeterでDB負荷テストをやってみよう! (アメーバのブログ) | |
http://ameblo.jp/itboy/entry-10195254235.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
■発端。 | |
1,000万件程度のランダムな数字文字列データをMySQLにINSERTする作業を実施。 | |
Insertする前にSortすると、データのIOが40%程度削減できた。 | |
理由はSortされていればPageをメモリ上にロードする回数が少なくて済むため、との事だったが | |
理解が浅かったので勉強。 | |
以下InnoDBの話。 | |
■参考 | |
MySQL InnoDBストレージエンジンのチューニング(前編) | |
InnoDBのアーキテクチャおさらい |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SomeController{ | |
@Value(value = "#{anyProperties['any.property.value']}") | |
private String value; | |
// 中略 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git config --global push.default simple | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EclipseでのAndroidアプリ開発を快適にする設定 Mac OS X編 | |
http://d.hatena.ne.jp/gabuchan/20101130/1291095472 | |
要は | |
eclipse を右クリック=>パッケージの内容を表示 | |
Contents/MacOS/eclipse.ini を開き下記の用に変更 | |
-Xms1024m | |
-Xmx1024m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://lifehacker.com/188892/show-hidden-files-in-finder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Controller | |
@RequestMapping(value = "/anyFile") | |
public class UploadController { | |
final static Logger LOGGER = LoggerFactory.getLogger(UploadController.class); | |
@Value(value = "#{serviceProperties['anyFile.uploadpath']}") | |
String filePath; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main.java.me.relaxmore.study.servertest.server; | |
import static java.net.HttpURLConnection.HTTP_NOT_FOUND; | |
import static java.net.HttpURLConnection.HTTP_NOT_IMPLEMENTED; | |
import static java.net.HttpURLConnection.HTTP_OK; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Service | |
public class InitializingBeanSample implements InitializingBean { | |
@Override | |
public void afterPropertiesSet() { | |
// after constructed | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fData = new FormData($('form')[0]); | |
$.ajax({ | |
url: url, | |
type: "post", | |
data:fData, | |
contentType: false, | |
processData: false, | |
}) | |
//.done(function(data, textStatus, jqXHR){ | |
.complete(function(){ |