当前位置:网站首页>How fast? Good province!
How fast? Good province!
2022-06-24 06:23:00 【Tencent cloud development TCB】
Introduction
Wechat cloud hosting https://cloud.weixin.qq.com It is a back-end project full hosting service jointly launched by wechat team and Tencent cloud . For the scenario of wechat ecological application development using front-end and back-end separation architecture , Cloud hosting can achieve operation and maintenance free and server free management , From code management to CI/CD Pipeline deployment release , Provide full link 、 Low cost 、 Enterprise class cloud native solutions .
Since launch , Wechat cloud hosting Attracted the attention of many small partners , Also received some questions :
- Pay as you go mode , Will the resource consumption of wechat cloud hosting be very high fast ?
- Is cloud hosting really better than traditional servers province money ?
- “ nucleus * Hours ” Such a unit is strange , How to fast Quick understanding ?
- I haven't started using , How to estimate the approximate cost of using cloud hosting ? Can you help me province How much ?
- ……
see , Here comes the popular science post ! The following will use several typical Applet scenario , Compare the general price of cloud servers on the market with that of wechat cloud hosting , Show you how cloud hosting stands out in price “ No need to pre order underlying resources 、 Auto flex 、 When there is no access, the resource cost can be further reduced to 0” The advantages of our product capabilities .
In addition to affordable prices , For the first wechat cloud hosting environment created this year , The system will give 1 Three months of free credit for developers , There is no burden on opening trial !
Wechat cloud hosting billing unit
It is different from that the server needs to estimate the scale of resource consumption and purchase in advance , Wechat cloud hosting adopts the billing by volume mode , How much to use , No, no money , Billing is accurate to seconds . Simply speaking , The billing unit hosted by wechat cloud , Namely Purchase ECS on a monthly basis / The total consumption of the database is subdivided for accurate billing by volume .
Take ECS for example : Buy one valid for one month 1 nucleus 2GB Cloud server , Actually, I bought it for a month 720 nucleus Hours of CPU and 1440 GB Hours of memory resources . Within a month, no matter what the actual utilization of your ECS 、 How long does it actually run , You paid for all the resources .
among :
1 nucleus = 1 nucleus * 24 Hours * 30 God = 720 nucleus * Hours
2GB = 2GB * 24 Hours * 30 God = 1440 GB * Hours
nucleus * Hours : Express 1 Nuclear CPU Continuous operation 1 The amount of resources consumed in an hour , or 2 Nuclear CPU Continuous operation 0.5 The amount of resources consumed per hour .
GB* Hours : Express 1GB The amount of resources consumed by the memory running continuously for one hour , or 2GB Memory runs continuously 0.5 The amount of resources consumed per hour .
Actual scenario billing simulation
Next , We use second kill activities 、 Examples of daily tool applet , Use wechat cloud hosting to connect with cloud servers on the market / Compare the general price of lightweight servers .
notes : Because of the space , The following evaluation only shows the actual consumption value , And the prices are all published prices , No discount 、 Special offers 、 Resource Pack 、 Coupons, etc . It can be understood as the highest price in theory . Want to know the actual consumption of usage and cost, and the detailed calculation formula , please Click here to Go to the cloud hosting billing document to view .
Tool applet ( Pure calculation )
1、 Typical use
- Pull public information summary ranking ( Such as hot news ranking 、 Movie charts 、 Weather information, etc );
- Transformation tool ( Unit conversion , Exchange rate conversion, etc ).
2、 Business characteristics
- No database required ( The data comes from calling public interface query or real-time calculation , No permanent storage is required );
- No burst of concentrated high traffic ;
- In the morning (0:00~8:00) Almost no one uses ;
- High availability of services is not required .
3、 Wechat cloud hosting resource usage evaluation
4、 Cost estimate comparison
notes : The cost estimates are based on the publication price , No discount 、 Special offers 、 Resource Pack 、 Coupons, etc .
As analyzed above , For ordinary applet scenarios with almost no access in idle time , Wechat cloud hosting can save... Compared with servers about 40% above The cost of .
Activity applet ( Calculation + database )
1、 Typical use
A second kill in a specified period of time 、 Luck draw 、 Real time interaction and other activities .
2、 Business characteristics
- Little or no access during inactive periods ;
- Sudden concentrated high traffic at the beginning of the activity , Gradually decrease as the activity progresses , The number of participants in the later stage of the activity is small ;
- If it's a one-time event , Resources need to be released in time after the completion of the project .
- High requirements for service availability , Unacceptable server downtime .
3、 Estimated usage of wechat cloud hosting resources
- Suppose you hold an activity once a month , Every activity 20:00~24:00 continued 4 Hours . The first hour is the peak , After three hours, it will be gentle .
- In fact, the amount of data stored in the database is increasing , The charge is based on real-time storage . For easy calculation , The data volume takes a unified value , The actual consumption will be smaller .
- Wechat cloud hosting comes with high availability , There is no need to prepare additional redundant resources .
4、 Cost estimate comparison
As analyzed above , For operational activity scenarios with unstable access traffic , Wechat cloud hosting fee Far less than the cost of configuring your own server , It saves a lot of resource costs for enterprises .
More than the above two scenarios , Wechat cloud hosting can also help multiple categories of applications effectively reduce the cost of cloud resource consumption , Bring free operation and maintenance to enterprises 、 Low cost solutions , Achieve real cost reduction and efficiency increase .
Hot questions FAQ
The following questions are from users of wechat cloud hosting exchange group :
Q: Elastic expansion is very convenient , But the dosage is not “ transparent ”, I feel like I have no bottom in my heart ?
A: Wechat cloud hosting provides detailed monitoring data , It can grasp the actual consumption of resources in real time 、 Expansion and contraction . Compare with ECS , You still need real-time monitoring of ECs to confirm that the server resources you bought out on a monthly basis , How much is really being used 、 How much is redundancy and waste . In terms of real actual dosage , The transparency of cloud hosting and cloud server is consistent .
Q: Elastic expansion, if continuous expansion , Will it lead to significantly higher costs than expected , Lead to “ When I wake up, a suite is gone ”?
A: This is actually the problem of controlling the cost ceiling .
(1) The maximum number of instances per version is 50 individual , Beyond the upper limit, it will not continue to expand , That is, the daily cost ceiling is completely controllable . If the cost budget is tight , You can also manually lower the maximum number of copies of the instance .
(2) Wechat cloud hosting will soon provide quota monitoring function , When CPU/ Memory / Database computing / When the consumption of any resources such as database storage exceeds the threshold you set , An alarm message will be sent , Coming soon . When the , You can choose to freeze the service immediately , Stop new expenses . At this time, the online business will also be interrupted , Please carefully evaluate .
Q: Under what circumstances will the service shrink to 0( There is no cost )?
A: The minimum number of instances under the service version is 0, And the current service has no access for half an hour , Will trigger shrinkage to 0.
Wechat cloud hosting preferential support
7 A discount
For all users of wechat cloud hosting , until 2021 year 12 month 31 Japan , Pay as you go mode 7 A discount .
Ten thousand yuan enterprise incentive plan
Wechat cloud hosting launched Enterprise incentive plan , Ten thousand yuan subsidy 、 Expert Migration Services 、 Tencent cloud official traffic exposure, etc , Help enterprises enjoy the ultimate experience of cloud origin at lower cost . You can sign up by identifying the QR code in the figure below !
Low cost resource package ( Soon to go online )
For individual developers and new enterprise users , Wechat cloud hosting will launch resource packages with different gradients , Further reduce product costs .
About wechat cloud hosting , If there are problems or suggestions during use , Welcome to wechat open community Wechat cloud hosting Special area to exchange and discuss .
边栏推荐
- Precautions for selecting high frequency signal generator
- Overview of related concepts of social network analysis
- Flexible use of distributed locks to solve the problem of repeated data insertion
- Nature Neuroscience: challenges and future directions of functional brain tissue characterization
- Risc-v assembly language programming (2) assembly program ASM_ run_ led
- Talk about the story behind search engines
- What is a secondary domain name primary domain name how to apply for a secondary domain name
- Analysis of DDoS attack methods
- Smart Logistics: with the advent of aiot era, how to get through the "last mile" of logistics?
- Idea2020 latest activation tutorial, continuously updated
猜你喜欢

A cigarette of time to talk with you about how novices transform from functional testing to advanced automated testing

Technology is a double-edged sword, which needs to be well kept

Enter the software test pit!!! Software testing tools commonly used by software testers software recommendations

The product layout is strengthened, the transformation of digital intelligence is accelerated, and FAW Toyota has hit 2022million annual sales

Manual for automatic testing and learning of anti stepping pits, one for each tester
![[fault announcement] one stored procedure brings down the entire database](/img/7c/e5adda73a077fe4b8f04b59d1e0e1e.jpg)
[fault announcement] one stored procedure brings down the entire database

Solution to the 39th weekly game of acwing

One line of keyboard

ServiceStack. Source code analysis of redis (connection and connection pool)

What is the difference between a white box test and a black box test
随机推荐
Comparison of common layout solutions (media query, percentage, REM and vw/vh)
An indoor high-end router with an external cable bundle limiting mechanism
MySQL series tutorial (I) getting to know MySQL
Realization of data transmission between a and B computers by using single chip microcomputer serial port
Web automated testing (1): further discussion on UI development history and UI and function automated testing
Excel data extraction technique: a universal formula for extracting numbers from mixed text
What are the categories of edge computing devices
Skips allowed on SAP QM material master inspection type
The influence of SEO age and the length of external chain retention
Collateral damage from DDoS and hacktivism
Discussion on NFT Technology
Another authoritative recommendation! Tencent zero trust was recognized by omdia Report
Feign request return value inverse sequence localdatetime exception record
A cigarette of time to talk with you about how novices transform from functional testing to advanced automated testing
Network review
Summary of basic notes of C language (I)
New core and new speed - next generation standard O & M engine
Introduction of frequency standard comparison measurement system
Sub process call - process arrangement in complex O & M scenarios
12. Tencent cloud IOT device side learning -- NTP function and Implementation