{"id":109569,"date":"2020-06-01T04:55:24","date_gmt":"2020-05-31T20:55:24","guid":{"rendered":"http:\/\/4563.org\/?p=109569"},"modified":"2020-06-01T04:55:24","modified_gmt":"2020-05-31T20:55:24","slug":"%e8%bf%99%e4%ba%9b%e6%8a%80%e8%83%bd%e6%b8%85%e5%8d%95%e6%98%af%e4%b8%8d%e6%98%af%e5%a4%aa%e8%8f%9c%e4%ba%86-17-%e5%b9%b4%e6%af%95%e4%b8%9a","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=109569","title":{"rendered":"\u8fd9\u4e9b\u6280\u80fd\u6e05\u5355\u662f\u4e0d\u662f\u592a\u83dc\u4e86, 17 \u5e74\u6bd5\u4e1a"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8fd9\u4e9b\u6280\u80fd\u6e05\u5355\u662f\u4e0d\u662f\u592a\u83dc\u4e86, 17 \u5e74\u6bd5\u4e1a               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sazima <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        Python\uff1a \u9075\u5b88 PEP 8 \u89c4\u8303<br \/>\u540e\u7aef: \u638c\u63e1 Django\uff0cDjango REST framework, Flask \u548c Spring Boot, \u6709\u5199\u6d4b\u8bd5\u7528\u4f8b\u7684\u4e60\u60ef, \u5199\u8fc7 Django \u63d2\u4ef6<br \/>\u6570\u636e\u5e93: \u6709\u4e00\u5b9a\u7684 MySQL \u8868\u8bbe\u8ba1\u53ca\u8c03\u4f18\u80fd\u529b, \u719f\u6089 NoSQL: MongoDB, Redis<br \/>\u7231\u94bb\u7814: \u957f\u671f\u4f7f\u7528 Ubuntu \u7cfb\u7edf\u4f5c\u4e3a\u4e3b\u529b\u673a, \u7075\u6d3b\u4f7f\u7528 Zsh + Tmux + Vim, \u719f\u7ec3\u8fdb\u884c\u5404\u9879\u914d\u7f6e<br \/>\u5206\u5e03\u5f0f: \u719f\u6089\u5206\u5e03\u5f0f\u7f13\u5b58 Redis \u3001\u6d88\u606f\u961f\u5217 RabbitMQ\uff0c \u4efb\u52a1\u8c03\u5ea6 Celery, \u4efb\u52a1\u76d1\u63a7 Flower<br \/>ORM: \u638c\u63e1 SQLAlchemy, DjangoORM<br \/>\u90e8\u7f72: \u638c\u63e1 Nginx, Caddy<br \/>\u5bb9\u5668: \u7f16\u5199 docker-compose, Dockerfile, \u4f7f\u7528 docker \u90e8\u7f72\u9879\u76ee      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>17<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1826597\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lostpg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             PEP8 \u662f\u600e\u4e48\u4e2a\u9075\u5b88\u6cd5\u3002\u3002\u3002<br \/>Vim \u80fd\u719f\u7ec3\u81ea\u5df1\u5199\u5404\u9879\u914d\u7f6e\u5012\u662f\u771f\u7684\u633a\u5389\u5bb3\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826598\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jacky23333 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u611f\u89c9\u4e0d\u591f\u6df1\u5165\uff0c\u505c\u7559\u5728\u8868\u9762\u3002\u6bd4\u5982 mysql \u8fd9\u91cc\uff0c\u5982\u679c\u662f\u719f\u6089 mysql \u5de5\u4f5c\u539f\u7406\uff0c\u5b58\u50a8\u5f15\u64ce\uff0cmysql \u9501\u7684\u673a\u5236\uff0c\u7d22\u5f15\uff0c\u4e8b\u52a1\u539f\u7406\uff0c\u6709\u4e00\u5b9a\u6162\u67e5\u8be2\u4f18\u5316\u80fd\u529b\u611f\u89c9\u9762\u8bd5\u5b98\u4f1a\u66f4\u559c\u6b22(\u5728\u6821\u83dc\u9e21\uff0c\u5404\u4f4d\u5927\u4f6c\u770b\u770b\u5c31\u597d)                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826599\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : richangfan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u91cd\u8981\u7684 LeetCode \u6ca1\u5199                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826600\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yiyi11 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u83dc\uff0c\u5f88\u4e0d\u9519\u4e86\uff0c\u5173\u952e\u8fd8\u662f\u591a\u79ef\u7d2f\u597d\u9879\u76ee\u7684\u7ecf\u9a8c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826601\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : salamanderMH <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u633a\u597d\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826602\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sazima <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lostpg #1 \u5c31\u662f\u5168\u7bc7\u4e0d\u4f1a\u6709 PEP 8 \u8b66\u544a\u7684\u90a3\u79cd\u5427, \u7279\u6b8a\u7684 typo \u9664\u5916<br \/>@Jacky23333 #2 \u4e0d\u4f1a\u554a-_-.., \u4f60\u662f\u5728\u6821\u5927\u4f6c, \u6211\u80fd\u4e0d\u80fd\u6076\u8865\u4e00\u5468\u5199\u4e0a<br \/>@richangfan #3 \u8c22\u8c22, java \u5237\u7684, \u624d\u5237 60 \u591a\u9053<br \/>@yiyi11 @salamanderMH \u8c22\u8c22 \u8fc7\u5956                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826603\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : izchker <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u4f4d 30 \u5c81\u5e9f\u7269\u8def\u8fc7\u7559\u4e0b\u4e86\u773c\u6cea                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826604\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhangqilin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u4e0d\u8bf4\u6211\u4ee5\u4e3a\u662f\u6211\u7684\u6280\u672f\u6808\u54c8\u54c8\u54c8 <br \/>\u57fa\u672c\u4e00\u6837<br \/>\u4e5f\u662f 17 \u5e74\u6bd5\u4e1a \u4e0d\u8fc7 17 \u5e74 10 \u6708\u624d\u627e\u5de5\u4f5c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826605\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : paoqi2048 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u719f\u6089 \/\u638c\u63e1\u90a3\u4e00\u5757\u53ef\u4ee5\u5c55\u5f00\u8bb2\u4e00\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826606\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hilong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5728 HR \u773c\u91cc\u662f\u633a\u83dc\u7684\uff0c\u4f60\u8fd9\u90fd\u624d\u521a\u719f\u6089\uff0c\u4e0d\u884c\uff0c\u6211\u4eec\u4e0d\u9700\u8981\u8fd9\u79cd\u521d\u7ea7\u5de5\u7a0b\u5e08                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826607\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sunny352787 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7b80\u5386\u4e0a\u8fd9\u4e48\u5199\u7684\u6211\u57fa\u672c\u90fd\u4e22\u6389\u4e86&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826608\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jooooooooo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8981\u628a\u6280\u80fd\u548c\u5de5\u5177\u5206\u5f00<\/p>\n<p>\u4ece\u771f\u6b63\u5e72\u6d3b\u7684\u89d2\u5ea6\u770b, \u6211\u53ea\u80fd\u770b\u89c1\u4f1a\u8bed\u8a00(python \u6211\u4e0d\u592a\u61c2, \u4e0d\u597d\u8bf4), \u4f1a mysql, \u4f1a redis, \u4f1a rabbit, \u4f1a celery.<\/p>\n<p>\u95ee\u95ee\u9898\u4e5f\u53ea\u80fd\u9488\u5bf9\u8fd9\u4e9b\u95ee\u4e86<\/p>\n<p>\u4f60\u53c2\u8003\u4e00\u4e0b\u8fd9\u4e9b\u95ee\u9898:<\/p>\n<p>mysql \u56de\u8868\u662f\u4ec0\u4e48\u610f\u601d? \u5bf9 sql \u4f18\u5316\u6709\u4ec0\u4e48\u5e2e\u52a9?<\/p>\n<p>\u4ece B+ \u6811\u7ed3\u6784\u5206\u6790\u4e00\u4e0b\u4e3a\u4ec0\u4e48\u4f1a\u6709\u6700\u5de6\u5339\u914d\u7684\u539f\u5219?<\/p>\n<p>redis \u4e00\u4e2a key \u7684 value \u8fc7\u5927\u5371\u5bb3\u662f\u4ec0\u4e48?<\/p>\n<p>\u4e1a\u52a1\u4e0a\u4f7f\u7528 MQ \u662f\u600e\u4e48\u8003\u8651\u6d88\u606f\u91cd\u590d, \u4e22\u5931, \u4e71\u5e8f\u8fd9\u51e0\u4e2a\u95ee\u9898\u7684? <\/p>\n<p>celery \u6211\u4e5f\u4e0d\u592a\u61c2<\/p>\n<p>\u518d\u6bd4\u5982\u64cd\u4f5c\u7cfb\u7edf, \u8003\u8651\u4e00\u4e0b\u4e0b\u9762\u7684\u95ee\u9898<\/p>\n<p>cpu \u901a\u5e38\u7684\u8c03\u5ea6\u65b9\u6cd5\u662f\u4ec0\u4e48?<\/p>\n<p>\u804a\u804a\u5bf9 MESI \u7684\u770b\u6cd5\u5427.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826609\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jooooooooo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u518d\u8bf4\u4e0b\u7b80\u5386<\/p>\n<p>\u6700\u597d\u5199\u6210\u662f\u8bf8\u5982<br \/>\u5bf9\u4ebf\u7ea7 mysql \u8868\u6709\u62c6\u5206, \u8c03\u4f18\u7b49\u7b49\u7ecf\u9a8c, <br \/>\u6709\u6392\u67e5\u670d\u52a1\u673a\u5668 cpu, \u7f51\u5361, \u78c1\u76d8\u7b49\u5f02\u5e38\u7ecf\u9a8c, \u719f\u6089\u5e38\u7528\u6545\u969c\u6392\u67e5\u547d\u4ee4,<br \/>\u6709\u4f7f\u7528\u6570\u5341 G, \u6570\u5341\u4e07 QPS redis \u7ecf\u9a8c, \u719f\u6089\u6b63\u786e\u7684 redis \u4f7f\u7528\u65b9\u6cd5, \u80fd\u907f\u514d\u4f7f\u7528\u4e0a\u7684\u5751<\/p>\n<p>\u7b49\u7b49                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826610\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : noreplay <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u4f4d 31 \u5c81\u5e9f\u7269\u8def\u8fc7\u7559\u4e0b\u4e86\u773c\u6cea                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826611\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fanhaipeng0403 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @noreplay \u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826612\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lithbitren <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e5f\u5c31\u662f\u6280\u672f\u6808\u5217\u4e3e\u6700\u597d\u5e26\u4e0a\u4f8b\u5b50\uff0c\u4e3e\u4f8b\u89e3\u51b3\u8fc7\u4ec0\u4e48\u95ee\u9898\u6216\u80fd\u89e3\u51b3\u4ec0\u4e48\u95ee\u9898\uff0c\u89c4\u6a21\u96be\u5ea6\u5982\u4f55\uff0c\u5149\u8bf4\u719f\u6089\u719f\u7ec3\u638c\u63e1\u7cbe\u901a\uff0c\u5176\u5b9e\u548c\u6ca1\u8bf4\u4e00\u6837\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1826613\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sazima <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jooooooooo @lithbitren @paoqi2048 \u6709\u9053\u7406, \u7ec6\u5316\u4e4b\u540e\u611f\u89c9\u81ea\u5df1\u4e0d\u600e\u4e48\u83dc\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e9b\u6280\u80fd\u6e05\u5355\u662f\u4e0d\u662f\u592a\u83dc\u4e86, 17 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/109569"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=109569"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/109569\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=109569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=109569"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=109569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}