zoukankan      html  css  js  c++  java
  • warden 的设计与实现 总结

    --------------------------------------------------------参考资料------------------------------------------

    warden快速入门

    http://www.oschina.net/question/565065_134828

    2.源码位置

    https://github.com/cloudfoundry/warden

    3.EM介绍 ,基于reactor设计模式的框架   http://blog.csdn.net/resouer/article/details/7975550 

    4.参考论文《warden的设计与实现》

     -------------------------------------------------------正文开始---------------------------------------------------------

    Warden简介

    The project's primary goal is to provide a simple API for managing isolated environments. These isolated environments -- or containers -- can be limited in terms of CPU usage, memory usage, disk usage, and network access. As of writing, the only supported OS is Linux. warden为应用提供隔离的运行环境。以前,所有跑在cloud foundry匕的应用都是通过一个叫DEA(DroPletExecution Agent)的功能模块负责管理的。cloudfoundry中的DEA模块不在直接操作和管理应用,而是通过调用容器的一些APi通过nat和firewall与warden容器进行通信,每个容器都有一个内部的网络,一个私有的文件系统,每个容器内部都一可以运行一个应用。在容器内部,应用随意访问文件系统,在内网畅通无阻,跑满CpU,占尽内存,写满磁盘。Warden作为个程序运行容器,提供了一个孤立的环境。

     一些基础知识

     1.cgroups快速入门

    ref: http://www.cnblogs.com/yjf512/p/3298582.html

    等等

    Warden框架的设计思路

    warden本身是cs架构,所以warden共有3大模块:服务器,客户端,通信协议。

     

     待续

  • 相关阅读:
    System.Reflection.ParameterModifier.cs
    System.Reflection.CallingConvention.cs
    System.Reflection.ParameterAttributes.cs
    System.Reflection.ParameterInfo.cs
    System.Reflection.MethodImplAttributes.cs
    System.Reflection.ExceptionHandlingClause.cs
    System.Reflection.LocalVariableInfo.cs
    交换分区设置
    PYCURL ERROR 22
    Could not reliably determine the server's fully qualified domain name
  • 原文地址:https://www.cnblogs.com/hansongjiang/p/4778773.html
Copyright © 2011-2022 走看看