kagamihogeの日記

kagamihogeの日記です。

Spring Batch 4.1.x - Reference Documentation - Scaling and Parallel Processingのテキトー翻訳

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 大半のバッチ処理はシングルスレッド・シングル…

Spring Batch 4.1.x - Reference Documentation - ItemReaders and ItemWriters - 1.7-1.15のテキトー翻訳

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オ…

Spring Batch 4.1.x - Reference Documentation - ItemReaders and ItemWriters - 1.1-1.6のテキトー翻訳

https://docs.spring.io/spring-batch/4.1.x/reference/html/readersAndWriters.html#readersAndWriters https://qiita.com/kagamihoge/items/12fbbc2eac5b8a5ac1e0 俺の訳一覧リスト 1. ItemReaders and ItemWriters すべてのバッチ処理は、大規模データの…

Spring Batch 4.1.x - Reference Documentation - Configuring a Stepのテキトー翻訳

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のシーケ…

Spring Batch 4.1.x - Reference Documentation - Configuring and Running a 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では、以下図を用いてアーキテクチャデザイ…

Spring Batch 4.1.x - Reference Documentation - The Domain Language of Batchのテキトー翻訳

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 何らかの経験のあるバッチアーキテクトにとっ…

Spring Batch 4.1.x - Reference Documentation - What’s New in Spring Batch 4.1のテキトー翻訳

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は以下の新機能があります。 @…

Spring Batch 4.1.x - Reference Documentation - Spring Batch Introductionのテキトー翻訳

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 エンタープライズ領域の多くのアプリケ…

JEP 348: Java Compiler Intrinsics for JDK APIsをテキトーに訳した

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 6.6 + Spring Data Elasticsearch 3.1.5うごかす

やったこと 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内でトランザクションつかってるあたりを知る

背景 spring-batchは内部的に随所でメタテーブルなどトランザクション処理がある。軽くソースコード見た限りでは@Transactionalがついてるわけでもないのにトランザクションってどうやって実行してるのかな? と知りたくなったのでソースを見た。 しらべたソ…

spring-batchのBatchConfigurerのあたりをまなぶ

目的 たとえば、spring-batchで自前のPlatformTransactionManagerにカスタマイズしたい場合、自前のBatchConfigurerのbean定義を作成すれば有効になる。このへんの仕組みを知るために、その周辺のソースコードを読んでその動作をまなぶ。いわゆる個人の日記…

JEP 346: Promptly Return Unused Committed Memory from G1をテキトーに訳した

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で単一コネクションをマルチスレッドで使用してはいけない

JedisはJavaのRedisクライアント。自明だが、単一コネクションをマルチスレッドで使いまわすとその動作は不定となる。 とりあえずソースコード。 package kagamihoge.jedissample; import java.util.concurrent.ExecutorService; import java.util.concurren…

Docker for WindowsでOracle Database 18c XEうごかす

環境 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…

JEP 345: NUMA-Aware Memory Allocation for G1をテキトーに訳した

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をテキトーに訳した

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 …

JEP 334: JVM Constants APIをテキトーに訳した

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…

JEP 335: Deprecate the Nashorn JavaScript Engineをテキトーに訳した

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…

アトラス作品ファンのオフ会 眼鏡祭 眼鏡祭10周年記念会(2018/11/10)に行ってきた

11/10 眼鏡祭 眼鏡祭10周年記念会を普段通り開催する会 - Twipla に行ってきました。 *1 眼鏡祭はペルソナを初めとしたアトラス作品ファンの大規模なオフ会です。開催は今回で10周年となり、今回も200人近くの参加者が集まりました。当日はとても過ごしやす…

JEP 336: Deprecate the Pack200 Tools and APIをテキトーに訳した

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 …

JEP 343: Packaging Toolをテキトーに訳した

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するときの速度差

Redisをはじめて触るので色々と試している。とりあえず基本的なパフォーマンスを見るということで、LISTに1件ずつPUSHする場合と、ある程度まとめてPUSHする場合の速度差を見る。それによってRedisを学ぶのが目的である。 ソースコード pom.xml <parent> <groupId>org.springf</groupid></parent>…

spring-bootでredisつかう

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にAtomikosを使用する

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>

テスト駆動開発

昔、自分がどのようにプログラミングをしているか、を文章に書き起こせるか、という話を同僚としたことがある。それで書いてみようとしたのだが、すぐに行き詰った。最大の壁は自分の思考を文章にすることで、文章は基本的に上から順に読む線形の構造になる…

spring bootとthymeleafでfragmentsを使用してajaxをする

準備 <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>

Spring RetryのREADME読んだ

https://github.com/spring-projects/spring-retry 初めて使ったんで記念にREADME読んだ。 spring-retry - README.md 本プロジェクトはSpringアプリケーションで宣言的なリトライ機能を提供します。Spring Batch, Spring Integration, Spring for Apache Had…

Spring BootでSpring Securityをredisでうごかす

Spring Securityのセッション保存先をメモリからredisに変更する。 やること redisのインストール 他サイトを見て適当なマシンにredisをインストールしておく。 依存性の追加 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.1.RELEASE</version> </parent>

JEP 326: Raw String Literalsをテキトーに訳した

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…