{"action":"created","issue":{"url":"https://api.github.com/repos/bitdust/EarthLiveSharp/issues/13","labels_url":"https://api.github.com/repos/bitdust/EarthLiveSharp/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/bitdust/EarthLiveSharp/issues/13/comments","events_url":"https://api.github.com/repos/bitdust/EarthLiveSharp/issues/13/events","html_url":"https://github.com/bitdust/EarthLiveSharp/issues/13","id":122680981,"number":13,"title":"[重要] 关于流量即将耗尽的通知以及应对办法","user":{"login":"bitdust","id":6072743,"avatar_url":"https://avatars.githubusercontent.com/u/6072743?v=3","gravatar_id":"","url":"https://api.github.com/users/bitdust","html_url":"https://github.com/bitdust","followers_url":"https://api.github.com/users/bitdust/followers","following_url":"https://api.github.com/users/bitdust/following{/other_user}","gists_url":"https://api.github.com/users/bitdust/gists{/gist_id}","starred_url":"https://api.github.com/users/bitdust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitdust/subscriptions","organizations_url":"https://api.github.com/users/bitdust/orgs","repos_url":"https://api.github.com/users/bitdust/repos","events_url":"https://api.github.com/users/bitdust/events{/privacy}","received_events_url":"https://api.github.com/users/bitdust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-17T07:46:05Z","updated_at":"2015-12-17T07:46:23Z","closed_at":null,"body":"情况说明\r\n---\r\n目前这个工具正在使用Cloudinary的CDN作为图片缓存，以免对 向日葵-8 的官网造成流量压力，以达到延长API寿命的目的。\r\n这个工具的火爆程度超出了我的预计，甚至冲上了github的C# trending榜首。在此必须感谢大家的鼎力支持。然而这带来的一个副作用就是我的CDN账户已不堪重负，如下图所示，最高峰时已达到 26GB/天 ！\r\n![clipboard02](https://cloud.githubusercontent.com/assets/6072743/11863727/4ac0dbca-a4d1-11e5-8408-0ebbc467f39a.png)\r\n而我并不能负担如此高的开销，之前计划使用VPS做反向代理的计划也因意外而搁浅。（某B开头的VPS服务商因为我填写的个人资料不完整而封停了我的帐号，233）。\r\n总之，按当前情况来看，Cloudinary迟早会因为流量爆炸而封停封停我的帐号，谨慎估计现在的图片抓取服务是活不到2016年了。\r\n\r\n解决方案1\r\n---\r\n进入Settings窗口，切换图片源为orgin。  \r\n但是个人非常不推荐这个办法， 因为如果大家都这么做的话，会给官方造成很大的流量压力和困扰。很可能导致API被封锁。\r\n\r\n解决方案2\r\n---\r\n申请使用私有的CDN账户。按照曾经的估算，一个Cloudinary的免费CDN账户可以支撑10个人的24小时图片抓取。因此如果有能力的话，使用个人的CDN帐号可以一劳永逸的解决这一问题。\r\n具体步骤如下：\r\n1.前往Cloudinary官网注册账户。（用不用我的邀请链接已经无所谓了，我的帐号马上就要封停了）\r\n在用户面板记录你的Cloud name\r\n![clipboard04](https://cloud.githubusercontent.com/assets/6072743/11863880/e20f88e0-a4d2-11e5-9254-1825eedca37c.png)\r\n\r\n2.编辑你的EarthLiveSharp.exe.Config文件\r\n将 CDN 或CDN1、CDN2、CDN3、CDN4 键值对应的红框所圈中的内容修改为你的Cloud name 即可。\r\n![clipboard03](https://cloud.githubusercontent.com/assets/6072743/11863915/2d3acf78-a4d3-11e5-8f0e-e66bec4be064.png)\r\n\r\n附言\r\n---\r\n最后还想说点什么，做这个程序只是处于排解近来压力的个人爱好。但是盗用他人API总归是一个不道德行为，现在爆掉了自己的CDN也是一个报应吧！开源软件的意义在于分享自己的喜悦和成果，而非免费的使用别人的服务。可惜自己代码写的又很糟糕，没有什么学习价值，所以这个项目到头来的存在意义就只是骗了200个星星而已。233~\r\n总之呢就是，对自己的任何行为都要负责，不要做慷别人之慨，替别人“开源”。\r\n随着流量耗尽，这个项目可能就要暂停一个段落了，当然出了什么严重bug的话我还是要负责去修的。  \r\n最后再次感谢大家支持！"},"comment":{"url":"https://api.github.com/repos/bitdust/EarthLiveSharp/issues/comments/165374813","html_url":"https://github.com/bitdust/EarthLiveSharp/issues/13#issuecomment-165374813","issue_url":"https://api.github.com/repos/bitdust/EarthLiveSharp/issues/13","id":165374813,"user":{"login":"bitdust","id":6072743,"avatar_url":"https://avatars.githubusercontent.com/u/6072743?v=3","gravatar_id":"","url":"https://api.github.com/users/bitdust","html_url":"https://github.com/bitdust","followers_url":"https://api.github.com/users/bitdust/followers","following_url":"https://api.github.com/users/bitdust/following{/other_user}","gists_url":"https://api.github.com/users/bitdust/gists{/gist_id}","starred_url":"https://api.github.com/users/bitdust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitdust/subscriptions","organizations_url":"https://api.github.com/users/bitdust/orgs","repos_url":"https://api.github.com/users/bitdust/repos","events_url":"https://api.github.com/users/bitdust/events{/privacy}","received_events_url":"https://api.github.com/users/bitdust/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T07:46:22Z","updated_at":"2015-12-17T07:46:22Z","body":"占位写英文的"}}