(1) MapReduce-On-YARN:Batch and Offline computing running on YARN
(2) Spark-On-YARN:Memory based on computing running YARN (for better iterative and interactive distributed commuting)
(3) Storm-On-YARN:Realtime/Streaming computing running on YARN
(4) Tez-On-YARN:DAG computing running on YARN
Author: yuhuizhang8888
Very Good Diagram That Show How Modern Web Applications are Very Different From the LAMP Stacks of the Past
Progressive Web Apps — The Next Step in Web App Development
You still see 2 types of app in smart phone device like iPhone. One is native app, and the other is web app, for native app, it is sub categorized as pure native app and native app with web view, and for web app, it is sub categorized as web page and PWA.
From browser, 2 things really impact the PWA app, one is service worker and the other web app manifest.
WebAssembly + Javascript
For V8, Javascript is processed by source code-> AST -> unoptimized temp code, -> optimized binary Code, WebAssembly just ignores all the other steps and goes all the way to the last step.
Web Page Render Performance And CSS Houdini
Read 2 blogs today, want to reference them here, one is the “Rendering Performance” and the other is “CSS Houdini”.
“Rendering Performance”
https://developers.google.com/web/fundamentals/performance/rendering/
“CSS Houdini”
https://developers.google.com/web/updates/2016/05/houdini
And 2 web page render diagrams are also attached.
How Similar Between Ember JS and Ruby On Rails
1. Whole Architecture Route, Controller, View, Template and Model, the MVC concepts between Ember Js and Ruby On Rails are actually identical, I really think Ember Js copied the architecture and MVC ideas from Ruby On Rails. Please also check some core ideas like action, render design like partial, layout, yield and so on, the […]
Minimize Transaction Boundary For RESTful API
Spring’s JPA extension especially the declarative annotation makes the transaction management super convenient for developers, however, our RESTful application’s design need make the transaction boundary to as minimal as possible to avoid long running transaction and unnecessary transaction.
Do Not Expect Catch Exception Across JPA Transactions
One common mistake that a lot Java developers take for granted that if I catch exception then the exception will be hidden for ever, that is totally false, and we should not overuse exception to manage our business workflow. This blog I will talk why should not let expected exceptions to be managed across JPA transactions.
Mockito VS Powermock
Mockito and Powermock are most popular test frameworks in testing driven development world. In this blog, I will summary the 2 mock frameworks, and talk about some key technical fundamentals.
Do Not Use JPA Entity (Data Object) Across JPA Transactions
JPA entity is very commonly used in Hibernate involved Java applications, like Spring. Usually you can define DOs (data objects) to manage the database operations in some ORM way, but lots developers do not use the DOs property, one of the very common bad practice is the use the DOs across JPA transactions or outside JPA transactions.