OSv is a new, high-performance OS for virtual machines in the cloud. Designed to run one application per guest with minimal overhead, OSv eliminates important bottlenecks for NoSQL applications through improvements in memory management, network I/O, and scheduling. And many important bottlenecks for NoSQL applications are tunable on a conventional OS, but do not require tuning in the OSv environment.
OSv is fully stateless and can be configured at runtime with cloud-init or through a REST API, with zero configuration files. OSv offers unified tracing from the application layer through the JVM and the OS kernel. Attendees will learn how to boot Cassandra in one second, and create a simple cluster in a minute.
%in Midrand+277-882-255-28 abortion pills for sale in midrand
OSv at Cassandra Summit
1. Cassandra on OSv
Dor Laor, Don Marti and Glauber Costa
Cloudius Systems
2. Become the best OS
powering virtual machines
in the cloud
Your App
OSv
Hypervisor
Hardware
Your App
OSv + JVM
Hypervisor
Hardware
OSv + JVM
Hypervisor
Hardware
OSv
Hypervisor
Hardware
Your App
OSv + JVM
Hypervisor
Hardware
6. What is OSv?
Traditional Stack Thin OS
Java App
App Server
Hypervisor
Hardware
JVM
guest OS
C++ App
guest OS
App Server
OSv + JVM
Your App
Hypervisor
Hardware
Your App
OSv
12. Performance: Leave no stone unturned
Memory Huge pages, Heap vs Sys
I/O Zero copy, full aio, batching
Scheduling Lock free, low latency
Tuning Out of the box, auto
CPU Low cost ctx, Direct signals...
13. New TCP/IP Stack
Common kernel
network stack
Net Channel design:
22. www.osv.io/Capstan:
VM build and deploy
● Docker-like config file
● Takes about 3 seconds to build
● Runs on any OS (written in Go)
cat Capstanfile
base: cloudius/osv-openjdk
cmdline: > /java.so -XX:+UseThreadPriorities -XX:+UseParNewGC -XX:
+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:
SurvivorRatio=8 -XX:MaxTenuringThreshold=1 ... org.apache.cassandra.
service.CassandraDaemon
build: make
23. Deploying OSv at scale
OSV Cloud Init:
- Stateless
- Watch ma, no puppet/chef
- Single (external) file to rule them all
files:
/etc/config: |
my config
goes here
httpserver:
ssl: yes
port: 443
topology:
- dc_name: DC1
racks:
- rack_name: c1
nodes:
- broadcast_address: 1.2.3.4
dc_local_address: 5.6.7.8
24. Some more OSv Goodies
rest-api
Jolokia JVM
PaaS
approach for
runtimes
ZFS
snapshots
Ruby,
Node,
Scala,
more
Cloud Init
NewRelic
integ
JVM
Ballooning
25. ~20MB image size
Ideal for multi
tenants
70% better tcp latency
Stateless,
streamable config
Runs on virtualBox, kvm,
vmw, xen, ec2, gce
Public image repository
26. Thank you!
Try it! http://osv.io/
Run on public cloud
Follow @CloudiusSystems