Re: [Pharo-dev] Can Realm (DB) and Pharo play together (or can we have a Pharo Realm Object Server to ROS) ?
Can you move such discussions on pharo-users mailing-list and not pharo-dev ?
Sorry for that !
I’ve spent some time in the summer in what I call my quest to the ultimate and easy and fun architecture to prototype some personal administration apps and have fun :-)
I’ll share some experience and wonder if there are alternative in Pharo.
I want app that are mobile firsts, then manageable with a computer (for more complex administrative tasks).
I want them reactive (I especially like reactive data driven application like meteor.js), ubiquitous around my devices and not always connected (offline-first - this is very important if not the first objective).
Ok, so I was lurking around looking for server and mobile distributed databases and I finally found Realm (https://realm.io/products/realm-mobile-platform/) which is a cool architecture plenty of promises, well documented, lots of tutorials... The architecture is composed of 2 products:
- Realm DB  that runs on mobile device - multiplatform - fully open-source - performant - an object DB with some limitation though
- Realm Object Server (ROS)  - provide two-way data sync simple and easy - BUT proprietary even if free for developers … the entry point for serious developments (in particular access programmatically to the server) is very expensive ! 1500$mo !
The developer edition with is free is already quite outstanding to me. Looks at this demo page on GitHub  !
But… without any control to the ROS, I find ROS quite limited finally. I may then use the DB part, ROS free for what really need sync reactivity between devices or between group of people (like a black board), but store all less transient information to WhateverNoSQLDB probably in REST.
Anyway I want to share that with you because it rings a smalltalk bell in my head… it’s about object data, live feeling, and I want to use Pharo on the server :)
Maybe some people here have thought of an alternative ROS in Pharo or Gemstone ? Any ideas or remarks ?
I was aware of sebastian Flow living full-stack framework attempt but don’t know more.
NB: Pharo looks more and more great ! Congratulations guys for you job ! I hope ESUG was nice.
I’ve just tried Telepharo on Pharo 6 (64 bit). Really great work too... It works like a charm, out of the box on low cost dedicated ubuntu servers  => 10€mo
Pharo 64 tinyBenchmarks is 2,75 times slower than on my Mac mini Core i5 2,5GHz from 2012 with SSD (I guess it’s not that bad and usable for personal applications servers). I think it’ about 3 times faster than on a raspberry Pi.
Mac mini (32 bit version): '1329870129 bytecodes/sec; 108576799 sends/sec’ Dedibox Low Cost server (64 bit version)’ '595695171 bytecodes/sec; 39441333 sends/sec'
NB2: to download/install Pharo from command line, on the web site instructions, it seems it lacks the trailing slash. I had to add it.