New-age Transactional Systems - Not Your Grandpa's OLTP
John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Jason Lai on Jul 18, 2006
The Java Parallel Processing Framework (JPPF) has been making frequent point releases recently. Currently at version 0.22, it is designed to distribute application tasks over a cluster of computers and coordinate their execution in parallel. JPPF is made up of a client layer in which client apps request task executions, a service layer/JPPF Driver that queues execution requests from the client layer which will be taken by available nodes to process asynchronously, along with load balancing and recovery capabilities, and an execution layer on each node of the computation grid responsible for executing atomic tasks in parallel whose code is dynamically loaded from the JPPF driver.
Defining a task is straight forward:
public class MyTask extends JPPFTask
{
public void run()
{
... my code ...
setResult(theComputationResult);
}
}
public class MyTaskSubmitter
{
//Submit the tasks and wait for their execution.
public void submit() throws Exception
{
JPPFClient jppfClient = new JPPFClient();
ListtaskList = new ArrayList ();
taskList.add(new MyTask());
jppfClient.submit(taskList, null);
}
}
The key features of JPPF include:
Licensed under the terms of LGPL, JPPF is aimed to be an open source alternative to the grid computing solution, in addition to the existing ones such as Globus, Sun's Grid Engine and Teragrid.
JavaSpaces seems as a better fit here.
See GigaSpaces with advanced master/worker framework , HA , GUI and CLI tools etc.
Shay
JavaSpaces is not an easy API to use to build applications with.
The best api for work management might just be a WorkManager API ;-) .. you guys should check out both the IBM/BEA "commonj" APIs as well as the JSR 236/237 work that is a derivative of it. We've supported a grid implementation of WorkManager for a while now, and the feedback (ease of use, etc.) has been very positive.
Peace,
Cameron Purdy
Tangosol Coherence: The Java Data Grid
JavaSpaces is not an easy API to use to build applications with.
The best api for work management might just be a WorkManager API ;-) .. you guys should check out both the IBM/BEA "commonj" APIs as well as the JSR 236/237 work that is a derivative of it.
Very kewl suggestion Cameron. I love the Workmanager pattern, generally speaking. How do I get access to your grid implementation to play around with it?
There are several legitimate APIs out there. One should distinguish API from implementation. The implementation is what provides effective parallelism; the API has to be flexible and useable.
Many people believe that a master/worker pattern based on Space semantics is adequate. For those who prefer a higher -level API, we offer Spring Remoting of the Space Based Architecture stack.
Guy Nirpaz
GigaSpaces: Write Once Scale Anywhere
There are quite a few assumptions in this framework around how best to cluster. I am now concerned it might be a tad "too large." I will have to look into it more closely. Then again, my view of truly "simple" is--by now sounding like a broken record--true POJOs with nothing but the JDK or the JDK and Spring. I think Jonas Bonér offered up a very clean solution here:
www.theserverside.com/news/thread.tss?thread_id...
I hope Terracotta solves this problem in a much simpler and cleaner way .
GigaSpaces is cool, but too expensive.
John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.
Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.
Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.
Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).
Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.
Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.
7 comments
Watch Thread Reply