[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

答复: About Mirage Implementation



Anil,

My ultimate goal is to do some deep research on Mirage, and I think the
development of a Mirage library for persistent RAM-based KV should be a good
start point. Since I know not much about Mirage, the preliminary plan is to
achieve this by modifying an existing Mirage library, which would also help
me understand the inside of Mirage. Now that you will port hello world
examples next week, I prefer to wait and work on the modular version. I
think I can also help in completing the Mirage documents, if necessary.

I might have some questions on how/what to do. I noticed you mentioned
Balraj and Raphael. Do they know much about Mirage? Or you can suggest other
people in Cambridge who can help me?

Thank you for your help!

Regards,
Yiming

-----邮件原件-----
发件人: Anil Madhavapeddy [mailto:anil@xxxxxxxxxx] 
发送时间: 2012年9月29日 20:08
收件人: Yiming Zhang
抄送: cl-mirage@xxxxxxxxxxxxxxx
主题: Re: About Mirage Implementation

Hi Yiming,

The tutorial is indeed down (apparently due to an EC2 power cut that took
out the VM).  However, the build tools are indeed quite different now, due
to us switching Mirage to a (significantly simpler and more robust) package
manager.  This package manager works with normal OCaml libraries, and so is
generally a more sustainable long-term solution.

So there are two options:

- you can use the old monolithic repository, and clone
mirage/mirage-tutorial (but roll it back to last year by reverting the last
commit).  This will give you a local copy of the tutorial, which you can
access on port 80.

- I'm planning to port the hello world examples on mirage-www next week.  In
the meanwhile, you can follow the OPAM instructions for mirage-www to get it
up and running, as the website uses the latest interfaces.

You can also make a lot of progress without needing Mirage at all.  I'd
suggest using Lwt, the Lwt_bytes module, and the cstruct library to build a
UNIX userspace version quickly.  You can recompile this pretty easily to a
Mirage kernel if you keep the core logic fairly pure and functional.  Happy
to advise about how that works (or you might want to find someone locally in
Cambridge this month until I return in November, such as Balraj or Raphael
who know who this works).

-anil

On 28 Sep 2012, at 02:37, "Yiming Zhang" <sdiris@xxxxxxxxx> wrote:

> I want to contribute to the Mirage project by implementing a RAM-based KV
library (like a better memcached) for it. However, it seems that it is very
difficult to start. For the new modular version, the documents (in
http://www.openmirage.org/wiki/hello-world) seem obsolete; for the old
monolithic version, even the webpage (http://tutorial.openmirage.org/#1)
cannot be opened! Can anybody help me figure out what to do in the first
step?
>  
> Regards,
> Yiming




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.