Architecture of life
1.6K views | +0 today
Your new post is loading...
Your new post is loading...
Scooped by James Yin
Scoop.it!

Documenting multiple REST API versions using Spring Boot, Jersey and Swagger

Documenting multiple REST API versions using Spring Boot, Jersey and Swagger | Architecture of life | Scoop.it
In a previous post I expressed my belief that Swagger's BeanConfig instantiation wasn't going to help documenting API versions being passed in Accept Heade
more...
No comment yet.
Scooped by James Yin
Scoop.it!

更好的Scala I/O: better-files

更好的Scala I/O: better-files | Architecture of life | Scoop.it
对于使用Scala的程序员来说, I/O操作如文件的读写通常使用scala.io.Source来实现。但是这个类功能还是欠缺的,而且功能混乱,因此在Scala类库的增强提案(Scala IO fix-up/overhaul)中如何改进它争论相当的大,甚至有些开发者提议将这个库废掉,让社区实现的第三方来完成这方面的工作,或者引导开发者使用java.nio来实现I/O操作。
当然,作为一个使用Scal
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Using Java Flight Recorder – Isuru Perera – Medium

With Java Mission Control, you can start a Java Flight Recording and analyze the recording in detail. The Java Flight Recorder (JFR) gathers low-level information and it helps to understand the…
more...
No comment yet.
Scooped by James Yin
Scoop.it!

REDUCE LONG GC PAUSES

REDUCE LONG GC PAUSES | Architecture of life | Scoop.it
Long GC Pauses are undesirable for applications. It affects your SLAs; it results in poor customer experiences, and it causes severe damages to mission critical applications. Thus in this article, I have laid out key reasons that can cause long GC pauses and potential solutions to solve them. 1. High Object Creation Rate If your…
more...
No comment yet.
Scooped by James Yin
Scoop.it!

779,236 Java Logging Statements, 1,313 GitHub Repos | Takipi Blog

779,236 Java Logging Statements, 1,313 GitHub Repos | Takipi Blog | Architecture of life | Scoop.it
Java logging data crunch: How GitHub’s top Java projects use logs? Find out what's the java logging distribution in the average project
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Google Protocol Buffer 的使用和原理

Google Protocol Buffer 的使用和原理 | Architecture of life | Scoop.it
Protocol Buffers 是一种轻便高效的结构化数据存储格式,可以用于结构化数据串行化,很适合做数据存储或 RPC 数据交换格式。它可用于通讯协议、数据存储等领域的语言无关、平台无关、可扩展的序列化结构数据格式。目前提供了 C++、Java、Python 三种语言的 API。
more...
No comment yet.
Scooped by James Yin
Scoop.it!

How Java developers can use the Wiremock framework to simulate HTTP-based APIs

A common syndrome in development shops today is the repeated creation of over-the-wire stubs and mocks for testing. In this article Wojciech Bulaty covers how Java developers can avoid reinventing the wheel and leverage Wiremock to build over-the-wire HTTP(s) stubs.
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Elasticsearch/Kibana Queries - In Depth Tutorial

This tutorial explains how to write and understand Kibana and Elasticsearch queries
in depth and how the mapping of Elastichsearch influences these queries.
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Introducing the Spring Cloud CLI Launcher

Introducing the Spring Cloud CLI Launcher | Architecture of life | Scoop.it

Getting started with Spring Cloud can be daunting. If you have seen the great Josh Long give his Cloud Native Java presentation, you will notice that you need to create several supporting applications before you can see your application at work.


Spring Cloud CLI Launcher

As part of the transition from Spring XD to Spring Cloud Dataflow, one of the extracted projects is called the Spring Cloud Deployer. The Deployer allows for launching applications on various platforms, including launching on a developer machine.


more...
No comment yet.
Scooped by James Yin
Scoop.it!

5 Things Only Experienced Developers Can Teach You About Java | Takipi Blog

5 Things Only Experienced Developers Can Teach You About Java | Takipi Blog | Architecture of life | Scoop.it
An overview of everything you need to know before diving deep into developing Java
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Log Transformations for Skewed and Wide Distributions

Log Transformations for Skewed and Wide Distributions | Architecture of life | Scoop.it
This is a guest article by Nina Zumel and John Mount, authors of the new book Practical Data Science with R. For readers of this blog, there is a 50%
more...
No comment yet.
Scooped by James Yin
Scoop.it!

RingBuffer in scala - 莫邪

RingBuffer (环形缓冲区),是一种用于表示一个固定尺寸、头尾相连的缓冲区的数据结构,适合缓存数据流(用来实现具备轮转功能的日志也是很合适的)。
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Feeding Spring Boot metrics to Elasticsearch

This week’s post aims to describe how to send JMX metrics taken from the JVM to an Elasticsearch instance.

Business app requirements

The business app(s) has some minor requirements.

The easiest use-case is to start from a Spring Boot application. In order for metrics to be available, just ad
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Capsule:开源的 JVM 应用部署工具 - OneAPM 博客

【编者按】本文作者 Ron Pressler 是 Parallel Universe 公司的创始人,拥有着丰富的高性能开发经验。通过这篇文章,Ron 向大家详细介绍了全新的开。
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Where FindBugs Failed – SitePoint – Medium

Where FindBugs Failed – SitePoint – Medium | Architecture of life | Scoop.it
You’ll be surprised to hear that we also deliver this newsletter via email. To receive updates on our Java coverage every other Friday sign up here. In the last newsletter I mentioned that the…
more...
No comment yet.
Scooped by James Yin
Scoop.it!

UNDERSTANDING G1 GC LOG FORMAT

UNDERSTANDING G1 GC LOG FORMAT | Architecture of life | Scoop.it
In Java 9, G1 GC will become the default garbage collector. One of the key features of G1 Garbage collector is its ability to limit the GC pause time (i.e. you can set the desired maximum pause time) without compromising on throughput.
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Zuul 2 : The Netflix Journey to Asynchronous, Non-Blocking Systems

Zuul 2 : The Netflix Journey to Asynchronous, Non-Blocking Systems | Architecture of life | Scoop.it
We recently made a major architectural change to Zuul , our cloud gateway. Did anyone even notice!?  Probably not... Zuul 2 does the sam
more...
No comment yet.
Scooped by James Yin
Scoop.it!

JVMs Across the Data Center and Twitter's JDK

The Twitter Sponsored Solutions track at QConSF2016 features an engineering talk on JVMs Across the Data Center and unveils an in-house OpenJDK fork, the Twitter-JDK, with noted potential open-sourcing or release to broader public.
more...
No comment yet.
Scooped by James Yin
Scoop.it!

To use or not to use exceptions – Raphael Endstrasser

There was some rest request handler written in Java which returns some result which then is converted to a REST response. This request handler also validates user input and throws bad request…
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Storm与Spark:谁才是我们的实时处理利器 | 数盟社区

Storm与Spark:谁才是我们的实时处理利器 | 数盟社区 | Architecture of life | Scoop.it
实时商务智能这一构想早已算不得什么新生事物(早在2006年维基百科中就出现了关于这一概念的页面)。然而尽管人们多年来一直在对此类方案进行探讨,我却发现很多企业实际上尚未就此规划出明确发展思路、甚至没能真正意识到其中蕴含的巨大效益。 为什么会这样?一大原因在于目前市场上的实时商务智能与分析工具仍然非常有限。传统数据
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Java Microservices: The Cake is a Lie but You Can’t Ignore It | Takipi Blog

Java Microservices: The Cake is a Lie but You Can’t Ignore It | Takipi Blog | Architecture of life | Scoop.it
What does building a microservice actually means? Answered through the eyes of microservice frameworks
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Inside Java 9 - Version Schema, Multi-Release JARs, and More

Inside Java 9 - Version Schema, Multi-Release JARs, and More | Architecture of life | Scoop.it
Java 9 brings more than just modules: multi-release JARs, UTF-8 property files, Unicode 8.0, reserved stack space ... a lot goes on inside Java 9.
more...
No comment yet.
Scooped by James Yin
Scoop.it!

Transforming data to normality

Transforming data to normality | Architecture of life | Scoop.it
Most statistical methods (the parametric methods) include the assumption that the sample is drawn from a population where the values have a Normal distribution. One of the first steps of statistical analysis of your data is therefore to check the distribution of the different variables.
more...
No comment yet.