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 Han Xu on Sep 07, 2008
Technical reports published by the W3C that include programming language interfaces have typically been described using the Object Management Group’s Interface Definition Language (IDL) [OMGIDL]. The IDL provides a means to describe these interfaces in a language independent manner. Usually, additional language binding appendices are included in such documents which detail how the interfaces described with theIDL correspond to constructs in the given language.Web IDL is intended to specify in detail the language used by W3C specifications to define interfaces, and to provide precise conformance requirements for ECMAScript and Java bindings of such interfaces.
However, the bindings in these specifications for the language most commonly used on the web, ECMAScript, are consistently specified with low enough precision as to result in interoperability issues. In addition, each specification must describe the same basic information, such as DOM interfaces described inIDL corresponding to properties on the ECMAScript global object, or the unsigned long IDL type mapping to the Number type in ECMAScript.
Most DOM-related specifications at the moment have quite high level descriptions of how host objects in ECMAScript that implement particular interfaces should behave. For example, the ECMAScript Language Binding appendix of DOM Level 3 Core describes the ECMAScript binding for DOM Level 3 Core, yet it does not say that Node prototype object is in the prototype chain for an Element object. Various AJAX toolkits rely on this, yet it has not been standardised.So with Web IDL "imposing stricter requirements on language bindings for other specifications", the Web development community will see a more interoperable world as far as the coherence between standards and between products developed against the same standards is concerned.
Another example is that it’s not explained how types are coerced when calling functions on host objects. For example, when you do:
circleElement.setAttributeNS(null, 'cx', 2 * 50);then it’s expected that this behaves like:
circleElement.setAttributeNS(null, 'cx', '100');since the third argument to setAttributeNS() is a DOMString. This isn’t defined anywhere, but it is widely interoperable behaviour. Web IDL defines how type coercion works like this.
Seems like this would be most useful if I could get a JS interpreter to read it, and verify the IDL against runtime behaviour. Maybe just in a test mode or something, even. I suppose you could do that via monkey-patch'ing the living daylights out of the code, at runtime. Not sure I'm going to trust someone to just write this stuff by hand, assume they've done it all correctly. Especially if there's a lot of it.
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.
1 comment
Watch Thread Reply