Saturday, July 26, 2014

Avatar.js: node.js + JVM

Avatar.js: is a project to bring the node programming model, APIs and module ecosystem to the Java platform, enabling a new class of hybrid server applications that can leverage two of the most popular programming languages and ecosystems today. These Java+JavaScript applications can leverage capabilities of both environments - access the latest node frameworks while taking advantage of the Java platform's scalability, manageability, tools, and extensive collection of Java libraries and middleware.





Project Avatar @ InfoQ



Node.js vs Avatar.js performance @ GitHub



first benchmark: node.js: 2,431 avatar.js: 46.74 ops/sec
this is 50 times slower on JVM!
other tests are similar... 

The reactive manifesto

The reactive manifesto
Reactive Applications
Merriam-Webster defines reactive as “readily responsive to a stimulus”, i.e. its components are “active” and always ready to receive events. This definition captures the essence of reactive applications, focusing on systems that:
  • react to events: the event-driven nature enables the following qualities
  • react to load: focus on scalability by avoiding contention on shared resources
  • react to failure: build resilient systems with the ability to recover at all levels
  • react to users: honor response time guarantees regardless of load
Go Reactive: Blueprint for Future Applications @ InfoQ
by Dr Roland Kuhn (Scala, Akka)


Could "responsible" be a better name for this?

Microservices

Migrating to Microservices: @ InfoQ

(Netflix Cloud Architect) "Adrian Cockcroft discusses strategies, patterns and pathways to perform a gradual migration from monolithic applications towards cloud-based REST microservices."

  • Speed wins in the marketplace 
  • Remove friction from product development 
  • High trust, low process 
  • Freedom and responsibility culture 
  • Don’t do your own undifferentiated heavy lifting 
  • Simple patterns automated by tooling 
  • Microservices for speed and availability
  • Focus on unique value add
  • Open source for commodity solutions
  • "Write-only" service (add, not replace, avoid breaking dependencies)

Microservices @ Martin Fowler


MIT: 4D Printing

Forget the 3D Printer: 4D Printing Could Change Everything | Innovation | Smithsonian:
"At the Massachusetts Institute of Technology, Tibbits and researchers from the firms Stratasys and Autodesk Inc were trying to come up with a way of describing the objects they were creating on 3D printers—objects that not only could be printed, but thanks to geometric code, could also later change shape and transform on their own."


Skylar Tibbits: The emergence of "4D printing" - YouTube