Re:Mongrel2's Got Config Files, Streams MP3s
by kordless on Sunday July 18, 2010 @10:22PM
(#1527393)
Zed came by our office the other day to talk about supporting streamed logs with Mongrel2. As we already use 0MQ, it's a small change to our clients to support taking HTTP POSTs as log events. It's fucking fantastic, as Zed would say. :)
He was talking about the config file viewer thing too. One of the things that pops out of having a SQLite as your configuration store is the ability to programmatically change your server's configs on the fly.
Re:Mongrel2's Got Config Files, Streams MP3s
by loewenskind on Monday July 19, 2010 @04:37AM
(#1528007)
>One of the things that pops out of having a SQLite as your configuration store is the ability to programmatically change your server's configs on the fly.
I hope this catches on more. The old Unix way of changing some text file (with its own unique grammar) and sending some signal to some process needs to go away.
Re:Mongrel2's Got Config Files, Streams MP3s
by mhd on Monday July 19, 2010 @04:46AM
(#1528017)
If we would've reached that stage, I'd be happy enough. There's enough software out there that requires restarting the process and doesn't support the edit/HUP method.
And while I'd prefer something like Lua, tcl or lisp to SQL, at least it ain't XML.
Re:Mongrel2's Got Config Files, Streams MP3s
by 0bfusct3 on Monday July 19, 2010 @08:44AM
(#1528438)
Configuration files need to be static key value or a relational algebra - you cannot have mutations and branches based on logic within a configuration or else you introduce issues you wouldn't want to even dream of.
Re:Mongrel2's Got Config Files, Streams MP3s
by 0bfusct3 on Monday July 19, 2010 @08:48AM
(#1528446)
Maybe it's just me but I think this is incredibly stupid - He's abstracting the issue that Unix isn't distributed into a single application. It's like putting $5000 rims and mufflers on a $100 van.
He was talking about the config file viewer thing too. One of the things that pops out of having a SQLite as your configuration store is the ability to programmatically change your server's configs on the fly.
I hope this catches on more. The old Unix way of changing some text file (with its own unique grammar) and sending some signal to some process needs to go away.
And while I'd prefer something like Lua, tcl or lisp to SQL, at least it ain't XML.