-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POP in China #729
Comments
We have no funds to get a node in China but we are always looking for companies that could sponsor us. We had lots of sponsorship offers with nodes in Indonesia but nothing in China yet. Still, CloudFlare has already presence there which makes jsDelivr a good solution for all Chinese traffic. Plus we have lots of locations in Asia that can act as failover for Chinese traffic. Also technically if a CloudFlare's IP got banned in China our load balancing algorithm would automatically switch all traffic to a different provider. So the issue you are referring to should not happen to us. |
Hong Kong is not China for internet purposes. The Chinese internet gets lower latency to the USA than Japan/Hong Kong if the network doesn't peer with the Chinese ISP directly. How is your load balancing algorithm checking uptime for Chinese users? The GFW can issue connection blocks for 90 seconds to a domain on a per user basis upon triggering a censored keyword. Can you detect this? e.g. search a censored keyword on Google. Your access to Google and their cdn hang for 90 seconds. |
I was not aware of that. Then I will try to push our search for China based nodes.
As long as we get RUM tests from China we should be able to detect it. I don't know how exactly GFW works so I can't be 100% sure. Check out how exactly jsDelivr works at Mozilla, scroll to "Measuring performance". |
https://code.google.com/p/cdnjs/ Hasn't been updated in 15 months, & before CloudFlare opened other PoPs, but someone must have been really frustrated. |
I am thinking to proactively remove CloudFlare from jsDelivr for all Chinese users. Just to make sure even if our CloudFlare IPs get banned in the future it wont affect jsDelivr. |
Wasn't Cedexis supposed to kick in and remove CloudFlare from the pool automagically? |
Yes it should, but I don't know how exactly the firewall works and I cant test it to be 100% sure. |
@watermelonjuice I contacted 8 companies in China so far and no replies at all. Either they dont speak English or its far harder to impress them than US companies. |
Did you give Windows Azure China a try? It's a franchised public cloud
|
The problem is not a server in China, its a "sponsored" server in China :) |
As I mentioned it is a franchised company so you are not dealing with MS
|
Interesting, I will give it a shot. Thank you |
@isaackwan No response either. China is going to be hard nut to crack. |
If a China based location is important I could buy a VPS myself. $17/month + $30 one time for ICP License We really need to think a way for collecting funds towards the project. Maybe some companies would be interested to help. |
I suggest against buying from that specific datacenter because it seems to be single-homed to China Telecom. As China's major ISP's has poor inter-connection (peering) with one another, this may cause degraded performance for users of other providers (e.g. China Unicom) If paying for a VPS is an option then take a look at Windows Azure HK (East Asia location). They have freaking fast connection with China's ISP's (heck they even beat some China providers - check out Cedexis) and probably will save you from headaches caused by the ICP licensing mechanism. |
You may also want to try your luck with Singapore-based Pacnet, who operates datacenters and a CDN in China. |
@isaackwan @watermelonjuice Can you guys test the following server? Pacnet is not responding. |
Also test our existing server for comparison: |
I live in Hong Kong so I am afraid that I cannot help :) |
Well I guess the point was to have a server inside China so the Azure offer doesn't make much sense. |
Sina App Engine has a CDN: https://translate.google.com/translate?sl=auto&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fsae.sina.com.cn%2Fdoc%2Fphp%2Fcdn.html%23cdn&edit-text=&act=url Try contacting them. I hope they speak English (at least Chinglish 😄 ). You will probably need to navigate the control panels with Google translate, though. |
I think their CDN is like Rackspace CDN. It can be used only with their own object hosting feature. |
It's worth a ping to ask imo :) P.S. Rackspce doesn't have their own CDN, it's Akamai. |
Since they are using Apache+PHP (https://translate.googleusercontent.com/translate_c?act=url&depth=1&hl=en&ie=UTF8&prev=_t&rurl=translate.google.com&sl=auto&tl=en&u=http://sae.sina.com.cn/doc/php/runtime.html&usg=ALkJrhgjk1OK6e9l7SI6w87-uqCfywu58A), you could create a small PHP script that proxies the files (with all URLs rewritten to the PHP file). |
Nah it wont work. We have lots of requirements for our CDNs providers that a CDN like this one cant do. |
yup, their plans look great for China. |
in fact, qiniu, a cdn provider, has launched a site like it. |
Thanks @Yexiaoxing, this is the second unofficial CDNJS mirror we know of in China. & someone else made an unofficial clone of jsDelivr also. I wish they would ask to be an official mirror; we need them in China, & we can save alot of work for them. http://www.staticfile.org/about_en.html
Perhaps because they don't ask? |
Btw I wanted to let everyone know that we got an ICP license to operate in China. |
That's amazing . How can you manage to do that? On Sunday, May 10, 2015, Dmitriy Akulov notifications@github.com wrote:
Regards, |
Who wants to test the following Chinese CDNs? Not sure if it makes sense to use them both. Which one is the fastest? |
What do you want us to test? Ping? If you want us to test speed then a 1 pixel image may not be the best On Thu, Jun 25, 2015 at 8:40 PM, Dmitriy Akulov notifications@github.com
|
You can change the URL to any project on jsDelivr. They use the same origin. |
Oh wait, the first example gzips to a tiny size. How about this 2.7 MB (gzipped) font file? |
wget http://cdn.jsdelivr.net/font-kopub/1.0/KoPubBatang-Regular.ttf KoPubBatang-Regular 100%[=====================>] 6.23M 297KB/s in 28s 2015-07-02 21:52:54 (232 KB/s) - ‘KoPubBatang-Regular.ttf’ saved [6536312/6536312] wget http://e4a460fff0.a.uxengine.net/font-kopub/1.0/KoPubBatang-Regular.ttf KoPubBatang-Regular 100%[=====================>] 6.23M 16.5KB/s in 8m 20s s 2015-07-02 22:04:41 (12.8 KB/s) - ‘KoPubBatang-Regular.ttf’ saved [6536312/6536312] wget http://90f29d9537a6c39a.tan14.net/font-kopub/1.0/KoPubBatang-Regular.ttf KoPubBatang-Regular 100%[=====================>] 6.23M 1.24MB/s in 7.6s 2015-07-02 22:20:16 (839 KB/s) - ‘KoPubBatang-Regular.ttf’ saved [6536312/6536312] |
Ouch, uxengine is almost as slow as dial up! Perhaps the performance of On Thu, Jul 2, 2015 at 8:21 AM watermelonjuice notifications@github.com
|
Depends on peering, the position of the moon, and what is currently viral on the
|
Looks like we've got a situation where Cedexis would really shine! 😄
|
We dont have enough RUM tests in China to support more than 1 CDN I think. Thats why I try to choose one that is going to be blended with MaxCDN, CF and others. |
I finally pushed live a Chinese CDN provider. |
Are you going to update the open mix repository?
|
Yes, once its confirmed to be working correctly. Otherwise I will restore the code from the repo |
Does chinese cdn support https without SNI? seems like they don't support it. http://gs.statcounter.com/#desktop-browser_version_partially_combined-CN-monthly-201406-201506 |
there might be performance issue due the the mismatch in addresses. quantil.jsdelivr.net cdn.jsdelivr.net(current, quantil? cdn.jsdelivr.net.mwcloudcdn.com) cdn.jsdelivr.net.cdn.cloudflare.net |
Thank you, thats very useful information. If you find anything else let me know. |
According to test ( Regards, On Fri, Jul 24, 2015 at 11:37 PM, Dmitriy Akulov notifications@github.com
|
Can you run the tests 2-3 times? The first one is a uncached and the performance will be bad. |
Second run: Result can be found here: Regards, On Sat, Jul 25, 2015 at 1:23 AM, Dmitriy Akulov notifications@github.com
|
The performance looks good to me. I believe we finally found our Chinese provider. |
🎉 🎈 |
I updated the network map http://lb.jimaek.svc.tutum.io/features/network-map |
I want to know that what service we are using in China... Regards, On Sat, Jul 25, 2015 at 5:09 PM, Dmitriy Akulov notifications@github.com
|
You mean our Chinese provider? Its https://www.quantil.com/ |
Most CDNs would have trouble getting a node inside China due to censorship laws. It would be a great benefit if a provider could donate a server in China.
Also a POP in china using jsdelivr's technology would avoid issues like cdnjs/cdnjs#1922.
The text was updated successfully, but these errors were encountered: