个人简介

Echo Blog


江湖无名 安心练剑
  • memgraph-04-replication Memgraph 中的复制原理
    Memgraph 中的复制原理 在生产环境中,确保数据和操作的连续可用性非常关键,而这可以通过多种方式实现。 在 Memgraph 中,采用了 复制(Replication) 机制作为解决方案。 分布式系统理论中的 CAP 定理(又称 Brewer 定理)指出,任何分布式系统在以下三个属性中最多只能同时保证两个: 一致性(Consistency, C) — 在给定时间点,所有节...
    2026-01-16 13:01:55 | Database
  • docker memgraph Clustering 如何实现集群?
    集群(Clustering) 在集群配置中运行 Memgraph 可以提高任何图数据库应用的 弹性(resilience)、容错性(fault-tolerance) 以及 可用性(uptime)。 通过部署多个 Memgraph 实例,你可以确保在某些故障发生时系统仍然可以连续可用。 Memgraph 通过两个主要功能支持集群: 复制(Replication) —— 在 Mem...
    2026-01-16 13:01:55 | Database
  • docker memgraph 镜像本地如何启动?(公司内部断网的情况下,如何加载镜像文件)
    直接启动 docker run -p 7687:7687 -p 7444:7444 --name memgraph memgraph/memgraph-mage 核心镜像 Core images Image Includes memgraph/memgraph-mage Memgraph DB + CLI + MAGE library memgraph/memgraph Memgra...
    2026-01-16 13:01:55 | Database
  • 如何使用 k8s 启动下载 docker memgraph 镜像?
    直接启动 docker run -p 7687:7687 -p 7444:7444 --name memgraph memgraph/memgraph-mage 核心镜像 Core images Image Includes memgraph/memgraph-mage Memgraph DB + CLI + MAGE library memgraph/memgraph Memgra...
    2026-01-16 13:01:55 | Database
  • GLM 4.7 如何在 claude-code 结合使用?
    前提条件: 您需要安装 Node.js 18 或更新版本环境 Windows 用户还需安装 Git for Windows 安装 claude code npm install -g @anthropic-ai/claude-code 版本验证 >claude --version 2.1.4 (Claude Code) 配置 GLM Coding Plan 1) 注...
    2026-01-05 13:01:55 | AI
  • Tree-sitter 文档-24-Playground 交互式测试环境
    Playground tree-sitter playground 命令允许你启动一个本地 Playground(交互式测试环境),用于以交互方式测试你的解析器。 tree-sitter playground [OPTIONS] 别名: play pg web-ui 前提条件 要使用 Playground,你必须已经将解析器构建为 Wasm 模块。 可以通过以下命令完成...
    2026-01-05 13:01:55 | AST
  • Tree-sitter 文档-23-贡献(Contributing)
    贡献(Contributing) Tree-sitter 是一个开源项目,欢迎社区贡献。 在提交贡献之前,请确保你的改动符合项目目标,并遵循已有的代码结构与设计原则。 (GitHub) 报告问题(Reporting Issues) 如果你发现 bug 或存在改进建议,应: 在 GitHub 上搜索现有 issue,确认问题尚未被报告。 若不存在相关 issue,则创建...
    2026-01-05 13:01:55 | AST
  • Tree-sitter 文档-22-实现(Implementation)
    实现(Implementation) Tree-sitter 由两个组件组成: 一个 C 库(libtree-sitter) 一个命令行工具(tree-sitter CLI) libtree-sitter 库与 CLI 生成的解析器配合使用,用于: 从源代码生成语法树 在源代码发生变化时保持语法树为最新状态 libtree-sitter 被设计为可嵌入到应用...
    2026-01-05 13:01:55 | AST