Fenzo

Extensible Scheduler for Mesos Frameworks

  • 所有者: Netflix/Fenzo
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Fenzo

Overview

Fenzo is a scheduler Java library for Apache Mesos frameworks that supports plugins for scheduling
optimizations and facilitates cluster autoscaling.

Apache Mesos frameworks match and assign resources to pending tasks. Fenzo presents a plugin-based, Java library that
facilitates scheduling resources to tasks by using a variety of possible scheduling objectives,
such as bin packing, balancing across resource abstractions (such as AWS availability zones or data center
racks), resource affinity, and task locality.

Fenzo Features:

  • it is a generic task scheduler that works with any Apache Mesos frameworks
  • it is well suited both for long running service-style tasks and for batch or interactive use cases
  • it can autoscale the execution hosts cluster based on demand for resources
  • it supports plugins with which you can customize the constraints that regulate resource selection and task
    placement optimizations
    • you can compose multiple individual plugins together to achieve higher level complex objectives; for
      example, you can in this way achieve bin packing as well as task affinity
    • the constraints you choose can be soft (best effort) or hard (must satisfy)
  • you can assign CPU, memory, network bandwidth, disk, and port resources from resource offers
  • you can group a heterogeneous mix of execution hosts based on their attributes
    • you can have each group autoscaled independently; for example, you may choose to keep a minimum of
      five big-memory hosts idle, but a minimum of eight small-memory hosts
  • you can set resource allocation limits on a per job group basis
    • you can define limits on the use of resource amounts on a per job group basis
    • the scale up of the cluster stops when these limits are reached, even if tasks are pending
  • you can monitor resource allocation failures in order to assist in debugging why some tasks can't be launched
  • you have the ability to trade off scheduling optimizations with speed of assignments

Beyond a first-fit assignment of resources, Fenzo frameworks can optimize task placement by using the built-in
plugins, or they can design and deploy their own custom task placement optimization plugins. Frameworks can
balance scheduling speed with optimal task assignment quality based on their needs. The fitness calculator and
constraint plugins that are built in to Fenzo include:

  • Bin packing fitness calculator
    • CPU, memory, network bandwidth, or a combination of them
    • packs tasks into as few hosts as possible
  • Host attribute value constraint
    • selects a host for a task only if it has a specific attribute value
  • Unique host attribute constraint
    • ensures co-tasks are placed on hosts that have unique values for a given attribute or host attrName
    • for example: one co-task per AWS EC2 availability zone, or one co-task per unique host
  • Balanced host attribute constraint
    • ensure co-tasks are placed on hosts such that there are an equal number of tasks on hosts with unique value
      of the attribute
    • for example: balance all co-tasks across AWS EC2 availability zones
  • Exclusive host constraint
    • ensure the host is used solely for the task being assigned, even if additional resources are available on
      the host

You can specify whether Fenzo applies a constraint in a hard (must satisfy) or soft (satisfy as much as possible)
manner.

Packages

  • fenzo-core
    The core scheduler library for Apache Mesos frameworks.
  • fenzo-triggers
    Utility library for setting up triggers based on cron style specification.

Binaries

Binaries and dependency information for Maven, Ivy, Gradle and others can be found at
http://search.maven.org.

Javadocs

Programmer's Guide

The Fenzo Programmer's Guide is available as a wiki on
the Fenzo GitHub site.

LICENSE

Copyright 2015 Netflix, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

主要指标

概览
名称与所有者Netflix/Fenzo
主编程语言Java
编程语言Java (语言数: 2)
平台
许可证
所有者活动
创建于2015-03-01 00:30:42
推送于2023-03-31 20:53:21
最后一次提交2023-03-31 13:53:17
发布数93
最新版本名称1.1.0-rc.9 (发布于 )
第一版名称v0.1.0 (发布于 2015-04-30 14:11:32)
用户参与
星数700
关注者数443
派生数114
提交数315
已启用问题?
问题数54
打开的问题数19
拉请求数131
打开的拉请求数3
关闭的拉请求数5
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?