Redis这个Nosql的存储系统一般会被部署到linux系统中,我们可以把它当成是一个数据服务器,对于并发理大时,我们会使用多台服务器充当Redis服务器,这时,各个Redis之间也是分布式的,而Redis与WWW之间也是一种分布式,对于各个redis之间的分布式不需要我们去干预,它是由我们的redis客户端去负责链接的,你当时链到哪台服务器,完全由客户端去控制,redis这种模式我们通常称为“主从模式”,即一个主服务器,主要负责写入数据,多台从服务器,负责数据的读取,而它们之前的数据同步,也是redis自已为我们实现的,我们不需要去干预它,这种模式通常会称为“多级服务器集群架构”,它大大改善了程序的性能!
下面我们分别开启主redis和从redis,如图
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqoAAABlCAIAAAAKxlZ1AAAPzklEQVR4nO2dS4LcOA5E82h9tD6alr3sRd+nZzFTHlkkAgGSyh/fW6koMBAAKdF2Vboe//z917///vvP33/98/dff/755x9//PEAAACA74bjHwAAYDs4/gEAALaD4x8AAGA7OP4BAAC2g+MfAABgOzj+AQAAtoPjHwAAYDui4/848WRLUV7fzFrb83725CP69qpNDgDwYrrH//mF6Lwcl78954+NO/4EcGuKr+TN+/bLyftYAgB4Eu3xf3kVdr+8vCuXvz2XCC50xfEwxpv37c3tAQDcSHr8X4j+sTT6M0H3b1fHie6UgXjh9n38dO2ZOpH/6Lqqk5o09R/v2rco3skIAPBtVI9/gXi9RkeIcx3pp/Ei7Jl+jh5jeVf57+oIVuXVZqJ4MX3+2uwAAMC3sfD4f8jvFLRHyOXNWz02orB39pMqCD/af+TZ10l9vknfomDHQ7cPZl4AgK9iyff+zwy8/RdO1OOv9RPhn0mpjdTzEoda5O6+VfMKP9U+AAB8D9Wf/D9+EJq/AoaPK+fY0PH+wfMcPy0DeSPZ44Tjx7EXWZ3xn5pp4/26FvYTAOD7uelz/8fviLvd8Ufvrd3O0jpm0if4iUjzHs1ZFYn7da0y6fh/TPfN74+uN7r2+wAA8FXwv/4BAABsB8c/AADAdnD8AwAAbAfHPwAAwHZw/AMAAGwHxz8AAMB2cPwDAABs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U2+BHgk8n7ztfilTAHP96O6eB5gZ8VUTLDKGBjVfGFPtN4UuqO/jPxuM9ApzdYXdNUnKE00QbbFh1xf6Jre6tt201BepgB+8fFpvHAKqi31H9clG3jEp9MakaESWrHbX8aUuJlLPxZXjyI9xm5M0AYv7eizbpEPJ2SPk58aqbbdmRV/9MpTJ+Z64btks9SWGMKMOPeavSnYd6d1fYTiZOuGClsklFr1JsGA66CaXbeebur1XWsjs9PFM+x8OAnN5YrWHqQ0uwp12ey5Ln91JHjfGd4HaaWUvdIqnkb62tTMFKk4VXBwIx7K41Pm4ONMX2urhHQAU4i//huurh8fKn/aV7gnPEJ4kupq/5fdS1eCfge/3XcTowiXZ1oHOSNMtp4kJdRI83w4qt8gvhSpVbKHSeleNxcB3wRRH5S89e7Q2SjUavCZvxHiXBz3O6RfqIswA+fsWem2p+oD24KNwZbimzg0nif1hX2ifPy/tP4m8bFy9C/3CeEuKIXtBBfjg5+IcSh/ywTYh908AshhBAboYNfCCGE2Agd/EIIIcRG6OAXQgghNkIHvxBCCLEROviFEEKIjdDBL4QQQmyEDn4hhBBiI3TwCyGEEBuhg18IIYTYCB38QgghxEbo4BdCCCE2Qge/EEIIsRH//v07A15tTQghhBCr0cEvhBBCbIQOfiGEEGIjdPALIYQQG6EP9wkhhBAboYNfCCGE2Agd/EIIIcRG6OAXQggh9uF/gW0XSKGzUTMAAAAASUVORK5CYII=" alt="" />
对于配置从服务器,我们主要设置port,bind和slaveof这三个参数就可以了,port是端口,bind是从服务器的ip地址,slaveof是主服务器的地址和端口,代码如下
port
bind 127.0.0.1
slaveof 127.0.0.1
实例:在主服务器写入一个字符串,在从服务器读取字符串
首先对redisConfig进行相关配置,我加了一些说明
/// <summary>
/// redis主要信息的配置参数
/// </summary>
public sealed class RedisConfigInfo : ConfigurationSection
{
public static RedisConfigInfo GetConfig()
{
RedisConfigInfo section = (RedisConfigInfo)ConfigurationManager.GetSection("RedisConfig");
return section;
} public static RedisConfigInfo GetConfig(string sectionName)
{
RedisConfigInfo section = (RedisConfigInfo)ConfigurationManager.GetSection("RedisConfig");
if (section == null)
throw new ConfigurationErrorsException("Section " + sectionName + " is not found.");
return section;
}
/// <summary>
/// 负责写入的Redis链接地址,一般为一个服务器,我们称为主服务器
/// </summary>
[ConfigurationProperty("WriteServerList", IsRequired = false)]
public string WriteServerList
{
get
{
return (string)base["WriteServerList"];
}
set
{
base["WriteServerList"] = value;
}
} /// <summary>
/// 负责读的Redis链接地址,它一般由多个服务器组件,一般称为从服务器(slave),各个服务器之间用逗号分开
/// </summary>
[ConfigurationProperty("ReadServerList", IsRequired = false)]
public string ReadServerList
{
get
{
return (string)base["ReadServerList"];
}
set
{
base["ReadServerList"] = value;
}
} /// <summary>
/// 最大写链接数
/// </summary>
[ConfigurationProperty("MaxWritePoolSize", IsRequired = false, DefaultValue = )]
public int MaxWritePoolSize
{
get
{
int _maxWritePoolSize = (int)base["MaxWritePoolSize"];
return _maxWritePoolSize > ? _maxWritePoolSize : ;
}
set
{
base["MaxWritePoolSize"] = value;
}
} /// <summary>
/// 最大读链接数
/// </summary>
[ConfigurationProperty("MaxReadPoolSize", IsRequired = false, DefaultValue = )]
public int MaxReadPoolSize
{
get
{
int _maxReadPoolSize = (int)base["MaxReadPoolSize"];
return _maxReadPoolSize > ? _maxReadPoolSize : ;
}
set
{
base["MaxReadPoolSize"] = value;
}
} /// <summary>
/// 自动重启
/// </summary>
[ConfigurationProperty("AutoStart", IsRequired = false, DefaultValue = true)]
public bool AutoStart
{
get
{
return (bool)base["AutoStart"];
}
set
{
base["AutoStart"] = value;
}
} /// <summary>
/// 本地缓存到期时间(超时时间),单位:秒
/// </summary>
[ConfigurationProperty("LocalCacheTime", IsRequired = false, DefaultValue = )]
public int LocalCacheTime
{
get
{
return (int)base["LocalCacheTime"];
}
set
{
base["LocalCacheTime"] = value;
}
} /// <summary>
/// 是否记录日志,该设置仅用于排查redis运行时出现的问题,如redis工作正常,请关闭该项
/// </summary>
[ConfigurationProperty("RecordeLog", IsRequired = false, DefaultValue = false)]
public bool RecordeLog
{
get
{
return (bool)base["RecordeLog"];
}
set
{
base["RecordeLog"] = value;
}
} }
而配置文件中,我们可以把redis读服务器和写服务器进行配置,多个服务器使用逗号分开(redis本身就是支持读写分离的)
<RedisConfig WriteServerList="192.168.2.71:6379" ReadServerList="192.168.2.71:6379,192.168.2.71:6380" MaxWritePoolSize="" MaxReadPoolSize="" AutoStart="true" LocalCacheTime="" RecordeLog="false">
</RedisConfig>
下面我们向主服务器加个对象
using (var test = redisClient.GetTypedClient<string>())
{
test.Lists["Test"].Add("信息被添加"); }
当没有调用save方法时,对象只存储在内存中,数据不会被同步到从服务器,而调用了save方法后,数据才会被同步到各个从服务器中。
下面我们添加了这个save方法之后,在从服务器上就会有信息同步了
using (var redisClient = RedisManager.GetClient())
{
using (var test = redisClient.GetTypedClient<string>())
{ test.Lists["bobo"].Add("info");
test.Save();
}
}
如图所示
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtsAAABXCAIAAABa/x51AAAgAElEQVR4nO2dZ3Qb17Xv9dl5dvLyct99K7m5zs2y4yTOzc2LX3Kd2ImdOLZlW66yJcuyZVuyLFu9d9GiKIlN7GIvYhcpsXeKTaRIsFewACRAECQqiV4GwAyA8z5ARCiAAAd1QGn/1iwtaDA4s/9zMHv/z5nBcMP4SI9lQQAAAAAAABSxARwJAAAAAACUA44EAAAAAADqAUcCAAAAAAD1uONIHntq70O8+O5YAwAAAADgCHAk4EgAAAAAgHr84Ui+9/S+4Cshl77bv/ObUy+9ffrffn/w8V/so9x5gCMBAAAAgMDBT46ksiJJKy4eaPx6uPXQ7HDE9FDsndrY64lRh0+Fbtp27ld/Ofr9X+6n3IuAIwEAAAAAqvCTI6koTTKra43K6ume80NN3zBoB+eHDi9OnZKxLiq5MXJuytJs2sC9zLyCtEthsV/svfSH10786NmD4EgAAAAA4BHBT/eRlJdcN6trzOoyM9bEo0cP1H9Fb93N6jnAHzshmb4gZ4co50JV3Ej1Qoyan6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AUcAwC8gGMAgBdwDADw8j/vWyVdEm/U/gAAAABJRU5ErkJggg==" alt="" />
对于装有防火墙的服务器来说,当然要把对应的端口开放一下,否则客户端也是不能链接上的,呵呵
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoMAAAB5CAIAAADNmryPAAAbZUlEQVR4nO2dSZImN46F/cw8ge4BMx1DC6z6ALXEXntudATvBSeABAf/IyK9Svk+k3VF+ECC4wNAj+zrBgAAAMB7XG8bAAAAAPzWQIkBAACAN4ESAwAAAG8CJQYAAADeBEoMAAAAvAmUGAAAAHgTX4n/DwAAAAC/BMTEAAAAwJtAiQEAAIA3gRIDAAAAbwIlBgAAAN4ESgwAAAC8CZQYAAAAeBMoMQAAAPAmUGIAAADgTaDEAAAAwJtAiQEAAIA3gRIDAAAAbwIlBgAAAN4ESgwAAAC8CZQYAAAAeBMoMQAAAPAmUGIAAADgTaDEAAAAwJtAiQEAAIA3+Zco8R/XL2rIWNG66l9j2Ae1/LIee4unDdw+/3ToAQDgkM+3ki9uQ39c16yExfWnryzuuhvr03Iebd+HPZbMeNS99eH6bvff2rDDuz8tRTPj1235ltadNOSDCQMAACf8uBKfa8P2lUMZ/uytbYvS3Uc6sTZs0fBFW7Zmr391r3+m3B84GU/5TCC3Lz7tw5NafqQHIv95hf9E587fpMYr8D+Lu9f1x0V/f0el933ft/zViu0f+4eDrvcv2VT12M7If07W3Z88WLxpyIx5A4fax0r3PWAL2XYR+E34pTHxuXh/y/WnLMqpt8Yf7nlstNjfT+pal9BdnBn2tIrD5zu/ZFvCBzwqdtZRW0mu9p84IqO/8pM9IH95Kpu3chLzq34s8p/mrSQth2I8qfS+7zv+JyzK6e8mTXIE8nvsbPzDYfQJlg2ZGrRroKllaOBBDwhp9Z1YDn5HTncQ1w/dBlJdCYcVHV5/asDH5rm78KJq9+7XZXi84hqwEKGvD9yjtnyR85JdKT2cEmOLxgcedfI3INQqpS5oiv8Jg8DY/X3kaMdfVVrqda4vqpC//KK+ZmeHkK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MAz+XrAx0CnLS8HJ4ML39aoFpdLddlZuSp4G6s7YDpWOq3g0Q+c6TnoJfCebmNjsvbMBUnK5zv2tCriua/zMIEvwLCb288YfJlaWZ4jgv4IfPcBSO25TwC5MnG/mi3PirMT166tVEzqd7zxg7y/dmG2qm/TRqZCSrvxG/cQpv0tqZar4qP9KsfWHr1NnS69LdTTFIDFSxmYMUg6g+i5DMq4KWRk6LS5ItIL/AfBvbN33xtEA/zXgUxIAwL8RKDEAAADwJlBiAAAA4E2gxAAAAMCbQIkBAACAN4ESAwAAAG8CJQYAAADeBEoMAAAAvAmUGAAAAHgTKDEAAADwJlBiAAAA4E2gxAAAAMCbQIkBAACAN4ESAwAAAG8CJQYAAADeBEoMAAAAvAmUGAAAAHiTqRILXYHjLXRd7f85e+RwXYFj/4vQdRFzKLdqERdJ+l8F/n+9AwAAAJVFTCx0hRCukSylQlcgClmvAwuHQBSuJsdC13WRCGnFhhIDAAAADV+JczQbmUIIzEU/I4cmpF2kuwh6ERMDAAAAMyYxsdB1BSJipk6Jc8QbuUbLgaOJiW1K2uqu1vJUBHQZAADAb80iOx2ZOEpRYqW7931HDiRFf68rpbFTrpqp5qeFLhKl2eXBpL5QYgAAAGChxJGJY1bcFPYSc7ABbZJmSaHyqKy7k2YAAADgt2eRnU7xLEk6NSYaNDR/Xn2bqFd/Pp2VOKt0/rHeRUwMAAAATGPiyOEiTvnpchRMnCS3+2YrHQ5358jtAZJyvZNeKDEAAACwPifOX2Dl77DsHwvfTXjtt9HOJ1qXPjlGdhoAAABo4N/YAgAAAN4ESgwAAAC8yf8D564ybkUAywQAAAAASUVORK5CYII=" alt="" />
设置好之事,我们可以在命令行上测试一下从服务器的数据,如图
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAATgAAAA3CAIAAAAXPMFcAAAEOklEQVR4nO2cUZrbMAiEdbQc3UfrQ74mWiFgQIptkvmfVBnDIGk23dhtezwejRByc2hUQgpAoxJSABqVkALQqIQUgEYlpAA0KiEFoF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GAw6vQR0/2fO+UU3rwpQt70RtWOe8gGV53+qFfv/9OHkDfD/5S/mO3a0w9WL/x6CvlZjHd9m/mKljuPvLrVT/ZX7SSuYKRxGpVUwjbqk6lh3EtufHTc/3Fqe7eRXCQh13OaUXvsPFp8Az5UaVTynSC/o24xqp3WyImkQq6uBBNyMYlvfRGjgiY8/oLnd0W60KikEvZz1EPQvE+/wXUyz1SGURdJEnLdtClCbs2FbybZhieEvLn2FUJ+rBECwXd9CSkAjUpIAWhUQgpAoxJyf/4By+a5xEM/I7QAAAAASUVORK5CYII=" alt="" />
在WEB端进行测试
using (var redisClient = RedisManager.GetClient())
{
using (var test = redisClient.GetTypedClient<string>())
{ test.Lists["bobo"].ToList().ForEach(i =>
{
Response.Write(redisClient.Port + " " + i);
Response.Write("<br>");
}); }
}
分别进行刷新之后的结果如图
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAAtCAIAAADdpzWwAAABZklEQVR4nO3Y0W2EMBBFUdc0Ls7lTCNuw1W4COdjBYwxJEuyUqSne34iLGIkbhh2kxIAAAAAAA8MSCCkCEKKSGOM0TznnHO2Uns4zDl7G2M0N9tXbD/JLBwGvZZ1MWp+XAsfktb73vt20NzMWzy9+evc7efP1RbrpviAtCe50ny+56Hjvv7tBtd78jB+XnIrtXoYpIdey3XHKeRy1nTasfn2F2Dh8PXbdnl1PJLcSqltjDjzei2Wcz5PwONZCgO1+dIghty2PDaPT2QYs89nNKIUbuvVExgWppm4PUnmtZZTgPmJ7PeL8wXPcxxPnELeJRm377Z1shLyP6Rp5t297G4n3+Xy2yHPo5WOv5eON2L4QrF9ZZw+0YRgy2eWyfshw4jmBfk3/GdHBCFFEFIEIUUQUgQhRRBSBCFFEFIEIUUQUgQhRRBSBCFFEFIEIUUQUgQhRRBSBCFFEFIEIUUQUgQhRRBSxBccQZ4aIqA7HwAAAABJRU5ErkJggg==" alt="" />
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKUAAAAyCAIAAACyKox2AAABgUlEQVR4nO3YwW3DIABGYWaC4Tgmm7AIazAFQ9ADxoCDUvdAGul/n3KwLWJLfcY4Nc9tHt/oKf4xAAAAAABgvwIl9NZCby2mlFJScM4556yPedh1zoVUh6VgrXPOHiNKKTn6eqQNOeXo+7CVFPq18FnmNU/ObSeFmjOFNqJt5ehr6HPjtnZS/AfTWy6kYEMqOfo25NgcKv85+NsLYjMTrI8xzE/vQ095zMlzao7NXvudR9J4ch/zuS603XoNu7w6djDBeh/HqKWvzb3AZbWu875639vOd0x5uVfG5wTzfjsT5lewaZIdOYbjfaLfnt/XYcPB+YLjTYRNLr2X5cYQdcy8ol8z0ft7melBe/mDH2kuT92Qfnk/v917dWZsZYa1uWY4dqff1ou3qvatxZp7v3c/s2Xx/gj+v6aF3lrorYXeWuithd5a6K2F3lrorYXeWuithd5a6K2F3lrorYXeWuithd5a6K2F3lrorYXeWuithd5a6K2F3lrorYXeWuit5QdowNmlMM4s+gAAAABJRU5ErkJggg==" alt="" />
最后:一处写入,多处读取,它会从我们的所有服务器上去读取,这样大大改善了程序的相应能力,分布式将在未来对于企业来说,将会是重中之重!