Skip to content

Instantly share code, notes, and snippets.

View Isaac-DeFrain's full-sized avatar
🦀

Quantifier Isaac-DeFrain

🦀
View GitHub Profile
@niklaskorz
niklaskorz / goroutines.go
Last active May 5, 2023 09:51
Threading Performance Comparison
package main
import (
"fmt"
"os"
"runtime"
"sync"
"time"
)
@johnliu55tw
johnliu55tw / asyncio_socket_server.py
Last active June 25, 2024 07:53
Python asyncio socket server template
import asyncio
import logging
# XXX: REMOVE THIS LINE IN PRODUCTION!
logging.basicConfig(format='%(asctime)s %(lineno)d %(levelname)s:%(message)s', level=logging.DEBUG)
logger = logging.getLogger(__name__)
# Connected client records
clients = dict()
@zelig
zelig / p2ptesting.md
Last active March 1, 2024 12:46
p2p network similation, testing and monitoring framework