Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
RFC: daemon-kit stackable environments
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kenneth Kalmer  
View profile  
 More options Jul 20 2009, 7:41 am
From: Kenneth Kalmer <kenneth.kal...@gmail.com>
Date: Mon, 20 Jul 2009 20:41:41 +0900
Local: Mon, Jul 20 2009 7:41 am
Subject: RFC: daemon-kit stackable environments

Hi everyone

A thought went through my mind this morning and I've been chewing on it a
bit during the day, and will continue to do so over the next couple of days.
I thought it would be wise to dump some random information here (nothing
solid) to see if it sparks a healthy debate...

DaemonKit Stackable Environments

Rough Cut: DaemonKit can benefit hugely from a stackable environment, like
rack, but the stack gets "compiled" only once. The stack is responsible for
setting up an environment for the daemonized code to run in.

Parts affected:

* Dependency loading (can greatly simplify this)
* Boot (pre-daemonize)
* Run (post-daemonize)

Different stacks? Or one stack with stack entries being called at specific
times if needed... Probably single stack, with stack members possibly
exposing several different hooks that can be called at various times during
the daemonization process.

Benefits

* Much easier to add/remove daemon-kit features as you need them
* Easier to hook in customizations
* Easier to extend (and easier to compact)
* Familiar concept (rack), slightly different implementation

Pitfalls

* Deep rewrite of dk
* All existing daemons would have to change
* Familiar concept (rack), slightly different implementation (yes, repeated
on purpose)

Everything is conceptual at the moment, and subject to change or complete
nullification if I sober up to something better... If this sounds like a
good idea, especially with a experimental branch evolving, I'll announce
more to the group.

Anycase, thanks for listening and looking forward to any questions and
critique...

Ciao !

--
Kenneth Kalmer
kenneth.kal...@gmail.com
http://opensourcery.co.za
@kennethkalmer


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »