{"componentChunkName":"component---src-templates-blog-detail-tsx","path":"/blog/2020-05-30-sf-ocr","result":{"data":{"currentBlog":{"id":"207b016c-131b-5ada-b845-8ff6f0c631b5","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020529/1590752703062-1590589970259-OCR.jpg","authors":["April"],"categories":["news"],"date":"2020-05-30T00:00:00.000Z","title":"Serverless Framework + OCR 快速搭建通用文字识别应用","description":"Serverless Framework 与 OCR 的结合，为用户提供了方便快捷、成本更低的通用文字识别应用部署方案","authorslink":null,"translators":null,"translatorslink":null,"tags":["文字识别","OCR"],"keywords":"Serverless,scf,OCR","outdated":null},"wordCount":{"words":177,"sentences":33,"paragraphs":33},"fileAbsolutePath":"/opt/build/repo/content/blog/2020-05-30-sf-ocr.md","fields":{"slug":"/blog/2020-05-30-sf-ocr/","keywords":["serverless","spa","website","云函数","组件化开发","serverless","Serverless","Framework","识别","ocr","文字","存储"]},"html":"<p>在日常的工作生活中，文字识别与我们息息相关，比如身份证识别、随手拍扫描、纸质文档电子化等，无不显示着文字识别技术的重要性。为此，腾讯云通用文字识别产品 General OCR 应运而生，基于行业前沿的深度学习技术，支持将图片上的文字内容智能识别为可编辑的文本，大幅提升信息处理效率。而 Serverless Framework 与 OCR 的结合，则为用户提供了方便快捷、成本更低的通用文字识别应用部署方案。</p>\n<p>为什么要用 Serverlesss Framework 来搭建，我们看看 Serverlesss Framework 有哪些优势：</p>\n<ul>\n<li>0 配置，弹性扩缩容：Serverless Framework 基于云上 Serverless 资源完成开发，无需复杂配置，即可高效、快速构建 OCR 应用，并支持弹性扩缩容，降低使用成本，助力业务上线；</li>\n<li>实时监控，方便运维：部署成功后，您可通过 Serverless Dashboard 实时查看基础监控指标和应用级别的监控指标，并支持实时日志的输出和远端调试能力，屏蔽本地和云端环境的差异，提供完善的排障功能；</li>\n<li>组件化开发：提供组件化的开发和集成，便于用户修改和资源复用，使用更加灵活。</li>\n</ul>\n<p>接下来我们一起通过 Serverless Framework Component，快速搭建一个基于腾讯云 OCR 的文字识别应用</p>\n<p>该模版主要包含以下组件：</p>\n<ul>\n<li>Serverless Express：通过云函数和 API 网关构建的 Express 框架实现 RESTful API。</li>\n<li>Serverless Website：前端通过托管 React 静态页面到 COS 对象存储中完成静态网站部署。</li>\n</ul>\n<p>实战前请确认：</p>\n<ul>\n<li>Node.js 版本需不低于 8.6，建议使用 Node.js 10.0 及以上版本</li>\n<li>开通腾讯云通用文字识别 OCR 服务</li>\n</ul>\n<p>快速搭建一个基于腾讯云 OCR 的文字识别应用，具体步骤如下：</p>\n<h2 id=\"1-安装\"><a href=\"#1-%E5%AE%89%E8%A3%85\" aria-label=\"1 安装 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>1. 安装</h2>\n<p>通过 npm 全局安装 Serverless Framework：</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">npm install -g serverless</code></pre></div>\n<p>安装完毕后，通过运行 <code class=\"language-text\">serverless -v</code> 命令，查看 Serverless Framework 的版本信息，确保版本信息不低于以下版本：</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">serverless –v\nFramework Core: 1.67.3\nPlugin: 3.6.6\nSDK: 2.3.0\nComponents: 2.30.1</code></pre></div>\n<h2 id=\"2-创建存储桶\"><a href=\"#2-%E5%88%9B%E5%BB%BA%E5%AD%98%E5%82%A8%E6%A1%B6\" aria-label=\"2 创建存储桶 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>2. 创建存储桶</h2>\n<p>登录 COS 控制台，创建新的公有存储桶，选择公有读写，用于存放上传的图像，注意地域的选择。接下来，点开「基础配置」，为存储桶配置跨域访问 CORS，具体配置如下：</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020529/1590737270336-1590567989893-bae9ed11638e91b4.png\"></p>\n<h2 id=\"3-配置\"><a href=\"#3-%E9%85%8D%E7%BD%AE\" aria-label=\"3 配置 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>3. 配置</h2>\n<p>新建一个本地文件夹，使用 <code class=\"language-text\">create --template-url</code> 命令，下载相关 template。</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">serverless create --template-url\nhttps://github.com/serverless-tencent/serverless-demos/serverless-ocr</code></pre></div>\n<p>创建 <code class=\"language-text\">.env</code> 文件，在里面输入您的账户、密钥信息和指定存储桶（此存储桶用于存放上传的图像）</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\"># .env\nTENCENT_APP_ID=xxx\nTENCENT_SECRET_ID=xxx\nTENCENT_SECRET_KEY=xxx\n\n# region of bucket\nREGION=ap-guangzhou\n# bucket name, using to store upload pictures\nBUCKET=ocr-images</code></pre></div>\n<h2 id=\"4-下载所有-npm-依赖\"><a href=\"#4-%E4%B8%8B%E8%BD%BD%E6%89%80%E6%9C%89-npm-%E4%BE%9D%E8%B5%96\" aria-label=\"4 下载所有 npm 依赖 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>4. 下载所有 npm 依赖</h2>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">npm run bootstrap</code></pre></div>\n<h2 id=\"5-部署\"><a href=\"#5-%E9%83%A8%E7%BD%B2\" aria-label=\"5 部署 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>5. 部署</h2>\n<p>执行 <code class=\"language-text\">sls deploy --all</code> 命令进行部署：</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">sls deploy --all\n\nserverless ⚡ framework\n\nbackend:\n  region: ap-guangzhou\n  apigw:\n    serviceId:   service-4i62q1pg\n    subDomain:   service-4i62q1pg-1258834142.gz.apigw.tencentcs.com\n    environment: release\n    url:         https://service-4i62q1pg-1258834142.gz.apigw.tencentcs.com/release/\n  scf:\n    functionName: serverless-ocr\n    runtime:      Nodejs10.15\n    namespace:    default\n\nfrontend:\n  region:  ap-guangzhou\n  website: https://serverless-ocr-1258834142.cos-website.ap-guangzhou.myqcloud.com\n\n38s › serverless-ocr › Success</code></pre></div>\n<p>部署成功后，您可以使用浏览器访问项目产生的 website 链接，即可看到生成的网站，点击上传图片，项目即可通过 OCR SDK 完成文字识别。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020529/1590737270478-1590567989893-bae9ed11638e91b4.png\"></p>\n<h2 id=\"6-移除\"><a href=\"#6-%E7%A7%BB%E9%99%A4\" aria-label=\"6 移除 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>6. 移除</h2>\n<p>执行 <code class=\"language-text\">sls remove --all</code>，即可快速移除项目。</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">sls remove --all\n\nserverless ⚡ framework\n\n38s › tencent-fullstack › Success</code></pre></div>\n<hr>\n<div id='scf-deploy-iframe-or-md'></div>\n<hr>\n<blockquote>\n<p><strong>传送门：</strong></p>\n<ul>\n<li>GitHub: <a href=\"https://github.com/serverless/serverless/blob/master/README_CN.md\">github.com/serverless</a></li>\n<li>官网：<a href=\"https://serverless.com/\">serverless.com</a></li>\n</ul>\n</blockquote>\n<p>欢迎访问：<a href=\"https://serverlesscloud.cn/\">Serverless 中文网</a>，您可以在 <a href=\"https://serverlesscloud.cn/best-practice\">最佳实践</a> 里体验更多关于 Serverless 应用的开发！</p>","tableOfContents":"<ul>\n<li><a href=\"/blog/2020-05-30-sf-ocr/#1-%E5%AE%89%E8%A3%85\">1. 安装</a></li>\n<li><a href=\"/blog/2020-05-30-sf-ocr/#2-%E5%88%9B%E5%BB%BA%E5%AD%98%E5%82%A8%E6%A1%B6\">2. 创建存储桶</a></li>\n<li><a href=\"/blog/2020-05-30-sf-ocr/#3-%E9%85%8D%E7%BD%AE\">3. 配置</a></li>\n<li><a href=\"/blog/2020-05-30-sf-ocr/#4-%E4%B8%8B%E8%BD%BD%E6%89%80%E6%9C%89-npm-%E4%BE%9D%E8%B5%96\">4. 下载所有 npm 依赖</a></li>\n<li><a href=\"/blog/2020-05-30-sf-ocr/#5-%E9%83%A8%E7%BD%B2\">5. 部署</a></li>\n<li><a href=\"/blog/2020-05-30-sf-ocr/#6-%E7%A7%BB%E9%99%A4\">6. 移除</a></li>\n</ul>"},"previousBlog":{"id":"3943551e-518f-57d9-8fda-3832e4877f4a","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020720/1595233226345-1590587727785-banner_ts3.jpg","authors":["Serverless 社区"],"categories":["meetup"],"date":"2020-06-04T00:00:00.000Z","title":"借助云函数监控日志快速发现并定位问题｜在线分享第三期","description":"腾讯云云函数产品经理李婷、乐家云研发经理黄召戎为您分享","authorslink":["https://zhuanlan.zhihu.com/ServerlessGo"],"translators":null,"translatorslink":null,"tags":["Serverless","Meetup"],"keywords":"Serverless,scf,监控日志","outdated":null},"wordCount":{"words":54,"sentences":11,"paragraphs":11},"fileAbsolutePath":"/opt/build/repo/content/blog/2020-06-04-webinar-ts3-meetup.md","fields":{"slug":"/blog/2020-06-04-webinar-ts3-meetup/","keywords":["serverless","云函数","serverless","Serverless","serverlesscloud","github"]}},"nextBlog":{"id":"3c2d8cba-730d-518b-99ba-da192e4e2c8e","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020529/1590722170311-1590666059246-%E4%BA%91%E5%87%BD%E6%95%B0%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8%E5%89%AF%E6%9C%AC%20%281%29.jpg","authors":["tianyun"],"categories":["user-stories"],"date":"2020-05-29T00:00:00.000Z","title":"腾讯云云函数快速入门实践","description":"使用云函数，拥有完整的开发、调试、DevOps、监控体验。","authorslink":["https://zhuanlan.zhihu.com/ServerlessGo"],"translators":null,"translatorslink":null,"tags":["云函数"],"keywords":"Serverless,scf,Node.js","outdated":null},"wordCount":{"words":184,"sentences":36,"paragraphs":36},"fileAbsolutePath":"/opt/build/repo/content/blog/2020-05-29-scf-introduce.md","fields":{"slug":"/blog/2020-05-29-scf-introduce/","keywords":["serverless","无服务器","云函数","函数","serverlesscloud"]}},"recommendBlogs":{"edges":[{"node":{"id":"73576d26-e0ce-5f26-9330-64b4f3889157","frontmatter":{"thumbnail":"https://main.qcloudimg.com/raw/3cb7b20955d78ced738e0279bb3f6f41.jpg","authors":["AndreaPasswater"],"categories":["news","engineering-culture"],"date":"2018-03-09T00:00:00.000Z","title":"Serverless 数据解读：2018 报告","description":"Serverless Framework 使用统计数据：事件源、服务结构、运行时长等等。","authorslink":["https://serverless.com/author/andreapasswater/"],"translators":["Aceyclee"],"translatorslink":["https://www.zhihu.com/people/Aceyclee"],"tags":["事件源","服务结构"],"keywords":"Serverless 统计数据,Serverless 事件源,Serverless 服务结构","outdated":null},"wordCount":{"words":212,"sentences":45,"paragraphs":45},"fileAbsolutePath":"/opt/build/repo/content/blog/2018-03-09-serverless-by-the-numbers-2018-data-report.md","fields":{"slug":"/blog/2018-03-09-serverless-by-the-numbers-2018-data-report/","keywords":["go","serverless","无服务器","云函数","服务","使用率","Go","部署"]}}},{"node":{"id":"84876745-cbfb-5c1d-9f6c-7c74338d5d28","frontmatter":{"thumbnail":"https://s3-us-west-2.amazonaws.com/assets.site.serverless.com/images/champions/champions_banner.jpg","authors":["RupakGanguly"],"categories":["news","engineering-culture"],"date":"2018-04-10T00:00:00.000Z","title":"2018 年首批无服务器社区冠军介绍","description":"无服务器社区冠军是无服务器社区的领导者。快来认识一下我们 2018 年度的社区英雄吧！","authorslink":null,"translators":null,"translatorslink":null,"tags":null,"keywords":null,"outdated":null},"wordCount":{"words":194,"sentences":32,"paragraphs":32},"fileAbsolutePath":"/opt/build/repo/content/blog/2018-04-10-announcing-new-2018-serverless-champions.md","fields":{"slug":"/blog/2018-04-10-announcing-new-2018-serverless-champions/","keywords":["serverless","webpack","无服务器","无服务器架构","服务器","serverless","champions","架构","blog","github","框架"]}}},{"node":{"id":"1e1a90fc-3b65-540c-b726-755999e7912a","frontmatter":{"thumbnail":"https://main.qcloudimg.com/raw/8a0db1c9fd8b51c15d0b006291d52bf5.jpg","authors":["AndreaPasswater"],"categories":["news","engineering-culture"],"date":"2018-07-19T00:00:00.000Z","title":"2018 年社区调查：Serverless 使用率大幅增长","description":"我们曾在开发社区进行问卷调查，询问 Serverless 的使用情况。它的使用率增长连我们自己都惊讶不已，下面来看看数据。","authorslink":["https://serverless.com/author/andreapasswater/"],"translators":["Aceyclee"],"translatorslink":["https://www.zhihu.com/people/Aceyclee"],"tags":["Component","Serverless"],"keywords":"Serverless 社区调查,Serverless 使用情况,Serverless 数据","outdated":null},"wordCount":{"words":267,"sentences":50,"paragraphs":49},"fileAbsolutePath":"/opt/build/repo/content/blog/2018-07-19-2018-serverless-community-survey-huge-growth-usage.md","fields":{"slug":"/blog/2018-07-19-2018-serverless-community-survey-huge-growth-usage/","keywords":["go","serverless","无服务器","Serverless","serverless"]}}},{"node":{"id":"8311b008-2b15-5225-8adc-9b75e484177b","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020414/1586880819419-%E5%B0%81%E9%9D%A2%E5%9B%BE%20%286%29.png","authors":["serverless 社区"],"categories":["news"],"date":"2019-04-08T00:00:00.000Z","title":"邀您参加 | K8S&云原生技术开放日-北京站","description":"K8S&云原生技术开放日，将围绕K8S、Serverless等云原生相关技术，从最佳落地实践、不同场景技术改造、应用优化，到开源领域深度技术研究，和技术爱好者们一起探讨。","authorslink":["https://zhuanlan.zhihu.com/ServerlessGo"],"translators":null,"translatorslink":null,"tags":["云原生","Serverless"],"keywords":"serverless 入门,serverless 框架,腾讯云 serverless","outdated":null},"wordCount":{"words":36,"sentences":9,"paragraphs":9},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-04-08-k8s.md","fields":{"slug":"/blog/2019-04-08-k8s/","keywords":["serverless","云原生","serverless","Serverless","技术","原生","serverlesscloud","github"]}}},{"node":{"id":"25f709db-cde0-59d7-81f4-944c46a6dd8a","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020414/1586880571672-%E5%B0%81%E9%9D%A2%E5%9B%BE%20%285%29.png","authors":["serverless 社区"],"categories":["news"],"date":"2019-04-04T00:00:00.000Z","title":"Serverless 技术风暴来袭，开发者该如何应对？","description":"Hello Serverless技术沙龙北京站，将围绕Serverless的应用场景，客户案例，FaaS+BaaS架构的实现方案等，针对未来的无服务形态进行交流和讨论，释放技术想象！","authorslink":["https://zhuanlan.zhihu.com/ServerlessGo"],"translators":null,"translatorslink":null,"tags":["应用场景","Serverless"],"keywords":"serverless 入门,serverless 框架,腾讯云 serverless","outdated":null},"wordCount":{"words":37,"sentences":8,"paragraphs":8},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-04-04-technology-storm.md","fields":{"slug":"/blog/2019-04-04-technology-storm/","keywords":["serverless","Serverless","serverless","serverlesscloud","github","技术","架构","围绕"]}}},{"node":{"id":"4bc4d946-6187-5c3d-91c6-d98c4c4c1314","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020414/1586880172144-%E5%B0%81%E9%9D%A2%E5%9B%BE%20%284%29.png","authors":["serverless 社区"],"categories":["news"],"date":"2019-06-11T00:00:00.000Z","title":"一图读懂无服务器云函数","description":"本图将重要信息进行梳理和提炼，帮助读者更好的理解无服务器云函数的理念和作用","authorslink":["https://zhuanlan.zhihu.com/ServerlessGo"],"translators":null,"translatorslink":null,"tags":["云函数","Serverless"],"keywords":"serverless 入门,serverless 框架,腾讯云 serverless","outdated":null},"wordCount":{"words":31,"sentences":6,"paragraphs":6},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-06-11-one-picture-serverless-cloud-function.md","fields":{"slug":"/blog/2019-06-11-one-picture-serverless-cloud-function/","keywords":["serverless","无服务器","无服务器云函数","云函数","serverless","serverlesscloud","Serverless","github","开发者","函数"]}}},{"node":{"id":"1cd76f95-14a9-5fd5-926b-456af189b7ed","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020326/1585217744291-%E6%91%84%E5%9B%BE%E7%BD%91_400730082_wx.jpg","authors":["朱峰 Ben"],"categories":["news"],"date":"2019-10-14T00:00:00.000Z","title":"由浅入深说 Serverless 之云函数的生命周期","description":"希望通过文章分享帮助大家更深入的了解 Serverless 背后的机制并掌握相关的最佳实践。","authorslink":["https://github.com/jiangliu5267"],"translators":null,"translatorslink":null,"tags":["云函数"],"keywords":"Serverless, Serverless前端开发, Serverless云函数","outdated":null},"wordCount":{"words":74,"sentences":29,"paragraphs":29},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-10-14-serverless-cloud-function.md","fields":{"slug":"/blog/2019-10-14-serverless-cloud-function/","keywords":["faas","java","云函数","函数","触发","实例","事件","数据库","启动","连接","sql","代码"]}}},{"node":{"id":"4f16f8bc-1a35-5394-9029-f7abc2ad6137","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/qianyi/images/YHl6UWa9s629ucl0iaVcic8rL06uEBM5go4LSXiaHnibDJSBjLGAhGlWz3QZ1RZzd3NeCibjJxOyUApDO7TaPYcwxsw.jpg","authors":["Serverless 中文网"],"categories":["news"],"date":"2019-10-26T00:00:00.000Z","title":"Hello Serverless 实战沙龙回顾","description":"2019 年 10 月 26 日，Hello Serverless 沙龙活动在广州市海珠区腾讯众创空间成功举办，一起看看我们都为大家准备了哪些精彩的演讲吧！","authorslink":["https://github.com/jiangliu5267"],"translators":null,"translatorslink":null,"tags":["Meetup"],"keywords":"Serverless, Serverless技术沙龙,Hello Serverless","outdated":null},"wordCount":{"words":64,"sentences":13,"paragraphs":13},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-10-26-hello-serverless-meetup.md","fields":{"slug":"/blog/2019-10-26-hello-serverless-meetup/","keywords":["go","serverless","云函数","云原生","Serverless","存储","腾讯","serverlesscloud"]}}}],"totalCount":46}},"pageContext":{"isCreatedByStatefulCreatePages":false,"blogId":"207b016c-131b-5ada-b845-8ff6f0c631b5","previousBlogId":"3943551e-518f-57d9-8fda-3832e4877f4a","nextBlogId":"3c2d8cba-730d-518b-99ba-da192e4e2c8e","categories":["news"]}}}