当前位置:网站首页>Leancloud changes in October
Leancloud changes in October
2020-11-08 13:52:00 【osc_beahvznj】
Product trends
1. Commercial application network isolation optimization scheme online , Independent IP The price 50%
In order to completely isolate the network access entrance of different users , To avoid accidental interaction , We are 10 The network isolation optimization scheme was launched in January , A separate account with a commercial app is assigned free of charge IP( Provided by default 2Gbps Protection bandwidth of ), As the default access for all applications under the account to use the storage service . This change has taken effect automatically for some applications , For some applications, developers need to modify it manually API Domain name DNS Only by parsing the record can it take effect .
in addition , If developers need to isolate network traffic among multiple applications under their names , You can also buy more independence IP, So we're going to be independent IP Price reduction 50%, To encourage better use of LeanCloud service . Please refer to the blog for details [1].
2. In app search completes architecture upgrade , And changed its name to 「 Full text search 」
Five years since the launch of in app search service , I've received a lot of feedback and suggestions from developers , For some time in the past , We have adjusted and optimized the technical architecture , Include : Upgraded search and word segmentation engines , The segmentation of Chinese and English mixed text is optimized , It also supports multi version smoothing in the process of index reconstruction , wait .10 These adjustments were officially launched in January , We also renamed this value-added service as 「 Full text search 」, In order to better reflect its use .
in addition , from 11 month 1 Statistics for full-text search will be separated from data stores starting from January , And independent billing , For details, please refer to the blog introduction [2].
3. The cloud engine supports cloud functions on all groups , And cancel the group management fee
The group management function of cloud engine allows developers to create multiple independent groups , In the case of accessing the same data source , Deploy multiple sets of different server-side business code , Each group is bound with a different custom domain name , Achieve richer business requirements . Before that, we stipulated that only 「 The main group 」 You can use cloud functions and Hook Mechanism , This has brought some obstacles to the code organization of some developers . We've done some work recently , Let all groups support cloud functions and Hook Mechanism , And it completely eliminated the group management fee , In order to facilitate the use of . For details, please refer to the blog introduction [3].
Content sharing
Is open source technology enough ? my NAS Selection and construction process
Last year we configured Linux Soft routing makes me aware of 「 Native Linux」 The confidence and interest of the open source solutions have increased greatly , So prepare yourself DIY a NAS, Plan to address storage needs for the next decade .
common problem
1. 【 data storage 】 When the amount of data is increasing , How to speed up the query speed ?
Just like using a traditional database , Query optimization mainly depends on index . An index is like a table of contents in a dictionary , It can help you search words more quickly in the massive text .
principle : When the amount of data is small , No index . Please remember when you have more , After indexing , The index needs to be updated when writing , In exchange for less query time . therefore , Generally speaking , Write less, read more, index more , Write more, read less, build less index .
operation : Get into Console > Storage , After selecting a table , Click on the right other The drop-down menu , And then choose Indexes , Then index your query according to your needs .
Tips :
If Class There's a lot of data inside , Click on 「 establish 」 After button , The console may show 「 Queuing 」. This means that the index creation operation has entered the task queue , When the cluster is idle ( It's usually early in the morning ) Automatically .
The default four fields of the data table objectId、ACL、createdAt、updatedAt It's self indexed , But when checked , It can be used as a joint index .
「 unique index 」 Options refer to, for example uuid And so on . Check 「 unique index 」 But don't check 「 Missing values are allowed 」 when , At most, there can be only one piece of data that does not exist in this field , Otherwise the data won't be unique . If there may be more than one piece of data that does not exist in this field , Please also check 「 Missing values are allowed 」.
At present, the index provides 3 Sort schemes : positive sequence 、 Reverse order and 2dsphere. among 2dsphere Data for geographic location, longitude and latitude (GeoPoint). For example, a common requirement in mobile scenarios is to find other users nearby . Because the storage service supports bidirectional traversal index , So the single field index , Positive order and reverse order are equivalent , You can choose at will . But the positive order of the union index 、 The combination in reverse order needs to be selected according to the business requirements .
Let's take the union index of two fields as an example to illustrate the positive order in detail 、 The choice in reverse order . We assume to create foo、bar When double field union index , foo The index of the field is in positive order ,bar The index of the field is selected in reverse order . Obvious ,foo Positive order and bar Inverted queries can take advantage of the index . And because it supports bidirectional traversal index , So the flipped form of the above query foo In reverse order and bar Positive order can also use index . however ,foo、bar Congruence ( Both positive and negative ) Cannot make use of index . It is also because it supports bidirectional traversal index , establish foo Fields in reverse order 、bar Union index of positive order of fields , The effect is equivalent . Empathy ,foo、bar Joint index of fields in the same order , It can be foo、bar The use of the same order of queries , Can not be foo、bar The use of out of order queries . A union index of three or more fields, and so on .
2. 【 Domain name binding 】 The domain name has been filed , The domain name registration check failed when the domain name was bound to the console .
Please visit the website of MIIT first [4] Try to find the domain name registration information , If you can't find , You need to wait for the domain name registration query system of MIIT to update before going to the console 「 retry 」. If the website of the Ministry of industry and information technology can be found, but the registration check of the Console domain name is not passed , Usually because LeanCloud There is a delay in using the record query service data , Please contact us via work order or email .
3. 【 data storage 】 Whether it can be forced to modify without SMS verification _User surface mobilePhoneVerified Field , Set it to true?
You can use it with a cloud engine master key [5] To modify the mobilePhoneVerified Value . Because the cloud engine runs in a trusted server-side environment , So you can turn on super permissions globally (Master Key), So the cloud will skip over including ACL and Class Check within authority , Let you freely manipulate all the data in cloud storage , Of course, only a few calls are allowed in this way Master Key The use of API.
Related links :
[1] https://url.leanapp.cn/l9KXquX
[2] https://url.leanapp.cn/BSzlaro
[3] https://url.leanapp.cn/fXlWwQs
[4] https://url.leanapp.cn/YMqxYAl
[5] https://url.leanapp.cn/OKSpXGp
end
LeanCloud, Leading BaaS provider , Provide strong back end support for mobile development . More on this 「LeanCloud Communications 」
版权声明
本文为[osc_beahvznj]所创,转载请带上原文链接,感谢
边栏推荐
- Get PMP certificate at 51CTO College
- 金融领域首个开源中文BERT预训练模型,熵简科技推出FinBERT 1.0
- We made a medical version of the MNIST dataset, and found that the common automl algorithm is not so easy to use
- wanxin finance
- 阿里撕下电商标签
- Golang 系统ping程序探测存活主机(任意权限)
- Millet and oppo continue to soar in the European market, and Xiaomi is even closer to apple
- The most complete! Alibaba economy cloud original practice! (Internet disk link attached)
- Flink: from introduction to Zhenxiang (3. Reading data from collection and file)
- Research on WLAN direct connection (peer-to-peer connection or P2P) and cross platform research of IOS
猜你喜欢
PMP experience sharing
喜获蚂蚁offer,定级p7,面经分享,万字长文带你走完面试全过程
Station B STM32 video learning
Huawei has an absolute advantage in the 5g mobile phone market, and the market share of Xiaomi is divided by the market survey organization
Share the experience of passing the PMP examination
The first open source Chinese Bert pre training model in the financial field
Top 5 Chinese cloud manufacturers in 2018: Alibaba cloud, Tencent cloud, AWS, telecom, Unicom
华为云重大变革:Cloud&AI 升至华为第四大 BG ,火力全开
华为在5G手机市场占据绝对优势,市调机构对小米的市占出现分歧
LeanCloud 十月变化
随机推荐
Improvement of rate limit for laravel8 update
Ali tear off the e-commerce label
[Python 1-6] Python tutorial 1 -- number
Ubuntu20.04 access FTP server garbled problem + upload files
Eight ways to optimize if else code
Top 5 Chinese cloud manufacturers in 2018: Alibaba cloud, Tencent cloud, AWS, telecom, Unicom
Top 5 Chinese cloud manufacturers in 2018: Alibaba cloud, Tencent cloud, AWS, telecom, Unicom
Golang system ping program to detect the surviving host (any permission)
2018中国云厂商TOP5:阿里云、腾讯云、AWS、电信、联通 ...
最全!阿里巴巴经济体云原生实践!(附网盘链接)
用科技赋能教育创新与重构 华为将教育信息化落到实处
2018中国云厂商TOP5:阿里云、腾讯云、AWS、电信、联通 ...
Alibaba cloud accelerates its growth and further consolidates its leading edge
Top 5 Chinese cloud manufacturers in 2018: Alibaba cloud, Tencent cloud, AWS, telecom, Unicom
Huawei has an absolute advantage in the 5g mobile phone market, and the market share of Xiaomi is divided by the market survey organization
This time Kwai tiktok is faster than shaking.
nat转换的ip跟端口ip不相同的解决方法
Flink: from introduction to Zhenxiang (6. Flink implements UDF function - realizes more fine-grained control flow)
python基础教程python opencv pytesseract 验证码识别的实现
laravel8更新之维护模式改进