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

Reply

Exclusive Content

Diary of a Fence Sitting SOA Geek

In this presentation, Mark Little explains the history of SOAP/WSDL/WS-*-based web services and RESTful HTTP and highlights how the two approaches might converge into a single solution.

Flex for XML and JSON

Platforms need interoperability. In this article Flex interoperability with JSON and XML is explored including direct mapping to chart and grid components.

Measuring Agile in the Enterprise: 5 Success Factors for Large-Scale Agile Adoption

Michael Mah analyzes the development process in 5 companies: 2 Agile (one of them BMC) and 3 classic. He presents the factors which contributed to the success of BMC's Agile adoption.

Tom Preston-Werner on Powerset, GitHub, Ruby and Erlang

In this interview filmed at RubyFringe 2008, Tom Preston-Werner talks about how both Powerset and GitHub use Ruby and Erlang, as well as tools like Fuzed, god, and more.

David Laribee on Alt.NET and its Mission

David Laribee discusses the purpose of ALT.NET, its mission and future.

Discover RailsKits and Stop Writing Redundant Code

Ruby on Rails has become a popular Ruby framework for creating web applications in recent years. An aspect of creating a web application is the need to repeatedly create the same base functionality.

A Formal Performance Tuning Methodology: Wait-Based Tuning

Steven Haines talks about tackling web application performance tuning by proposing a method called wait-based tuning.

Shaw and Fowler About Forging a New Alliance

Shaw and Fowler talk about the need for a new relationship between the business department and the IT department. Studies have shown that projects mostly fail due to miscommunication between the two.