Ex Snapp! Senior Software Engineer
فوق لیسانس هوش مصنوعی از دانشگاه تهران
اشتراک محتوا در مورد مهندسی نرم افزار، ایجنت های هوش مصنوعی
https://gocasts.ir
پروفایل
https://www.linkedin.com/in/gohossein
ارتباط
@lifography
Ai for Software
@aicasts_ir
Post #710
4.17K
ابزار VictoriaMetrics یه ابزار سریع و مقیاس پذیر برای مانیتورینگ و مدیریت time-series data هست که در توسعه ش خیلی به مساله performance و reliability اهمیت دادن.
حالا یکی از توسعه دهندگانش توصیه کرده که اگه میخواید بدونید سیستم های high performance چطوری با گولنگ توسعه داده میشن کد پروژه VictoriaLogs رو بخونید.
If you want to know how high performance systems written in Go were built, read VictoriaLogs.
1. Custom bloom filters to reduce disk I/O and CPU cycles for redundant logs.
2. Column-oriented block storage for better compression ratio and cache locality.
3. Memory-mapped files with automatic pread fallback for zero-copy reads.
4. Lock-free object pools and arena allocators to reduce heap allocations.
5. Reflection-free JSON parsers for streaming at hundreds of MB/s per core.
6. Compile-time templates replace text/html parsing with near-printf speed.
7. Dictionary-aware Zstd compression balancing CPU cost against bandwidth savings.
8. Multi-core parallelism everywhere with adaptive concurrency limits.
9. Scatter-gather fan-out writes with adaptive concurrency for network saturation.
10. Fast hashing and lock-free randomization for minimal contention.
VictoriaLogs
Fast and easy to use database for logs, which can efficiently handle terabytes of logs
https://github.com/VictoriaMetrics/VictoriaLogs
https://x.com/func25/status/1950115605484552333?t=nlInVX9hO2aYSQa_gRZoog&s=35
@gocasts
حالا یکی از توسعه دهندگانش توصیه کرده که اگه میخواید بدونید سیستم های high performance چطوری با گولنگ توسعه داده میشن کد پروژه VictoriaLogs رو بخونید.
If you want to know how high performance systems written in Go were built, read VictoriaLogs.
1. Custom bloom filters to reduce disk I/O and CPU cycles for redundant logs.
2. Column-oriented block storage for better compression ratio and cache locality.
3. Memory-mapped files with automatic pread fallback for zero-copy reads.
4. Lock-free object pools and arena allocators to reduce heap allocations.
5. Reflection-free JSON parsers for streaming at hundreds of MB/s per core.
6. Compile-time templates replace text/html parsing with near-printf speed.
7. Dictionary-aware Zstd compression balancing CPU cost against bandwidth savings.
8. Multi-core parallelism everywhere with adaptive concurrency limits.
9. Scatter-gather fan-out writes with adaptive concurrency for network saturation.
10. Fast hashing and lock-free randomization for minimal contention.
VictoriaLogs
Fast and easy to use database for logs, which can efficiently handle terabytes of logs
https://github.com/VictoriaMetrics/VictoriaLogs
https://x.com/func25/status/1950115605484552333?t=nlInVX9hO2aYSQa_gRZoog&s=35
@gocasts
- 👍 21
- 👏 1











