memc-rs (@memc_rs) header
memc-rs (@memc_rs) profile picture

memc-rs is a key-value in memory cache written in Rust compatible with Memcached.

Poland
Joined September 2021
memc-rs is a general purpose distributed memory caching system written in Rust compatible with Memcached. Pre-alpha version available to download: memc.rs Github: github.com/memc-rs/memc-rs #rustlang #memcache #memcached
2
18
1
85
Tag: memcrsd-0.0.1l 🔧 Major change Separated options/configs for Moka and DashMap – users can now configure each cache backend independently. ✨ Other noteworthy updates Config parsing improvements & README help section updated. Dependencies bumped (including bytes due to CVE).
29
As a Rust engineer, please learn: --- Foundation (Beginner → Competent) The fundamentals that separate “I can write Rust” from “I understand Rust.” - Core Language - Ownership, Borrowing, Lifetimes (the real entry exam) - Result, Option, pattern matching - Slices, strings, references, iterators - Traits & generics (parametric polymorphism) - Error handling (thiserror, anyhow) - Cargo workspaces & dependency management Mental Models - Move semantics vs Copy semantics - Zero-cost abstractions - Stack vs heap & how Rust allocates - Why Rust is not like C++, Go, or Python Must-Learn Tools - cargo test, cargo bench, cargo fmt, clippy - rust-analyzer --- Architecture (Intermediate → Solid Engineer) - Systems Patterns - Traits as interfaces - ZST strategy types & compile-time polymorphism - Phantom types for type-level invariants - Smart pointers (Arc, Rc, Weak, RefCell) - Concurrency primitives (Mutex, RwLock, channels) - Async Rust (tokio, async-std, executors) Memory & Performance - Profiling (perf, flamegraph, cargo profiler) - Allocation patterns (Box, arenas, bump allocators) - Minimizing clones - Struct-of-arrays vs Array-of-structs - Cache friendliness Async & Networking - tokio::spawn, cancellation, backpressure - Streams, pinning, async lifetimes - Building servers with axum, warp, hyper --- Advanced (Production-Grade Rust Engineer) This is where Rust becomes a superpower. - Advanced Type System - Higher-ranked trait bounds (HRTBs) - GATs (generic associated types) - Advanced lifetimes & variance - Type-state programming - Custom derives & procedural macros Unsafe & FFI - Safe wrappers around unsafe code - Writing bindings to C/C++, Python, Zig - Understanding UB, aliasing rules, and memory models Data Structures - Lock-free structures - Custom allocators - Building your own iterator adaptors - Arena allocators for high-performance workloads Concurrency & Parallelism - Work-stealing runtimes - Custom executors - Actor models (e.g., building your own mini-Actix) --- Production (Deploying Rust in Real Systems) Most engineers fail here — Rust doesn’t forgive sloppy production design. - Engineering Practices - Deterministic error handling - Observability (OpenTelemetry, tracing spans) - Feature flags - CI/CD checks (fmt, clippy, tests, benches, docs) - Load testing & regression benchmarking System Design with Rust - Building high-throughput services (100k–1M RPS) - Understanding Linux syscalls & epoll - Backpressure handling - Graceful shutdown & cancellation - Horizontal scaling architecture Security & Safety - Memory-safe FFI boundaries - Sandboxing & capability-based design - Auditing unsafe blocks --- Frameworks & Ecosystem - Web → Axum, Hyper, Actix - DB → sqlx, SeaORM, SurrealDB client - Messaging → Kafka, NATS, MQTT clients - Agents/RAG →Ollama bindings, Candle, Burn
As an AI engineer. Please learn: Foundation: - Vector Databases (Pinecone, Weaviate, Qdrant) - Embedding models & similarity search - Prompt Engineering & Chain-of-Thought - LLM Evaluation metrics - Token optimization & cost management Architecture: - RAG patterns (naive, advanced, hybrid) - Agentic AI (ReAct, tool use, planning) - Multi-agent orchestration - MCP & standardized protocols - Memory persistence (vector + conversational) - Streaming & async patterns Production: - Model Fine-tuning (LoRA, QLoRA) - Function calling & structured outputs - Guardrails & safety systems - Production monitoring & observability - Cost optimization at scale Frameworks: - Agent frameworks (LangChain, LlamaIndex, CrewAI) - OpenAI Assistants API / Claude Computer Use Stop jumping from OpenAI to Claude to Gemini to Llama. Bookmark this for AI Learning roadmap. Pick one API. Build something real. The prompt patterns are 90% the same. The job market wants people who can ship production AI systems, not switch models.
22
100
12
970
113,838
Not all safe Rust code is equally safe. Here's what that means and why I argue that Rust has a spectrum of safety rather than one that's binary as indicated by the unsafe keyword. Notes from "Pointer Poker" and more: Levels of safety beyond the safe/unsafe dichotomy patreon.com/posts/145552268
3
3
25
3,389
memcrsd release 0.0.1i * Implemented graceful shutdown with cancellation tokens * Major data race fixes in storage commands (incr, decr, append, prepend, replace) * Many more, see release notes: github.com/memc-rs/memc-rs/r…
11
Hey! This time tomorrow, I've hosting a live Rust Programming Q&A session on my YouTube channel youtu.be/lt13G3oSVSE
2
4
1
44
Rust's ecosystem of static analyzers and verifiers are one of its hidden benefits github.com/newca12/awesome-r…
1
25
2
192
vectordotdev / vector: A high-performance observability data pipeline. ★11571 github.com/vectordotdev/vect…
3
7
This Month in hyper - October 2022 #rustlang seanmonstar.com/post/6997445…
5
10
memcrsd-0.0.1e release Release 0.0.1e allows switching between 2 different runtime: - current - creates a runtime with current thread scheduler, - multi - create a runtime with multi-thread scheduler docker pull memcrs/memc-rs:latest github.com/memc-rs/memc-rs/r…
We're thrilled to announce the release of Rust 1.64.0, featuring the IntoFuture trait, C-compatible types in libcore and liballoc, and many more changes! Check out the highlights on our blog: blog.rust-lang.org/2022/09/2…
17
197
31
809
This photo I took turned out unexpectedly cool—you can see the turbulent hot air from the jet engine in front of the moon
32
307
10
5,217
memc-rs retweeted
Rust is the fastest growing language on GitHub, and GitHub’s supply chain security features now help keep your Rust projects secure 🔒 github.co/3tiGH9E
5
87
14
289
0.0.1b version released contains only dependencies updates: github.com/memc-rs/memc-rs/r… hub.docker.com/repository/do…
Rust is hard, or: The misery of mainstream programming hirrolot.github.io/posts/rus…
3
14
zeromq / zmq.rs: A native implementation of ØMQ in Rust ★710 github.com/zeromq/zmq.rs
8
1
17