https://docs.spring.io/spring-batch/4.1.x/reference/html/scalability.html#scalability https://qiita.com/kagamihoge/items/12fbbc2eac5b8a5ac1e0 俺の訳一覧リスト 1. Scaling and Parallel Processing 大半のバッチ処理はシングルスレッド・シングル…
https://docs.spring.io/spring-batch/4.1.x/reference/html/readersAndWriters.html#readersAndWriters https://qiita.com/kagamihoge/items/12fbbc2eac5b8a5ac1e0 俺の訳一覧リスト 1.7. XML Item Readers and Writers Spring BatchはXMLを読み込みJavaオ…
https://docs.spring.io/spring-batch/4.1.x/reference/html/readersAndWriters.html#readersAndWriters https://qiita.com/kagamihoge/items/12fbbc2eac5b8a5ac1e0 俺の訳一覧リスト 1. ItemReaders and ItemWriters すべてのバッチ処理は、大規模データの…
https://docs.spring.io/spring-batch/4.1.x/reference/html/step.html#configureStep https://qiita.com/kagamihoge/items/12fbbc2eac5b8a5ac1e0 俺の訳一覧リスト 1. Configuring a Step ドメインのチャプターで解説したように、Stepは、バッチjobのシーケ…
https://docs.spring.io/spring-batch/4.1.x/reference/html/job.html#configureJob https://qiita.com/kagamihoge/items/12fbbc2eac5b8a5ac1e0 俺の訳一覧リスト 1. Configuring and Running a Job domain sectionでは、以下図を用いてアーキテクチャデザイ…
https://docs.spring.io/spring-batch/4.1.x/reference/html/domain.html#domainLanguageOfBatch https://qiita.com/kagamihoge/items/12fbbc2eac5b8a5ac1e0 俺の訳一覧リスト 1. The Domain Language of Batch 何らかの経験のあるバッチアーキテクトにとっ…
https://docs.spring.io/spring-batch/4.1.x/reference/html/whatsnew.html#whatsNew https://qiita.com/kagamihoge/items/12fbbc2eac5b8a5ac1e0 俺の訳一覧リスト 1. What’s New in Spring Batch 4.1 Spring Batch 4.1 releaseは以下の新機能があります。 @…
https://docs.spring.io/spring-batch/4.1.x/reference/html/spring-batch-intro.html#spring-batch-intro https://qiita.com/kagamihoge/items/12fbbc2eac5b8a5ac1e0 俺の訳一覧リスト 1. Spring Batch Introduction エンタープライズ領域の多くのアプリケ…
http://openjdk.java.net/jeps/348 JEP 348: Java Compiler Intrinsics for JDK APIs Author Brian Goetz Owner Vicente Arturo Romero Zaldivar Type Feature Scope SE Status Candidate Component tools Discussion amber dash dev at openjdk dot java do…
やったこと Elasticsearch + docker http://tech.innovation.co.jp/2018/08/09/constructing-enviroment-for-Elasticsearch-and-Kibana.html https://qiita.com/sugikeitter/items/f3b2c57bf8bbdc47a8bc 上記URLを参考にElasticsearchをdockerで動かす環境を…
背景 spring-batchは内部的に随所でメタテーブルなどトランザクション処理がある。軽くソースコード見た限りでは@Transactionalがついてるわけでもないのにトランザクションってどうやって実行してるのかな? と知りたくなったのでソースを見た。 しらべたソ…
目的 たとえば、spring-batchで自前のPlatformTransactionManagerにカスタマイズしたい場合、自前のBatchConfigurerのbean定義を作成すれば有効になる。このへんの仕組みを知るために、その周辺のソースコードを読んでその動作をまなぶ。いわゆる個人の日記…
http://openjdk.java.net/jeps/346 JEP 346: Promptly Return Unused Committed Memory from G1 Authors Rodrigo Bruno, Thomas Schatzl, Ruslan Synytsky Owner Thomas Schatzl Type Feature Scope Implementation Status Proposed to Target Release 12 Co…
JedisはJavaのRedisクライアント。自明だが、単一コネクションをマルチスレッドで使いまわすとその動作は不定となる。 とりあえずソースコード。 package kagamihoge.jedissample; import java.util.concurrent.ExecutorService; import java.util.concurren…
環境 Docker for Windows Version 2.0.0.0-win81 (29211) https://docs.docker.com/docker-for-windows/ Oracle Database 18c Express Edition Release 18.0.0.0.0 - Production - https://www.oracle.com/technetwork/database/database-technologies/expre…
http://openjdk.java.net/jeps/345 JEP 345: NUMA-Aware Memory Allocation for G1 Owner Sangheon Kim Type Feature Scope JDK Status Candidate Component hotspot/gc Discussion hotspot dash gc dash dev at openjdk dot java dot net Effort M Duration…
JEP 344: Abortable Mixed Collections for G1 http://openjdk.java.net/jeps/344 Owner Erik Helin Type Feature Scope Implementation Status Candidate Component hotspot/gc Discussion hotspot dash gc dash dev at openjdk dot java dot net Effort M …
http://openjdk.java.net/jeps/334 JEP 334: JVM Constants API Author Brian Goetz Owner Vicente Arturo Romero Zaldivar Type Feature Scope SE Status Candidate Component core-libs / java.lang.invoke Discussion amber dash dev at openjdk dot java…
http://openjdk.java.net/jeps/335 JEP 335: Deprecate the Nashorn JavaScript Engine Owner Jim Laskey Type Feature Scope JDK Status Closed / Delivered Release 11 Component core-libs / jdk.nashorn Discussion jdk dash dev at openjdk dot java do…
11/10 眼鏡祭 眼鏡祭10周年記念会を普段通り開催する会 - Twipla に行ってきました。 *1 眼鏡祭はペルソナを初めとしたアトラス作品ファンの大規模なオフ会です。開催は今回で10周年となり、今回も200人近くの参加者が集まりました。当日はとても過ごしやす…
http://openjdk.java.net/jeps/336 JEP 336: Deprecate the Pack200 Tools and API Author Kumar Srinivasan Owner Henry Jen Type Feature Scope SE Status Closed/Delivered Release 11 Component tools Discussion jdk dash dev at openjdk dot java dot …
http://openjdk.java.net/jeps/343 JEP 343: Packaging Tool Owner Kevin Rushforth Type Feature Scope JDK Status Candidate Component deploy / packager Discussion core dash libs dash dev at openjdk dot java dot net Effort M Duration M Relates t…
Redisをはじめて触るので色々と試している。とりあえず基本的なパフォーマンスを見るということで、LISTに1件ずつPUSHする場合と、ある程度まとめてPUSHする場合の速度差を見る。それによってRedisを学ぶのが目的である。 ソースコード pom.xml <parent> <groupId>org.springf</groupid></parent>…
spring-bootのspring-boot-starter-data-redisを使用してRedisにアクセスする。とりあえずhello worldレベルのことをやる。 ソースコード pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.5.RELEASE</version> <relativePath /> </parent> <properties> </properties>
spring-bootでspring-data-jpaを使う場合JTAはHIkariCPが特に何も設定しなくても使われる。通常はこれで何ら問題は無いが以下ではJTAをAtomikosに変更するやり方のメモ。 pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.3.RELEASE</version> </parent> <properties> <java.version>10.0</java.version></properties>
昔、自分がどのようにプログラミングをしているか、を文章に書き起こせるか、という話を同僚としたことがある。それで書いてみようとしたのだが、すぐに行き詰った。最大の壁は自分の思考を文章にすることで、文章は基本的に上から順に読む線形の構造になる…
準備 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.3.RELEASE</version> </parent> <properties> <java.version>10.0</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> </dependencies>
https://github.com/spring-projects/spring-retry 初めて使ったんで記念にREADME読んだ。 spring-retry - README.md 本プロジェクトはSpringアプリケーションで宣言的なリトライ機能を提供します。Spring Batch, Spring Integration, Spring for Apache Had…
Spring Securityのセッション保存先をメモリからredisに変更する。 やること redisのインストール 他サイトを見て適当なマシンにredisをインストールしておく。 依存性の追加 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.1.RELEASE</version> </parent>
http://openjdk.java.net/jeps/326 JEP 326: Raw String Literals Owner Jim Laskey Created 2018/01/23 15:40 Updated 2018/04/03 18:29 Type Feature Status Candidate Component specification / language Scope SE Discussion amber dash dev at openjdk…