Skip to content

Instantly share code, notes, and snippets.

View voluntas's full-sized avatar
🎲
Focusing

V voluntas

🎲
Focusing
View GitHub Profile
@voluntas
voluntas / main.zig
Last active July 26, 2022 10:46
シングルスレッド非同期 TCP エコーサーバ
//! Zig 作者のコードを参考にした
//! https://gist.github.com/andrewrk/34c21bdc1600b0884a3ab9fa9aa485b8
//! https://gist.github.com/karlseguin/53bb8ebf945b20aa0b7472d9d30de801
//! 非同期版 tcp echo server
const std = @import("std");
const net = std.net;
const os = std.os;
const mem = std.mem;
const log = std.log;
@voluntas
voluntas / takeshiba_webmeeting.rst
Last active February 15, 2024 13:00
WebRTC SFU Sora の紹介と WebRTC と WebTransport の現状について
-module(benchmark).
-export([main/0]).
%% 1100 バイト中 1000 バイトを暗号化する
%% AES-128-CTR + HMAC-SHA1 はお尻に 10 バイトつけるので 1110 バイトになる
%% AES-128-GCM はお尻に 16 バイトつけるので 1116 バイトになる
%% TODO: IV は固定ではなく SeqNum にすべき
@voluntas
voluntas / sora_cloud.md
Last active January 4, 2025 12:07
時雨堂 Sora Cloud 開発ログ
@voluntas
voluntas / shiguredo_kohaku.rst
Last active August 23, 2023 03:12
時雨堂 WebRTC Stats Collector Kohaku 開発ログ
@voluntas
voluntas / webrtc_turn.rst
Last active March 3, 2025 04:11
WebRTC で利用されいる TURN プロトコルの解説

WebRTC で利用されいる TURN プロトコルの解説

日時:2021-01-29
作:@voluntas
バージョン:2021.2
url:https://voluntas.github.io/

@voluntas
voluntas / shiguredo_model.rst
Last active December 26, 2023 21:46
時雨堂を支えるビジネスモデル

時雨堂を支えるビジネスモデル

更新:2023-12-08
作者:@voluntas
バージョン:2023.2
URL:https://voluntas.github.io/

タイポなどは Twitter の @voluntas までお願いします。

Mac mini (M1, 2020)

$ openssl speed -evp aes-128-gcm
Doing aes-128-gcm for 3s on 16 size blocks: 31121413 aes-128-gcm's in 3.00s
Doing aes-128-gcm for 3s on 64 size blocks: 8021030 aes-128-gcm's in 3.00s
Doing aes-128-gcm for 3s on 256 size blocks: 1963731 aes-128-gcm's in 3.00s
Doing aes-128-gcm for 3s on 1024 size blocks: 489641 aes-128-gcm's in 3.00s
Doing aes-128-gcm for 3s on 8192 size blocks: 61085 aes-128-gcm's in 3.00s
LibreSSL 2.8.3
@voluntas
voluntas / sora_h265.md
Last active February 19, 2023 09:11
Sora で WebRTC の H.265 を試す

Sora で WebRTC の H.265 を試す

前提

Sora Labo の使い方は把握している前提の資料です