InfoQ

Interview

Avi Bryant on DabbleDB, Smalltalk and Persistence

Interview with Avi Bryant by Werner Schuster on Jul 21, 2008 02:10 PM

Community
Architecture,
Ruby
Topics
Technology ,
Dynamic Languages ,
Performance & Scalability ,
Runtimes
Tags
QCon London 2008 ,
Object Databases ,
Database ,
SmallTalk ,
Seaside ,
GemStone ,
QCon
Summary
In this interview, Avi Bryant talks about the Smalltalk web framework Seaside, DabbleDB, using Smalltalk images for persistence instead of an RDBMs, GemStone and more.

Bio
Avi Bryant is the co-CEO of Dabble DB, a Vancouver startup focused on web-based data management and collaboration tools. He is the author of the Seaside web application framework, and is active in the open source Squeak Smalltalk community.
We are here at Qcon 2008 in London. We are sitting here with Avi Bryant. How about you introduce yourself?
So the Seaside Squeak web framework what's the chicken and egg situation with Seaside and Dabble DB ?
So can I ask how did clients react when you said you wanted to implement something with Seaside or did that not bother them?
So I think your background is generally Smalltalk or how did you get to Smalltalk?
So you're a second generation Smalltalker, not an old graybeard, you're a new generation?
It encouraged them to see it's possible again.
You mean old Smalltalkers, or former Smalltalkers, or in general?
Ok, so you think the roots for Seaside are in Objective C based frameworks?
This brings us to one of Seaside's distinguishing features is its use of continuations. Do web objects use continuations in some way or did they emulate it?
You associate it with a GUI element.
So in the background you automatically map or create some URL that maps to to this specific event handler. Does that also include state in some way?
So by registering you keep all the state around, keep the closure of the state?
Can you mess with the closures with the state in some way? Can you access them in some ways so you can persist them in some other form, for instance to replicate them or sort them in a database, is that even a problem?
Can you checkpoint them in some place so you could even if they, if the image is running could you copy it away in some safe place?
So how do you decide when to launch off these images is there some other web server before them?
Rack, is it?
And Peter Cooper I think is working on it.
So you basically hope that not all your users have to access the databases at the same time?
So you could just get in the new server and copy the images there?
It is interesting with this images, it sounds like Amazon EC2 with the VMWare images in a way. Just with a twenty five years old technology, Smalltalk.
You are using Squeak to run Dabble DB. Have you tried using Seaside generally on other Smalltalk implementation? Are there many Smalltalk implementations?
Well talking about persistence, you do persistence basically by saving images.
What's this extraction storage look like? I can't see it, is it a graph?
This brings us to a point - how do you push out new versions of say Dabble DB? If you have thousands of images out, do you have to upgrade them?
I think you wrote it [Monticello]?
Does updating the class structure in Smalltalk world? I mean updating methods works but instance variables? Does that work?
So in Ruby we have a feature called ObjectSpace, do you have that kind of feature in Smalltalk?
Is there a special name or is it just?
So you talked a lot about Dabble DB. We can actually explain what it actually is? What's its area of usage?
So basically you mentioned that you are not supposed to program it. And they can't program it, it's not a feature.
It's a very interesting application that you obviously live of it.
And since it's running on Squeak it also shows that you can run a platform on Squeak which isn't particularly known for the stability.
Sounds good. So you also don't miss any kind of concurrency such as threads. I mean Squeak has a thing, processes or something else.
So you don't see any problems with blocking I/O calls or other things?
These twenty images would have to be different applications, different Dabble DB instances? Could be?
Is there a 64 bit version of Squeak?
Is it four gigs or two gigs [for maximum Squeak image size] ?
So let's say you would have a big customer who wanted to do some big persistence, you've mentioned Gemstone. Is that Smalltalk?
So how different is Gemstone from Squeak. I mean it's a quite old Smalltalk, I think, twenty years?
I should say Gemstone is also known as an object oriented database.
So actually we talked about the compatibility of Squeak and Gemstone and how compatible are they - you mentioned porting Dabble to Gemstone. How big of a difference do you think there is?
You named that turtles all the way down.
So, I will ask our audience, are there any questions? So roll all the way back when you were talking how you deploy Seaside with Dabble. Is that a standard or common deployment process?
Ok so now on to the idea of scaling – you said you have 99.9 % of customers fit into that... have low interaction, but when you get that one customer who wants to hit one VM a lot, how do you scale that one VM.
You haven't sent that email out yet?
show all  show all

No comments

Watch Thread Reply

Educational Content

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.