- 浏览: 266508 次
- 性别:
- 来自: 上海
-
文章分类
- 全部博客 (298)
- 工作感悟 (6)
- java基础 (23)
- 计算机硬件知识 (1)
- 计算机网络知识 (2)
- Struts (3)
- Srping (4)
- hibernate (0)
- ibatis (0)
- webservice (4)
- Thread (22)
- maven (5)
- ubuntu/linux/centos/redhat (46)
- SSO (1)
- ESB (0)
- 工作流 (0)
- oracle (15)
- 云计算 (1)
- hadoop (1)
- nosql (0)
- mysql (3)
- sqlserver (0)
- jquery (0)
- 分布式 (3)
- 集群 (0)
- 设计模式 (2)
- EJB (0)
- map (0)
- cache (5)
- Niginx+varnish+squid+Ats (14)
- Apache (0)
- 工作/职业规划 (0)
- Scala & Groovy (1)
- English (4)
- 数据结构/算法 (6)
- 开发工具 (5)
- 测试 (2)
- Exception (0)
- 定时器 (3)
- j2ee (2)
- 部署 (1)
- Openssl (1)
- 操作系统 (3)
- kvm (13)
- libvirt (5)
- PostgreSql (5)
- 虚拟化 (3)
- 概念理解 (1)
- virt-manager (1)
- RESTful (3)
- 其它 (4)
- ssh2 (14)
- windows (1)
- 房产 (2)
- svn (1)
- 手机 (1)
- ant (1)
- flume (2)
- sqoop (1)
- fastdfs (5)
- log4j (1)
- SPDY (1)
- mongodb (2)
- MQ (2)
- Mina (1)
- dubbo (4)
- PMP (1)
- Webshpere (2)
- jvm (1)
- Btrace (1)
- zookeeper (7)
- UML (1)
- spring cloud (6)
- spring boot (5)
- storm (0)
- 软件管理 (1)
- elasticsearch (1)
- 协议 (2)
- docker (1)
- 性能 (2)
- 安全 (1)
- 代码规范 (1)
- mqtt (1)
- lombok (1)
- 车联网 (1)
- kafka (1)
最新评论
# is this config file disabled
# false for enabled
# true for disabled
disabled=false
#当前配置文件是否不可用false可用,true不可用
# the name of the group this storage server belongs to
group_name=group1
#当前storage服务器处于哪个组group1组名
# bind an address of this host
# empty for bind all addresses of this host
bind_addr=
#绑定哪个IP地址,一个服务器上会有多个网卡,多个地址,具体使用哪个
# if bind an address of this host when connect to other servers
# (this storage server as a client)
# true for binding the address configed by above parameter: "bind_addr"
# false for binding any address of this host
client_bind=true
#bind_addr绑定IP后此参数才有用
#本storage server作为client连接其他服务器(如tracker server、其他storage server),是否绑定bind_addr。
# the storage server port
port=23000
#storage server的端口
# connect timeout in seconds
# default value is 30s
connect_timeout=30
#连接超时时间,单位秒
# network timeout in seconds
# default value is 30s
network_timeout=60
#网络超时时间,单位秒
#发送或接收数据时,如果在超时时间后还不能发送或接收数据,则本次网络通信失败。
# heart beat interval in seconds
heart_beat_interval=30
#心跳包发送周期,单位秒
# disk usage report interval in seconds
stat_report_interval=60
#storage server向tracker server报告磁盘剩余空间的时间间隔,单位为秒。
# the base path to store data and log files
base_path=/home/fdfs
#文件及日志保存路径
# max concurrent connections the server supported
# default value is 256
# more max_connections means more memory will be used
max_connections=256
#最大连接数
# the buff size to recv / send data
# this parameter must more than 8KB
# default value is 64KB
# since V2.00
buff_size = 256KB
#缓冲区大小
# work thread count, should <= max_connections
# work thread deal network io
# default value is 4
# since V2.00
work_threads=4
#工作线程数
# if disk read / write separated
## false for mixed read and write
## true for separated read and write
# default value is true
# since V2.00
disk_rw_separated = true
#磁盘IO读写是否分离,缺省是分离的。
# disk reader thread count per store base path
# for mixed read / write, this parameter can be 0
# default value is 1
# since V2.00
disk_reader_threads = 1
#针对单个存储路径的读线程数,缺省值为1。
#读写分离时,系统中的读线程数 = disk_reader_threads * store_path_count
#读写混合时,系统中的读写线程数 = (disk_reader_threads + disk_writer_threads) * store_path_count
# disk writer thread count per store base path
# for mixed read / write, this parameter can be 0
# default value is 1
# since V2.00
disk_writer_threads = 1
#针对单个存储路径的写线程数,缺省值为1。
#读写分离时,系统中的写线程数 = disk_writer_threads * store_path_count
#读写混合时,系统中的读写线程数 = (disk_reader_threads + disk_writer_threads) * store_path_count
# when no entry to sync, try read binlog again after X milliseconds
# must > 0, default value is 200ms
sync_wait_msec=50
#同步文件时,如果从binlog中没有读到要同步的文件,休眠N毫秒后重新读取。0表示不休眠,立即再次尝试读取。
#出于CPU消耗考虑,不建议设置为0。如何希望同步尽可能快一些,可以将本参数设置得小一些,比如设置为10ms
# after sync a file, usleep milliseconds
# 0 for sync successively (never call usleep)
sync_interval=0
#同步上一个文件后,再同步下一个文件的时间间隔,单位为毫秒,0表示不休眠,直接同步下一个文件。
# storage sync start time of a day, time format: Hour:Minute
# Hour from 0 to 23, Minute from 0 to 59
sync_start_time=00:00
#同步开始时间
# storage sync end time of a day, time format: Hour:Minute
# Hour from 0 to 23, Minute from 0 to 59
sync_end_time=23:59
#同步结束时间
# write to the mark file after sync N files
# default value is 500
write_mark_file_freq=500
#同步完N个文件后,把storage的mark文件同步到磁盘
# path(disk or mount point) count, default value is 1
store_path_count=1
#存放文件时storage server支持多个路径(例如磁盘)。这里配置存放文件的基路径数目,通常只配一个目录。
# store_path#, based 0, if store_path0 not exists, it's value is base_path
# the paths must be exist
store_path0=/home/fdfs
#store_path1=/home/yuqing/fastdfs2
#逐一配置store_path个路径,索引号基于0。注意配置方法后面有0,1,2 ......,需要配置0到store_path - 1。
#如果不配置base_path0,那边它就和base_path对应的路径一样。
# subdir_count * subdir_count directories will be auto created under each
# store_path (disk), value can be 1 to 256, default value is 256
subdir_count_per_path=256
#FastDFS存储文件时,采用了两级目录。这里配置存放文件的目录个数 (系统的存储机制,大家看看文件存储的目录就知道了)
#如果本参数只为N(如:256),那么storage server在初次运行时,会自动创建 N * N 个存放文件的子目录。
发表评论
-
FastDFS原理系列文章
2017-07-07 11:16 1002一、概述 FastDF ... -
fastdfs + ngix + ngx-cache-purge + fdfs-ngix-module配置文件
2014-06-24 13:59 14511.ngix+cache配置文件 #user nob ... -
nginx的FastDFS分布式存储模块测试方法
2014-06-19 14:52 1322再回过头来看FastDFS更新很快,还看到fastdfs-ng ... -
FastDFS 启动 重启 退出 测试 上传 下载 删除
2014-06-03 10:56 2525tracker server 启动和重启 [root@fed ...
相关推荐
《FastDFS Storage端配置文件详解及启动注意事项》 FastDFS是一款开源的高性能、轻量级的分布式文件系统,主要用于解决大容量存储和负载均衡的问题。本文将深入解析FastDFS的Storage端配置文件`storage.conf`,并...
《FastDFS配置文件详解》 FastDFS是一款开源的高性能、轻量级的分布式文件系统,主要解决大容量存储和负载均衡的问题。配置文件是FastDFS系统运行的核心,它定义了系统的运行方式和行为。本文将深入解析FastDFS的...
下面将详细解释FastDFS的三个主要配置文件:`storage.conf`、`tracker.conf`和`client.conf`。 **1. `storage.conf`** `storage.conf`是FastDFS中存储节点的配置文件,用于设置存储服务器的相关参数。以下是一些...
FastDFS配置文件详解 FastDFS是一个开源的分布式文件系统,用于解决大规模文件存储和管理问题。 FastDFS的配置文件是tracker.conf,下面是对tracker.conf文件的详细解释。 首先是disabled配置项,这个配置项决定了...
在本文中,我们将深入探讨FastDFS的两个核心配置文件——`tracker.conf`和`storage.conf`,以及它们在FastDFS架构中的作用。 1. **Tracker Server配置(tracker.conf)** `tracker.conf`是FastDFS的跟踪服务器配置...
《FastDFS配置文件详解》 FastDFS是一款开源的高性能、轻量级的分布式文件系统,主要解决大容量存储和负载均衡的问题。本文将详细解析FastDFS的配置文件,特别是`tracker.conf`和与存储服务器相关的数据文件`...
### 分布式文件系统FastDFS配置参数详解:存储器配置(storage.conf) #### 一、配置文件概述 FastDFS是一款开源的分布式文件系统,广泛应用于互联网领域的文件存储场景。其核心设计思想在于解决大规模文件存储...
FastDFS配置详解 FastDFS是一款开源的分布式文件系统,提供了高性能、可靠的文件存储和管理解决方案。在FastDFS中,tracker.conf文件是核心配置文件,用于配置tracker server的行为。在本文中,我们将对tracker....
### 分布式文件系统FastDFS客户端配置参数详解 #### 一、概述 FastDFS是一款开源的分布式文件系统,主要用于海量文件存储与管理场景。本文档将详细介绍FastDFS客户端配置文件(client.conf)中的各项配置参数及其含义...
### 分布式文件系统FastDFS配置参数详解:跟踪器配置(tracker.conf) #### 概述 FastDFS是一款轻量级的分布式文件系统,主要用于解决大量文件的存储与管理问题,尤其是在高并发环境下表现出色。FastDFS的核心组件...
### FastDFS安装与配置详解 #### 一、FastDFS简介 FastDFS是一个高效的分布式文件系统,主要用于海量数据存储,能够实现文件的快速存取。它由淘宝的技术团队开发,主要适用于互联网环境下大流量高并发的场景。...
【FastDFS安装详解】 FastDFS是一款开源的高性能、轻量级的分布式文件系统,它对文件进行管理,包括文件存储、文件同步、文件访问(文件上传、文件下载)等功能,解决了大容量存储和负载均衡的问题。在本安装教程中...
### fastDfs的详解与安装 #### 一、概述 FastDFS是一款开源的分布式文件系统,主要用于解决海量数据存储的问题,特别适用于图片、视频等大文件的存储与管理。它支持高并发操作,并且能够自动负载均衡。在本文中,...
【FASTDFS配置详解】 FASTDFS是一款开源的高性能、轻量级的分布式文件系统,主要用于解决海量数据存储和负载均衡的问题。它将文件存储和文件访问(文件上传、下载)等功能分离,提供高可用性和高扩展性。FASTDFS...
### 虚拟机FastDFS配置静态IP的知识点详解 #### 一、FastDFS简介 FastDFS是一款开源的轻量级分布式文件系统,主要应用于互联网环境下大规模文件存储场景。它支持高并发、高性能以及可扩展性,适用于图片、视频等大...
### FastDFS 安装与配置知识点详解 #### 一、FastDFS 概述 FastDFS 是一款开源的高性能分布式文件系统,主要用于解决大规模文件存储的需求,尤其适用于中小文件(建议大小在4KB到500MB之间)的在线服务场景。它通过...
**FastDFS配置安装详解** FastDFS是一款开源的高性能、轻量级的分布式文件系统,它对文件进行管理,包括文件存储、文件同步、文件访问(文件上传、文件下载)等功能,解决了大容量存储和负载均衡的问题。在互联网...
《FastDFS集群与Http访问部署详解》涉及到的关键技术主要包括FastDFS分布式文件系统、Nginx反向代理服务器以及集群和HTTP访问的配置。FastDFS是一个开源的高性能、轻量级的分布式文件系统,主要解决大容量存储和负载...