Yearly Archives: 2015

Caucho Newsletter – October 2015


Resin application server - Java EE 6 Web Profile Certified

Hi Caucho Followers! We're deep into the year and we have lots of updates for you. Here's a snapshot:
  • Baratine 0.10 Released - We're close!
  • Resin 4.0.45 on caucho.com/download
  • Caucho Rodeo Trip – Texas in Fall!
  • On-site Training now available
  • Caucho Expands Reseller Network

Baratine News


 
Baratine 0.10 Released 

Asynchronous reactive applications (See http://reactivemanifesto.com) are the future of web applications. However, the large base of developers building asynchronous distributed applications has not yet come to fruition. We believe that this is due to the sheer complexity needed to build and maintain these solutions. Toolkits and frameworks currently require very low level message handling and force developers into a programming model that is not natural to the object oriented style of Java.
 
Baratine is a platform for building a network of loosely-couple POJO microservices. In this way, Baratine can be thought of as a “high-level” abstraction for reactive programming. Within Baratine, the only requirement of developers is to implement the methods from the API they design. This is in stark contrast to models that enforce an “extends” statement in base level classes and opens up the understanding of an application from just a few expert engineers, to an entire team of engineers now able to create enterprise quality distributed applications.
 
Baratine is moving Java forward with the next stage of encapsulation. Currently we are updating our documentation to illustrate how many models can be implemented within Baratine. The list currently stands at: 

  1. Hello world
  2. Batching
  3. In-memory
  4. Sharded
  5. Id generation
  6. Multi-pod
  7. Pub-sub
  8. Workers/integration with legacy
  9. Map-reduce
  10. Store
  11. BFS
  12. Database bardb
  13. Mysql/mongodb
  14. Child services
  15. Compute
  16. Facade APIs
  17. Vertx integration

If you have any questions about Baratine and current use cases please reach out to us at: https://groups.google.com/forum/#!forum/baratine-io or drop us a line at sales@caucho.com (Don’t worry Baratine is Open Source and free to use!)
 

Resin News


Resin 4.0.45 on caucho.com/download

Along with working on the technology to fuel the next generation of web apps, we continue to improve our long-standing cloud platform in Resin. The lastest version of Resin, 4.0.45, is now available for download. It includes bug fixes and increases Resin's stronghold as the top tier web and application server. Please report any bugs you come acoress to bugs.caucho.com. If you’re looking to expedite a bug fix, a short demo reproducting the issue always helps us out.

One other item to note is that we will be back porting the new Resin 5 database into Resin 4. Our new model will provide even better stability when corruptions occur and should be out in 2-3 weeks. 

Notable bug fixes in the 4.0.45 release include: 

  • session: change shutdown state machine to allow getAttribute on invalidating session (#5919, rep by Shinomiya Nobuaki)\
  • build: remove LoadTimeWeaver (#5923, rep by M. Barker)
  • watchdog: change default -Xss to 1m (#5927, rep by anupmondal)
  • servlet: check for dual registration of ServletContextListener (#5893, rep by Matias Lagerwall)
  • jsp: share classloading of .tag files (#5914, rep by nfedorov)
  • dyn-server: on server restart, allow same address:port (#5903, rep by Tom Pohl)
  • dyn-server: added lock in resin-data to ensure multiple servers cannot use same data (#5902, rep by Tom Pohl)
  • ssl: allow OpenSSL ECC support for forward secrecy (#5906, rep by Nick Stephens)
  • db: add validation and restart for corrupted BTree index (#5912, rep by wesleywu)
  • build: allow for JDK 8 build (#5901, rep by dave)
  • health: removed perm gen checks (#5910)
  • ejb: ejbTimer.cancel() needs to remove timer from getTimers() (#5891, rep by bbik)
  • servlet: FileService character-encoding should exclude images (#5907, rep by Mathias Lagerwall)

On-site Training


Caucho Rodeo Trip
 

We will be in Texas in November visiting customers as well as providing on-site training. We have reached out to a number of our customers in the Dallas area, but if we have not heard from you, feel free to contact Sean Wiley wiley@caucho.com to request a meeting or after work BBQ/drinks. 

On-site Training

Caucho’s Advanced Developer Training may now be scheduled as on-site training. We cover the following topics in order to get your development team up to speed utilizing the Best Resin Practices: 

  • Understand Resin architecture & configuration files
  • Deploy, support, & troubleshoot Java apps on Resin
  • Configure database connectivity for a multitude of data structures
  • Configuring dynamic servers to respond to web app traffic & mitigating DDoS attacks
  • Monitor & profile applications using the administration application
  • Secure Resin & Applications running on it
  • Embed Resin for reliable & dynamic OEM solutions
  • Implement application failover for horizontal scaling
  • Utilizing Resin as a private/public/hybrid massive cloud solution
  • Versioned deployment and graceful upgrades for zero downtime  

To schedule your on-site training, please contact Alexandra Garmon (garmon@caucho.com)
 

Reseller Program

 

Caucho Expands Reseller Network

Recently, we have seen much growth in our US and global reseller program.

If you would like to become a Caucho reseller, please contact Alexandra Garmon (garmon@caucho.com)  

 


Copyright (c) 1998-2015 Caucho Technology, Inc. All rights reserved.
Caucho®, resin®, quercus® and baratine
TM are registered trademarks of Caucho Technology, Inc.


 Presentations   & Links
 

  Resin 4

Baratine

Baratine Overview

Follow Us!

Facebook: Caucho Technology
Resin Twitter page
Caucho Blog

__________________

Contact Us
(858) 456-0300
sales@caucho.com
www.caucho.com    


Caucho Newsletter – May 2015


Resin application server - Java EE 6 Web Profile Certified

Greetings! Let's get you up to speed with what has been going on at Caucho!

Baratine News


 
Baratine 0.9 Release 

We pride ourselves on being able to identify and provide the latest implementation technology for web applications. Considering the sheer number of devices that can now access web apps, the landscape for building these applications is constantly evolving. In order to respond to the growing number of connections, more emphasis is being placed on the asynchronous ability of new apps and this is also a major focus for us.
 
Currently we are working on what we see as the de facto standard for building fully asynchronous, scalable, and independent SOA services in Baratine. We see this technology as the dominant driver of what new applications will need and much of our time has been devoted to building this platform. The upcoming Baratine 0.9 release moves us very close to production ready. You can find more news about Baratine on http://baratine.io or below in the Baratine section.

 

Baratine Projects

Two early projects we are working on as proof of concepts for the Baratine platform are:
 
• Baratine + Lucene – For indexing and searching files stored in the Baratine Distributed File System
• Bartwis – A Baratine clone of a Twitter-toy clone written in PHP & Redis
 
These two projects are close to reaching their final stage and can be explored currently on the baratine github (https://github.com/baratine). We are very excited to see how the community will expand on these applications within the Baratine environment.
The Lucene + Baratine plugin illustrates Baratine’s ability to take a previously written library, that was designed as a fully blocking and locking service, and with just a few lines of Baratine coding, transform it into a fully asynchronous service.
 
The Bartwis project highlights Baratine’s flexibility and performance. We have fully implemented Redis in Baratine to show the magnitude of Baratine’s capabilities. In this example, Baratine transforms simple POJO classes into fully redundant services under the hood, so users are able to use this application to achieve Redis-like functionality with no restrictions on what data structures are supported. In fact, if developers found a particular data structure more efficient than what is available in Redis today, they could simply implement that structure as a Baratine service and receive the microservice and asynchronous capabilities of Baratine automatically.
 
Of course this is just the beginning, head over to our github and take a look at the projects for yourself today!

Resin News


Along with working on the technology to fuel the next generation of web apps, we have continued to improve our long-standing cloud platform in Resin. We are encouraged to see new deployments in the areas of mobile and desktop alike benefiting from Resin’s stable environment as customer’s utilize it in hosted environments as well as on premise at their own sites. We have continued to fix bug requests (see below). If you’re seeing odd behavior in your application, please file a bug at bugs.caucho.com.

• jsee: self signed cert should support Firefox and Chrome default cipher-suites(#5884)
• jsee: self signed cert should check expire (#5885)
• class-loader: excessive reread of jar certificates (#5850, rep by konfetov)
• log: add sanity check for log rollover (#5845, rep by Keith F.)
• deploy (git): use utf-8 to store path names (#5874, rep by alpor9)
• websocket: setTimeout was being overridden by Port keepaliveTimeout (#5841, rep by A. Durairaju)
• jni: on windows, skip JNI for File metadata like length (#5865, rep by Mathias Lagerwall)
• db: isNull issues with left join (#5853, rep by Thomas Rogan)
• websocket: check for socket close on startTextMessage (#5837, rep by samadams)
• log: when log rollover fails, log to stderr (#5855, rep by Rock)
• filter: allow private instantiation (#5839, rep by V. Selvaggio)
• rewrite: added SetRequestCharacterEncoding (#5862, rep by Yoon)
• health: change health check timeout to critical instead of fatal to allow for development sleep (#5867)
• alarm: timing issue with warnings and alarm extraction (#4854, rep by Shinomiya Nobuaki)
• session: orphan deletion throttling needs faster retry time (rep by Thomas Rogan)
• mod_caucho: slow PUT/POST uploads with Apache 2.4 (#5846, rep by Stegard)

Resin v3 to v4 Migration
 

Earlier this year we held an Advanced Resin 4 training session going over the many aspects of Resin that can be utilized for high availability, resilient recovery, and post mortem analysis. Quite a few deployments are still utilizing Resin 3. While Resin 3 is a great platform, we’d like to encourage our users to move to the better performing Resin 4 platform.
 
Resin 4 has significant features including cloud support, application health visibility, and unprecedented high availability.
 
Understandably, there might be current technologies in your application stack that are preventing you from upgrading. Resin 3 support will be sunset in January 2016, we’d like to offer an upgrade path for our current users. If you are currently running Resin 3 and would like a review of your application stack to gauge what would be necessary in an upgrade, contact sales@caucho.com.  Our developers will work with you to mitigate any potential conflicts with your current stack and also help layout similar configurations to get you up and running on Resin v.4 in no time!

Resin 5 is currently in alpha as we continue to implement the Servlet 3.1 (4.0 when available), HTTP 2.0, and WebSocket specs.

Resin 4 Tip


REST config for Nagios

Looking to setup remote monitoring software with your Resin installation?
 
The /resin-admin directory, contains an index page with a “rest” example toward the bottom. You can customize this rest page to get the information about your application that you are interested in.
 
Equivalently, by browsing to the /php/admin/WEB-INF/php/*.rest pages, you can get an example of how JMX values can be extracted from Resin in simple PHP pages. These can then return the result in a format for one of the standard monitoring software plugins such as Nagios.

 


Copyright (c) 1998-2015 Caucho Technology, Inc. All rights reserved.
Caucho®, resin®, quercus® and baratine
TM are registered trademarks of Caucho Technology, Inc.

Caucho Newsletter – January 2015


Resin application server - Java EE 6 Web Profile Certified

January 2015 News

Resin 4.0.43
 

Greetings! Hope your 2015 is off to a great start. We started the year ramping up development for Resin and Baratine. 

Customer Highlight

Congratulations to TouchCommerce for earning a “Digital Power Player” honor by Website Magazine and moving the web forward! See the cover story of the January print issue (p.28)

“As our business expands, Resin Pro provides us with the enterprise class high-availability clustering needed for our RightTouch platform. We chose Resin because it provides great Java monitoring, administration and performance needed to operate a large scale web application”

Soma Bulusu, CIO, TouchCommerce 

http://www.touchcommerce.com/about-us/management-team#bulusu

Resin News


Resin 4

We closed out some lingering bugs and included their fixes in the latest release version 4.0.42. If you are currently running an older version of Resin 4, we recommend upgrading to the latest version as a simple uninstall and reinstall without changing any config.  Bug fixes include:

* Creating DB pools dynamically

* Faster and more full-featured RPM upgrades for simple deployments

* Documenting Resin Anomaly Analyzer for Health Warnings

* Ordering ServletContainerInitializers according to the web

* Fragment order and more!

Resin 3 users migrating to Resin 4 saw an increase in performance because they were able to replicate portions of their applications, reduce load during peak hours, use the latest OpenSSL security bug fixes and more accurately monitor resource consumption.

Please visit the Resin mantis page for a full change log description at:

http://bugs.caucho.com/changelog_page.php

Early release testing is something we provide to allow our end users to have direct, fast, and verified input into our development. If this is something you would like to be involved in, please drop us a line at sales@caucho.com

Look for Resin 4.0.42 on our website, http://caucho.com/products/resin/download

Resin 4 – Documentation Revival!

Based on customer feedback, we will be providing greater detail for some of the most popular Resin installations and setups. Be on the look out for new documentation covering shorthanded syntax, high-availability setups, and details on how to use our health features.

Topics will include:

* Using Resin’s distributed Jcache for performance

* Building a customer RPM for mass rollout

* Using Resin PDF reports for debugging

* Security in Resin

We will be sampling the direct support request setups we have received.

For more insight into a topic, please submit your question by going to:

http://caucho.com/contact-us

Resin 5 alpha!

Resin 5 is currently available for download and includes implementation of JSR 356 Websocket, as well as core Servlet 3.0 specifications JSP, EL and CDI.

Development of HTTP Services is focused Load Balance/Proxy using HTTP/2.0, HTTP Cache, Session distribution and persistence and URL rewriting and dispatch

Read more and download at:

http://resin.caucho.com/v5.0/manual/release-notes/5.0/5.0.0/

Events


Resin Developer Training in San Diego, Feb 23 & 24

Only 5 spaces left!

Join Sean Wiley and learn how some of the largest sites on the web are using Resin for security, performance, software load balancing and caching. Utilize the latest features of Resin Pro for your physical and virtual deployments, including easy techniques for using AWS.

Our training also features a  some of the largest sites on the web are ustime with the Caucho team and speak about your deployment. It includes gourmet coffee, catered lunches and a reception featuring San Diego’s finest culinary delights, microbrews and wines

Topics Include:

* Understand Resin architecture & configuration files 

* Deploy, support, & troubleshoot Java apps on Resin 

* Configure database connectivity for a multitude of data structures

* Configuring dynamic servers to respond to web app traffic & mitigating DDoS attacks 

* Monitor & profile applications using the administration application 

* Secure Resin & Applications running on it 

* Embed Resin for reliable & dynamic OEM solutions 

* Implement application failover for horizontal scaling 

* Utilizing Resin as a private/public/hybrid massive cloud solution 

* Versioned deployment and graceful upgrades for zero downtime  

Questions & Registration Info: Contact Alexandra Garmon

Office: (858) 456-0300 | sales@caucho.com

Ask us for a discount rate for groups of 5 or more!!

Date: Feb 23-24, 2015 (Monday & Tuesday)

Time: 9:30am to 4:30pm PST

Location: 4455 Morena Blvd., Suite 210, San Diego CA 92117 (near airport, hotels & freeways)

Instructor: Caucho Engineer, Sean Wiley

Tuition: $2,200, Register by 2/10/2015 and save $250/enrollee!

 

San Diego Java Users Group



Our last meeting of the year was a great presentation by Brian Sletten entitled Doing REST “Right”. Brian has been speaking on REST for the past 9 years and his presentation focused on how a properly decoupled REST system should function and the benefits it would withhold. 



After two years of hosting the San Diego Java Users Group we are passing the torch to ResMed for the new location of SDJUG meetings. 



More info at: http://sdjug.org

Baratine News


Baratine: 0.8.7 In Progress!

With technologies such as Docker, Mesos, Finagle, and etc., becoming more prevalent in enterprise architectures, Microservices have become more than just another buzz word. Baratine’s premise to lower what is needed in terms of lines of code as well as complexity will undoubtedly push us towards a truly agile and reactive age of infrastructure. Why deal with complex multi-tiered caching when you can have a fully redundant, writable file system, capable of speaking any protocol over REST, Websocket, or HTTP and is capable of sharding and sharing its data to multiple clients asynchronously? Of course, that is just a slice of what Baratine is capable of doing and we are excited to continue pushing forward on this project.

The latest Baratine release will feature a simplified deployment structure allowing for multiple jar deployments to a single pod as well as simplified configuration. Head over to http://baratine.io to download and get started with it today!

Also, we are currently answering questions on our Google Groups forum at:

https://groups.google.com/forum/#!forum/baratine-io


Copyright (c) 1998-2015 Caucho Technology, Inc. All rights reserved.

Caucho®, resin®, quercus® and baratineTM are registered trademarks of Caucho Technology, Inc.