← Back to team overview

graphite-dev team mailing list archive

Re: Contributing a Windows port of Graphite

 

I think a simple write-up of how it is done would be a good starting point.
Of course since there is custom code involved there are a number of ways
that could be presented. Any non-graphite code (like your windows service)
could simply be published however you'd like. For changes to graphite code,
a public Launchpad-hosted bzr branch would be ideal. We can go from there as
needed (making it work against current trunk, integrate some of your carbon
changes, etc). For the write-up you could add a page on the wiki if you'd
like, though once all the details are ironed out it'd be nice to get it into
the readthedocs build.

-Chris

On Thu, Aug 25, 2011 at 9:55 AM, Ron Cordell <ron.cordell@xxxxxxxxx> wrote:

> Hi Chris --
>
> Thanks for the response! It's never too late ;)
>
> We actually based our cut on a little earlier release - I believe we are
> using the whisper db underneath at the moment. However, the unix sys calls
> were gotten around as needed. We actually wrote a Windows service to help
> with things a bit.
>
> What is the best way to get the information about what we did to people out
> there that might want to use it as a way to go forward?
>
> Thanks!
>
> -Ron
>
>
> On Wed, Aug 24, 2011 at 10:44 PM, Chris Davis <chrismd@xxxxxxxxx> wrote:
>
>> Ron, first off I'm terribly sorry your message sat in a queue for 2
>> months. Launchpad doesn't notify me when there are mailing list messages
>> pending approval and I got lax in checking so sorry for that.
>>
>> I think this would be really valuable to a lot of people. While I don't
>> plan on "officially supporting" Windows as a platform for Graphite (because
>> I don't have a Windows install to test against) I think it would be great if
>> we could make it "unofficially supported" (ie. likely to work but not
>> regularly tested during development). There were probably some unix syscalls
>> in carbon that you had to deal with in some clever way, but I imagine all
>> that can be abstracted away into an os-aware module. Anyways, I'd love to
>> take a look at your implementation. Assuming your work is based off a
>> release like 0.9.8 there is probably a little work needed to get it in sync
>> with trunk (soon to be cut as 0.9.9).
>>
>> Thanks,
>> Chris
>>
>> On Mon, Jun 20, 2011 at 10:15 AM, Ron Cordell <ron.cordell@xxxxxxxxx>wrote:
>>
>>> Hello,
>>>
>>> I just joined wikidot, and now Launchpad (I think ;) ). Anyway, I wanted
>>> to contact you directly because we've "ported" Graphite/Carbon to a Windows
>>> environment and have things working quite well. We did this because we
>>> really like the Graphite project and didn't want to have to re-invent the
>>> wheel to use the idea. I don't know if there's a ton of desire to use
>>> Graphite in Windows (I've seen maybe 1-2 requests or questions about it),
>>> but if you guys would like us to contribute this back to the project, we'd
>>> love to do it.
>>>
>>> A few caveats -- we're not Python devs; I had to learn Python to get
>>> Graphite working (but it's pretty straightforward). We're not familiar with
>>> the tools, libraries, installers, and all the stuff in a "Python world", so
>>> what we've done is to get things working and easily installable. There are
>>> lots of *nix-specific things in the Graphite/Carbon code, most of which are
>>> easily worked around and some which have no equivalent. But the thing works
>>> pretty well as it is in Windows and runs either stand alone under Django or
>>> IIS with the Fast-CGI module.
>>>
>>> If you think this is something you'd like to have contributed back, let
>>> us know and we'll determine the best way to do it. If not, we can always
>>> just blog it/document it and leave it at that :)
>>>
>>> Thanks, and thanks for the great stuff that Graphite provides.
>>>
>>> Cheers,
>>>
>>> Ron Cordell
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~graphite-dev
>>> Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~graphite-dev
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>

References