29回勉強会資料「PostgreSQLのリカバリ超入門」
See also http://www.interdb.jp/pgsql (Coming soon!)
初心者向け。PostgreSQLのWAL、CHECKPOINT、 オンラインバックアップの仕組み解説。
これを見たら、次は→ http://www.slideshare.net/satock/29shikumi-backup
The YANG syntax is similar to C and C++ and uses a C-like syntax that was chosen for its readability. This section introduces the YANG syntax. While SMIv1, SMIv2, and SPPI are bound to specific protocols like SNMP and COPS-PR, the purpose of SMIng is to define a common data definition language that can specify data models independently of protocols.
The document discusses various aspects of Docker and Kubernetes, including container runtimes, deployment strategies, and container networking. It references resources from the Cloud Native Computing Foundation (CNCF) and outlines the roles of different components such as Kubelet, CRI-O, and containerd. Additionally, it covers technical details about container orchestration and management within Kubernetes.
29回勉強会資料「PostgreSQLのリカバリ超入門」
See also http://www.interdb.jp/pgsql (Coming soon!)
初心者向け。PostgreSQLのWAL、CHECKPOINT、 オンラインバックアップの仕組み解説。
これを見たら、次は→ http://www.slideshare.net/satock/29shikumi-backup
The YANG syntax is similar to C and C++ and uses a C-like syntax that was chosen for its readability. This section introduces the YANG syntax. While SMIv1, SMIv2, and SPPI are bound to specific protocols like SNMP and COPS-PR, the purpose of SMIng is to define a common data definition language that can specify data models independently of protocols.
The document discusses various aspects of Docker and Kubernetes, including container runtimes, deployment strategies, and container networking. It references resources from the Cloud Native Computing Foundation (CNCF) and outlines the roles of different components such as Kubelet, CRI-O, and containerd. Additionally, it covers technical details about container orchestration and management within Kubernetes.
Inside Sqale's Backend at Sapporo Ruby Kaigi 2012Gosuke Miyashita
?
This document summarizes the backend architecture of Sqale, a cloud application platform. It uses Linux containers hosted on Amazon EC2 instances. Containers are assigned to individual users and act as virtual environments. Traffic is routed to containers through an Nginx load balancer using dynamic configuration based on availability. An SSH router routes Git, SFTP, and SSH connections to the appropriate file or container servers using authorized keys scripts. Deployments are handled by separate servers.
The document provides step-by-step instructions for building and running Intel DPDK sample applications on a test environment with 3 virtual machines connected by 10G NICs. It describes compiling and running the helloworld, L2 forwarding, and L3 forwarding applications, as well as using the pktgen tool for packet generation between VMs to test forwarding performance. Key steps include preparing the Linux kernel for DPDK, compiling applications, configuring ports and MAC addresses, and observing packet drops to identify performance bottlenecks.
1. DPDK achieves high throughput packet processing on commodity hardware by reducing kernel overhead through techniques like polling, huge pages, and userspace drivers.
2. In Linux, packet processing involves expensive operations like system calls, interrupts, and data copying between kernel and userspace. DPDK avoids these by doing all packet processing in userspace.
3. DPDK uses techniques like isolating cores for packet I/O threads, lockless ring buffers, and NUMA awareness to further optimize performance. It can achieve throughput of over 14 million packets per second on 10GbE interfaces.
SQL Server 2017でLinuxに対応し、その延長線でDocker対応やKubernetesによる可用性構成が組めるようになりました。そしてリリースを間近に控えたSQL Server 2019ではKubernetesを活用したBig Data Cluster機能の提供が予定されており、コンテナの活用範囲はさらに広がっています。
本セッションではこれからSQL Serverコンテナに触れていくための基礎知識と実際に触れてみるための手順やサンプルをお届けします。
Windows Server 2016 で作るシンプルなハイパーコンバージドインフラ (Microsoft TechSummit 2016)Takamasa Maejima
?
2016年11月に開催された Microsoft TechSummit 2016 での、Windows Server 2016 ストレージ機能 (SDS) を活用したハイパーコンバージドインフラ (HCI) に関するセッションスライドです。
[イベント名] Microsoft TechSummit 2016
[開催日] 2016年11月1日
[セッションID] CDP-002
[セッションタイトル] Windows Server 2016 で作るシンプルなハイパーコンバージドインフラ
YAPC::Asia 2008 Tokyo - Pathtraq - building a computation-centric web serviceKazuho Oku
?
The talk describes the architecture of Pathtraq, one of Japan's largest web access statistics service, covering from database compression techniques to embedded SQL in perl.
This document outlines the process flow for receiving a packet on a network interface, passing it through various networking stacks in the kernel, and delivering it to a socket or application. Key steps include:
1) The packet is received by the network interface driver and passed to netif_receive_skb.
2) It then goes through processing such as checksum verification, filtering by iptables, and defragmentation if needed.
3) The packet is then routed and delivered to the appropriate socket using functions like ip_local_deliver.
4) Data from the packet is then placed into the receive queue for the socket's application to read.
Implements BIOS emulation support for BHyVe: A BSD HypervisorTakuya ASADA
?
The document discusses implementing BIOS emulation support for BHyVe, a BSD hypervisor. It describes how BIOS is handled on real hardware and Linux KVM. For BHyVe, it proposes using a pseudo BIOS that traps BIOS calls using the VMCALL instruction to cause a VM exit, where BHyVe can then emulate the BIOS call rather than using a real BIOS as KVM does. This avoids licensing issues while still providing BIOS support to enable more guest operating systems on BHyVe.
25. 複数CPUで実行
auto server = new distributed<udp_server>;
server->start().then([server = std::move(server), port] () mutable {
server->invoke_on_all(&udp_server::start, port);
}).then([port] {
std::cout << "Seastar UDP server listening on port " << port << " ...n";
});
26. CPU間通信
smp::submit_to(neighbor, [key] {
return local_database[key];
}).then([key, neighbor] (sstring value) {
print(“The value of key %s on shard %d is %sn”, key, neighbor, value);
});
29. Seastarのスケジューリング機構(タスクの実行)
? future/promiseで書かれたプログラムは即時実行されない
? 実行される条件(.then()の手前の処理が実行されること)とラムダ式のポインタが
スケジューラのランキューに登録される
? 非同期処理エンジンは条件が実行可能になったものから順に実行していく
(条件以外の実行順序は保証されていない)
? シェアードナッシングかつpinningされているので、ランキューが空になっても別の
CPUからタスクがマイグレーションされてくることはない
Promise
Task
Promise
Task
Promise
Task
Promise
Task
CPU
Promise
Task
Promise
Task
Promise
Task
Promise
Task
CPU
Promise
Task
Promise
Task
Promise
Task
Promise
Task
CPU
Promise
Task
Promise
Task
Promise
Task
Promise
Task
CPU
Promise
Task
Promise
Task
Promise
Task
Promise
Task
CPU
Promise is a
pointer to
eventually
computed
value
Task is a
pointer to a
lambda
function
37. 選べる実行環境
? OS
? Linux on baremetal
? Linux on VM
? OSv on VM
? ネットワークバックエンド
? DPDK + Seastarネットワークスタック
? vhost-net + Seastarネットワークスタック
? Xen + Seastarネットワークスタック
? OSのネットワークスタック(ソケットAPI)
? ブロックバックエンド
? OSのファイルシステム
38. Seastar on OSv
? 開発中
? ネットワークスタックを迂回、直接仮想NICへアクセス
? SR-IOV対応可
? ハードウェアを限定し、BIOS周りのコードにワークアラウンド
パッチを当てる事によりベアメタル対応可(未実装)
Seastar
OSv kernel
FBSD code
ZFS
TCP/
IP
COM
port
virtio-
blk
virtio-
net
clockACPI
sched
uler
ramfs
VFS
MM
libc
ELF
loader
syscall
emu
Seastar
DPDK
Seastar apps