<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on 分而治之</title><link>https://www.justinchen928.com/posts/</link><description>Recent content in Posts on 分而治之</description><generator>Hugo -- gohugo.io</generator><language>zh-TW</language><managingEditor>justin928501@gmail.com (CHIH-YU CHEN)</managingEditor><webMaster>justin928501@gmail.com (CHIH-YU CHEN)</webMaster><lastBuildDate>Sun, 29 Mar 2020 08:05:10 +0800</lastBuildDate><atom:link href="https://www.justinchen928.com/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>單線程的Node.js如何做到非同步</title><link>https://www.justinchen928.com/posts/how-does-nodejs-handle-asynchronous-operations/</link><pubDate>Sun, 29 Mar 2020 08:05:10 +0800</pubDate><author>justin928501@gmail.com (CHIH-YU CHEN)</author><guid>https://www.justinchen928.com/posts/how-does-nodejs-handle-asynchronous-operations/</guid><description>&lt;p>前陣子因為要向同事解釋node.js專案的某段程式碼時，他問很多問題，其中一個問題是：&lt;/p>
&lt;blockquote>
&lt;h1 id="nodejs-是怎麼做到非同步">Node.js 是怎麼做到非同步&lt;/h1>
&lt;/blockquote>
&lt;p>記得我當時是回答了一個錯得離譜的答案，就不說出來給大家笑了。於是我花了一段時間研究Node.js或者說Javascript是怎麼運作的，以下的心得跟大家分享，&lt;strong>如果有任何錯誤，歡迎直接留言指正。&lt;/strong>&lt;/p></description></item><item><title>透過AWS SQS + lambda完成大量發送服務</title><link>https://www.justinchen928.com/posts/message-delivery-service-with-sqs-and-lambda/</link><pubDate>Fri, 03 Jan 2020 08:05:10 +0800</pubDate><author>justin928501@gmail.com (CHIH-YU CHEN)</author><guid>https://www.justinchen928.com/posts/message-delivery-service-with-sqs-and-lambda/</guid><description>&lt;h1 id="大量發送服務-aws-sqs--lambda">大量發送服務 AWS SQS + lambda&lt;/h1>
&lt;p>&lt;img src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*heKgKewNwN3wIqY8SO8U6g.png" alt="Cover">&lt;/p>
&lt;p>年初時，接到一個需求是需要在短時間內發送大量的訊息，以公司現有的架構(PHP)要做到這件事就是要提早幾個小時先產出要發送的資料和名單，然後另外一支程式負責抓出來一筆一筆寄出去。&lt;/p></description></item><item><title>ssh key pair登入Server</title><link>https://www.justinchen928.com/posts/login-remote-server-with-ssh-key-pair/</link><pubDate>Sun, 29 Dec 2019 08:05:10 +0800</pubDate><author>justin928501@gmail.com (CHIH-YU CHEN)</author><guid>https://www.justinchen928.com/posts/login-remote-server-with-ssh-key-pair/</guid><description>&lt;p>&lt;img src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*608C4EoqJ5WDMPOqZOX8_Q.png" alt="Cover">&lt;/p>
&lt;p>最近在嘗試用 VS code的Remote-ssh，但每次都需要輸入密碼很麻煩，想說直接用key登入，就不用輸入密碼。&lt;/p></description></item></channel></rss>