by Jason Gilman Jafama is a Java library that provides fast numeric operations that are replacements for the methods on java.lang.Math. The description on its web site is the following: Jafama (Java Fast Math) consists of fast – but not sloppy – counterparts of java.lang.Math treatments, plus additional ones. They are usually about 2-4 (up to 15) times faster, with about 1e-15 accuracy, and handle
Peter Lawrey, CEO of Higher Frequency Trading, discusses the significance of low latency in Java 8 for high-performance trading systems, highlighting the advantages of features like non-capturing lambdas and escape analysis. He emphasizes the importance of consistent performance and the drawbacks of coordinated omission in measuring latency. The document also details various optimizations and arch
Rapidoid - Extremely Fast, Simple and Powerful Java Web Framework! Rapidoid consists of several modules which can be used separately or together: rapidoid-net - Network protocol framework rapidoid-http-server (named 'rapidoid-http-fast' before v6) - HTTP Server Framework rapidoid-rest (named 'rapidoid-http-server' before v6) - REST API Framework rapidoid-gui - Web GUI Components (based on Bootstra
String name = new JdbcSession(source) .sql("SELECT name FROM employee WHERE id = ?") .set(1234) .select(new SingleOutcome<String>(String.class)); Simple and straight forward, isn’t it? The library simplifies interaction with relational databases via JDBC, avoiding the need to use ORM. jcabi-jdbc is a lightweight wrapper of JDBC. It is very convenient to use when you don’t need a full-scale ORM (li
Implementations vary considerably with respect to the inputs they are able to hash. The most basic support is hashing an entire byte[]. Most implementations permit an offset and length to be nominated for a byte[]. Some implementations offer ByteBuffer awareness, others use Unsafe, and some delegate to native code via JNI. My motivating use case for developing this benchmark required hashing varia
(ヒープおよびダイレクトバッファによるByteBufferの性能差、およびUnsafeとのパフォーマンスも比較するよ!) (とりあえず計測結果を先に知りたい人は結論を見てね!) (ファイルのシーケンシャルリードを含むダイレクトバッファの使い方やパフォーマンス比較については次の日記に書きました。) 概要 思うところあって、ヒープ上のbyte[]をラップしたByteBufferと、ダイレクトバッファを確保しているByteBufferの場合とのint型としての連続アクセスした場合のパフォーマンスの違いについて調べてみることにした。 私の認識では、ダイレクトバッファへのアクセスは非ネイティブ側(つまりJavaコード側)からのアクセスではオーバヘッドが大きいため、特殊なシチュエーション以外では遅くなってしまうため、あまり使いどころのない機能だというものだったのだが、では、その使いどころとなる「特殊な
EngineeringHijacking Amazon EventBridge for launching Cross-A...Securing the invisible paths: How cross-account event flows can become security ... Data ScienceRevamping Data Science InterviewsInterviews are not just about improving hiring outcomes - they are about strengt... EngineeringRoBERTa Model for Merchant Categorization at Squar...Harnessing Large Language Models to Deliver Accurate Busine
EngineeringHijacking Amazon EventBridge for launching Cross-A...Securing the invisible paths: How cross-account event flows can become security ... Data ScienceRevamping Data Science InterviewsInterviews are not just about improving hiring outcomes - they are about strengt... EngineeringRoBERTa Model for Merchant Categorization at Squar...Harnessing Large Language Models to Deliver Accurate Busine
この記事は Java EE Advent Calendar 2015の12/7分の記事です。 明日は@btnrougeさんです。 Java EEのAPIが直接関連する話ではなくて恐縮ですが、サーバサイドJavaでファイルI/Oを含むバッチ処理の性能Tipsをまとめます。 テーマはjava.io.BufferedWriterクラスのバッファサイズについてです。 デフォルトは8KBでBufferedWriterのコンストラクタにおいて変更可能ですが、javadocには以下の記載があります。 バッファのサイズは、デフォルト値のままにすることも、特定の値を指定することもできます。デフォルト値は、通常の使い方では十分な大きさです。 http://docs.oracle.com/javase/jp/8/docs/api/java/io/BufferedWriter.html あまり変更する機会もないせ
Build a reactive microservice at your pace, not theirs.Armeria is your go-to microservice framework for any situation. You can build any type of microservice leveraging your favorite technologies, including gRPC, Thrift, Kotlin, Retrofit, Reactive Streams, Spring Boot and Dropwizard. “ Brought to you by the creator of Netty and his colleagues at LY Corporation ” gRPC, Thrift, REST, static files? Y
Koichi Sakata (じゅくちょー) @jyukutyo Javaでメソッドの引数がOptional<Hoge>型のときでも、やっぱり引数のnullチェックいるよね… 2015-11-20 15:50:00
The diagram below is the Java Memory Model for the Heap as well as the PermGen for any Java Application running in the Java Virtual Machine (JVM). The ratios are also provided to get a fair understanding of how the distribution of allowed memory is done across each of the generation types. All of the info is completely applicable up to Java 1.7 (inclusive). This diagram is also known as the 'Manag
【追記】2021.09.01 記事を書いて5年ほど放置していましたが、この記事を書いたあとにsdkman自体もどんどんアップデートされていき使いやすくなっていきました。 特に、記事執筆時点ではsdkman本体とは別に自身でJDKをインストールする必要があったのがなんとJDKの選択、導入自体もsdkman上から行えるようになっています。 Groovy周りから発展したツールというのを飛び抜けて、Javaユーザー全般が使うツールとなってきたのでいくつか追記しました。 概要 Groovyでは今までパッケージマネージャーとしてGVMというツールが使われてきました。 これはRubyで言うRVMやrbenvのようなもので(といっても私はRuby使っていないので詳しくないですが)Groovyの環境を導入したりバージョンを管理できたりするツールです。 またGradleやGrailsなどGroovy系のツール
Open Source Open-sourcing PalDB, a lightweight companion for storing side data LinkedIn’s data products give our members recommendations, analytics and insights. As we continue to invent more products that leverage data for our members, we need to push the envelope in our data processing capabilities and do more with less. One issue that often comes up is what to do to improve the usability and me
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く