NEW 我們Astro v5.1的新blog上線啦 »

joseph-avatar
Joseph

Hi, I am a freelancer.

I'm a Fullstack Developer passionate about System Design, DevOps, and AI. I enjoy building side projects and sharing insights on algorithms and GenAI through my blog.

Skills

Front-end

  • React

Back-end

  • Python
  • Ruby on rails
  • NodeJS

AI / Automation

  • n8n
  • chatgpt
  • groq
  • open web ui

Marketing

  • SEO / SEM
  • Google Analytics / Google Adwords
  • Facebook Pixel / Facebook Ads / Facebook Pages
  • LINE Sticker
  • Social marketing

Recently shares

Find out more content in our Blog

View all posts »
讓 Claude Code 離線運行:LiteLLM + Ollama / Lemonade 本地 LLM 整合指南

讓 Claude Code 離線運行:LiteLLM + Ollama / Lemonade 本地 LLM 整合指南

Claude Code 是 Anthropic 推出的強大命令列 AI 助手,預設會連接到 Anthropic 的雲端 API。然而,如果你身處高安全性內網環境、無網路的教學現場,或者想節省 API 費用,那麼將 Claude Code 橋接到本地運行的大型語言模型(LLM)是一個非常理想的解決方案。 本文將詳細說明如何透過 LiteLLM Proxy,將 Claude Code 的請求無縫轉發至本地的 Ollama 或 Lemonade 服務,並分享我們在實際整合過程中踩過的核心坑洞與解決方案。 TOC

System design - A Key-value Store

System design - A Key-value Store

今天要來筆記的是Key-value Store,是一種非關聯式資料庫,也就是一般用在redis, Amazon DynamoDB, 跟 Memcached裡,儲存資料的方法,Key是unique的、為了效能要越短越好;Value則可以是字串、List、Object、或任意資料結構。而這篇會講到如何設計一個Key-value store去達成get(key), put(key, value)、以及他們可能會遇到的問題。

Algorithm - hash map and set

Algorithm - hash map and set

import { YouTube } from 'astro-embed'; Set and Map 平常就有在用,map存的是Key-value pair、Set存的是unique value。而且操作上來說平均都是O(1)時間複雜度。這篇就來看看他們適合解哪些題型吧。

System design - Consistent hashing

System design - Consistent hashing

ByteByteGo這篇介紹的是一致性雜湊,一般來說會用到雜湊,目的是為了把流量透過固定的演算法,分散到某台機器上面,那什麼是一致性雜湊,不好的雜湊演算法又會有什麼問題呢?這篇筆記來說一下ByteByteGo怎麼介紹的。