librelist archives

« back to archive

A bit OT: hello.bareku.com

A bit OT: hello.bareku.com

From:
Loic d'Anterroches
Date:
2011-12-08 @ 14:24
As the activity on the list is slow, consider this email as a
simple -- MARK -- in the list syslog or a small thank you all for
Mongrel2 with it I can simplify my life.

http://hello.bareku.com/

this is a PaaS running on top of Mongrel2. It uses the Heroku approach
with deployment in a pre-receive git hook:

$ git push origin master
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 361 bytes, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: -----> hello app.
remote: -----> PHP/Photon project detected.
remote:        Running with php-5.3.8.
remote: -----> Fetching Photon.
remote: -----> Building the .phar project file.
remote: -----> Building the slug file.
remote:        Compiled slug size is 124KB.
remote: -----> Deploying to the nodes.
remote: -----> Building application runtime configuration.
remote:        Application version: 7
remote: -----> Job done.

Mongrel2 is basically the Heroku front end, ZeroMQ the "routing layer"
and at the moment, the system supports PHP projects coded with Photon.
The project will be open sourced, but basically, this is just a series
of scripts packaging everything, creating a new configuration file for a
process manager and voilà.

The really nice thing is that ZeroMQ/Mongrel2 allow us to kill the
processes before starting the new ones without losing a request. This
makes restart of the system without interruption of service.

Some pretty heavy projects are going to be deployed on this system in
the next few months. I will keep you informed and try to release as much
as possible the code.

Bareku the name is of course an hommage to Heroku. But of course my
system has more limitations, so the bare.

loïc

--
Indefero - Project management and code hosting - http://www.indefero.net
Photon - High Performance PHP Framework - http://photon-project.com
Céondo Ltd - Web + Science = Fun - http://www.ceondo.com

Re: [mongrel2] A bit OT: hello.bareku.com

From:
Henry Finucane
Date:
2011-12-08 @ 17:53
Congrats on finishing (or at least, nearing the end of the beginning),
I hope your launches go well.


-- 
-----------------------
| Henry Finucane
| (510) 473-7148
-----------------------

Re: [mongrel2] A bit OT: hello.bareku.com

From:
Tang Daogang
Date:
2011-12-09 @ 01:24
Great work, I consider maybe Bamboo can be hosted on your PaaS?

On Fri, Dec 9, 2011 at 1:53 AM, Henry Finucane <h.finucane@gmail.com> wrote:

> Congrats on finishing (or at least, nearing the end of the beginning),
> I hope your launches go well.
>
>
> --
> -----------------------
> | Henry Finucane
> | (510) 473-7148
> -----------------------
>



-- 
Nothing is impossible.

Re: [mongrel2] A bit OT: hello.bareku.com

From:
Loic d'Anterroches
Date:
2011-12-09 @ 07:33

On 2011-12-09 02:24, Tang Daogang wrote:
> Great work, I consider maybe Bamboo can be hosted on your PaaS?

If you really think from a high level perspective, the thing is just:
- pre-receive hook for git to create a squashfs file with the project.
- a bit of house keeping to know where to copy/mount the squashfs file.
- http://projects.ceondo.com/p/diprocd/ to kill the old and start the
  new processes (Mongrel2 handlers).

So yes, one could run anything which can be encapsulated in such
constraints, which mean everything in the back of Mongrel2.

> On Fri, Dec 9, 2011 at 1:53 AM, Henry Finucane <h.finucane@gmail.com> wrote:
> 
>> Congrats on finishing (or at least, nearing the end of the beginning),
>> I hope your launches go well.

It is always the beginning of something new. So yes, it is the start, again.

For me Mongrel2/ZMQ is basically the right technology for web
development for the next 10 years, this is why I am taking the time to
build this system. We will see in 10 years if my bet was right :D

Have a nice day,
loïc

Re: [mongrel2] A bit OT: hello.bareku.com

From:
C Anthony Risinger
Date:
2011-12-09 @ 09:50
On Fri, Dec 9, 2011 at 1:33 AM, Loic d'Anterroches <loic@ceondo.com> wrote:
>
> For me Mongrel2/ZMQ is basically the right technology for web
> development for the next 10 years

... and even though i haven't been able to do nearly as much as i'd
like with mongrel2 due to obnoxious life constrains, i couldn't agree
more :-)

@25yrs i pretty much grew up around the web, and have haxxed on it
professionally for many (?) years now ... but the moment i read about
mongrel2 and it's design i was *instantly* sold!  extensive readings
and evaluations since then only solidify the stance, and i frequently
pass this on to anyone who might care (or listen :-).

so, bravo to everyone who's been involved, you're creating an
astonishingly natural next-step technology!  special thanks to you
Zed, as even though you're internet-user-#1839143 and i'm
internet-user-#9877028, i've learned a tremendous amount from your
writings (working thru learn-c-the-hard-way right now) and laughed,
alot, at them too ... long before i connected all the dots ;-)  except
you're blog ... which needs some creation/lastmod dates man!

thanks to all, you guys rock!  development is awesome ... the pooling
and sharing of pure human creation.  saweet.

ps. this list *is* really light ... i hoped to encounter lots of
useful insights by lurking on it! i guess mongrel2 is doing what
everyone expects?

-- 

C Anthony

Re: [mongrel2] A bit OT: hello.bareku.com

From:
Loic d'Anterroches
Date:
2011-12-12 @ 09:20

On 2011-12-09 10:50, C Anthony Risinger wrote:
> On Fri, Dec 9, 2011 at 1:33 AM, Loic d'Anterroches <loic@ceondo.com> wrote:
>>
>> For me Mongrel2/ZMQ is basically the right technology for web
>> development for the next 10 years
> 
> ... and even though i haven't been able to do nearly as much as i'd
> like with mongrel2 due to obnoxious life constrains, i couldn't agree
> more :-)
> 
> @25yrs i pretty much grew up around the web, and have haxxed on it
> professionally for many (?) years now ... but the moment i read about
> mongrel2 and it's design i was *instantly* sold!  extensive readings
> and evaluations since then only solidify the stance, and i frequently
> pass this on to anyone who might care (or listen :-).
> 
> so, bravo to everyone who's been involved, you're creating an
> astonishingly natural next-step technology!  special thanks to you
> Zed, as even though you're internet-user-#1839143 and i'm
> internet-user-#9877028, i've learned a tremendous amount from your
> writings (working thru learn-c-the-hard-way right now) and laughed,
> alot, at them too ... long before i connected all the dots ;-)  except
> you're blog ... which needs some creation/lastmod dates man!
> 
> thanks to all, you guys rock!  development is awesome ... the pooling
> and sharing of pure human creation.  saweet.
> 
> ps. this list *is* really light ... i hoped to encounter lots of
> useful insights by lurking on it! i guess mongrel2 is doing what
> everyone expects?

Mongrel2 is developed in bursts, like most of the OSS. When the
developers have a good chunk of free time, you see a lot of activity,
then it slows down, the time to really use the tool, test or do
something else. This is normal and part of the general life of nearly
all the software projects.

loïc