Hi Bernat, what you do usually is to develop in pharo, then create a metacello configuration, and install it in gemstone (using topaz, or something), maybe with some compatibility adds (metacello can handle that in case of need). No GemTools, or anything... AFAIK, gemtools is a way to retrieve objects from gemstone into your non-gemstone application, using it as a regular database. Deploying in gemstone, you can thought on it more as an application server with orthogonal persistence :)
Esteban On Jan 29, 2013, at 2:22 PM, Bernat Romagosa <[email protected]> wrote: > Hi list, > > I've heard the "develop in Pharo, deploy in Gemstone" idea a million times, > and I'd like to understand how people proceed in real-world cases. > > I've done my homework and I've watched and read a lot of beginner tutorials, > but I still have lots of pieces missing. Here's our scenario: > > We have a web app, built on Pharo 1.4 and Iliad 0.9.1.2. Currently, we handle > persistence on the image and we have a scheduler process doing regular Fuel > backups every 10 minutes, and we also keep daily backups in case things go > wrong. > > The app is starting to gain momentum, and it feels like things are going to > start being way too sluggish soon, so we need to scale. > > We've been trying many different persistence approaches, but we'd love to > stay inside Smalltalk. We hate having to flatten and pump back our objects > all the time. Also, REST apis to any kind of DB are not good enough for us, > every o(n) operation becomes unbearably slow, as n REST calls must be sent > out and n answers received. > > In short, we want to use Gemstone, as we've read it's best for complex, > intertwined Smalltalk models, and it scales like crazy. > > We'd be okay with Pharo being the "dealer" between clients and the DB, but as > I understand, GemTools can't be installed on Pharo 1.4, so we're kind of > stuck with an old Pharo 1.1.1 image, in which Iliad 0.9.1.2 can't be > installed. > > What's the solution here? How does one proceed to migrate an app of this > kind? We've developed in Pharo, now how does one accomplish the "deploy in > Gemstone" part? > > Any pointers to documentation, blog posts or whatever will be so much > appreciated. > > Thanks a lot in advance, > > Bernat. > > -- > Bernat Romagosa.
