InfoQ

Interview

Avi Bryant on DabbleDB, Smalltalk and Persistence

Interview with Avi Bryant by Werner Schuster on Jul 21, 2008

Community
Architecture,
Ruby
Topics
Runtimes ,
Dynamic Languages ,
Performance & Scalability ,
Technology
Tags
QCon London 2008 ,
GemStone ,
SmallTalk ,
Database ,
QCon ,
Seaside ,
Object Databases
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

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.