fenzo-core


License

License

Categories

Categories

Net
GroupId

GroupId

com.netflix.fenzo
ArtifactId

ArtifactId

fenzo-core
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

fenzo-core
fenzo-core
Project URL

Project URL

https://github.com/Netflix/Fenzo
Source Code Management

Source Code Management

https://github.com/Netflix/Fenzo.git

Download fenzo-core

How to add to project

<!-- https://jarcasting.com/artifacts/com.netflix.fenzo/fenzo-core/ -->
<dependency>
    <groupId>com.netflix.fenzo</groupId>
    <artifactId>fenzo-core</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.netflix.fenzo/fenzo-core/
implementation 'com.netflix.fenzo:fenzo-core:1.0.1'
// https://jarcasting.com/artifacts/com.netflix.fenzo/fenzo-core/
implementation ("com.netflix.fenzo:fenzo-core:1.0.1")
'com.netflix.fenzo:fenzo-core:jar:1.0.1'
<dependency org="com.netflix.fenzo" name="fenzo-core" rev="1.0.1">
  <artifact name="fenzo-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.netflix.fenzo', module='fenzo-core', version='1.0.1')
)
libraryDependencies += "com.netflix.fenzo" % "fenzo-core" % "1.0.1"
[com.netflix.fenzo/fenzo-core "1.0.1"]

Dependencies

runtime (4)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.10
org.apache.mesos : mesos jar 0.21.0
com.fasterxml.jackson.core : jackson-databind jar 2.4.5
org.json : json jar 20140107

Project Modules

There are no modules declared in this project.

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.

com.netflix.fenzo

Netflix, Inc.

Netflix Open Source Platform

Versions

Version
1.0.1
1.0.0
0.13.8
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.12.8
0.12.7
0.12.6
0.12.5
0.12.4
0.12.2
0.12.1
0.12.0
0.11.8
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.1
0.10.0
0.9.3
0.9.2
0.9.0
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.13
0.7.13-rc.1
0.7.12
0.7.11
0.7.10
0.7.9
0.7.9-rc.1
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.4.0-rc.2
0.4.0-rc.1
0.3.1
0.3.0
0.2.0