How does Internet application work? Let's realize this set of toys by ourselves!

  • By null
  • Last update: Jul 1, 2022
  • Comments: 1

unnamed

gh-action codecov Bors enabled report card License

Description

Project Structure

  1. It based on project-layout
  2. This project use go work mode to manage different modules

Project Architecture

With Jetbrains products,you can search markdown in settings,then install mermaid extension,then you can see the following graph

flowchart LR
    app-load-balancer-->app-web-server-->app-web
     
    app-web-->app-relation-database
    app-web-->app-cache
    app-web-->app-recommend-engine
    app-web-->app-message-queue
    app-web-->app-full-text-search-engine
   
    app-relation-database-.->comp-tcp-client-server
    app-relation-database-.->comp-tokenizer
    app-relation-database-.->comp-file-store
    app-relation-database-.->comp-filter
    app-relation-database-.->comp-cache
    
    app-recommend-engine-.->comp-tokenizer
    app-recommend-engine-.->comp-file-store
    app-recommend-engine-.->comp-http-client-server
    app-recommend-engine-.->comp-filter
    
    app-cache-.->comp-tcp-client-server
    app-cache-.->comp-cache
    app-cache-.->comp-file-store
    
    app-full-text-search-engine-.->comp-http-client-server
    app-full-text-search-engine-.->comp-file-store
    app-full-text-search-engine-.->comp-filter
    app-full-text-search-engine-.->comp-tokenizer
    
    app-message-queue-.->comp-tcp-client-server
    app-message-queue-.->comp-file-store
    app-message-queue-.->comp-filter
    app-message-queue-.->algo-delay-message
    
    comp-file-store
    comp-http-client-server
    comp-tcp-client-server
    comp-file-cache
    comp-memory-cache
    comp-tokenizer
    comp-filter
    
    
    algo-b-tree-index
    algo-hash-index
    algo-inverted-index
    algo-bitcask
    algo-delay-message
    
    algo-lru
    algo-wal
    
    algo-filter-stop-word
    algo-filter-stemmer
    algo-filter-collaborative
    algo-filter-lowercase
    
    
    comp-http-client-server-.->comp-tcp-client-server
    comp-http-client-server-.->comp-file-cache
    
    comp-memory-cache-.->algo-lru
    comp-memory-cache-.->algo-hash-index
    
    comp-file-store-.->algo-bitcask
    comp-file-store-.->algo-inverted-index
    comp-file-store-.->algo-b-tree-index
    comp-file-store-.->algo-wal
    comp-file-store-.->algo-hash-index
    comp-file-store-.->algo-lsm-tree
    
    comp-filter-.->algo-filter-stop-word
    comp-filter-.->algo-filter-stemmer
    comp-filter-.->algo-filter-collaborative
    comp-filter-.->algo-filter-lowercase
    
    comp-cache-.->comp-memory-cache
    comp-cache-.->comp-file-store
    

Download

unnamed.zip

Comments(1)

  • 1

    help to contribute a project name

    How to name it?

    计算机科学中只有两件难事:缓存失效和命名 —— 菲尔·卡尔顿

    目前,此项目也遇到了第一个问题:项目命名

    另一个 Yet another something

    比较有趣的名字,另一种xxx,类似的有

    • yaf: yet another framework
    • yar: yet another redis
    • yam: yet another mongodb

    那我们就可以取,yaw(偏航):yet another wheel,另一个轮子,释义为偏航,颇有一些开发之路跑偏了的意思

    递归命名 Recursive naming

    一种是递归命名法,大名鼎鼎的 GNU ,GUN's Not Unix,还有下列这些大名鼎鼎的软件

    • PIP: PIP Installs Packages
    • Wine: Wine Is Not an Emulator
    • RPM: RPM Package Manager
    • PHP: PHP--Hypertext Preprocessor

    可以取 pinwheel:纸风车,PINWheel Is Not Wheel,致敬以上软件.

    恶搞 Spoof

    其实组织名screw-coding的灵感就来自于一个笑话

    面试造火箭,入职拧螺丝

    因此我们这个项目,可以取这些名字

    • screw-create-wheels:螺丝造轮子
    • screws-inside-wheel: 轮子上的螺丝钉
    • rtw: Reinventing the wheel:重新创造轮子
    • re-re-re-inventing:狂造轮子

    以上名字都是自黑自己的,不影射到任何的软件项目上.

    流量密码类 The secret of the flow traffic

    观察下github的Trending命名,可以发现一些类似的名字,awesome-xxx,简直是star收割机,说实话我也对这种项目没有抵抗力~

    因此我们这个项目,可以取这些名字

    • awesome-wheels
    • full-stack-wheels
    • wheels-all-in-one

    收集一下目前的名字

    1. [ ] Yaw: Yet another wheel
    2. [ ] pinwheel:pinwheel Is Not Wheel
    3. [ ] awesome-wheels
    4. [ ] full-stack-wheels
    5. [ ] wheels-all-in-one
    6. [ ] screw-create-wheels
    7. [ ] screws-inside-wheel
    8. [ ] rtw: Reinventing the wheel
    9. [ ] re-re-re-inventing

    请求帮助

    如果你有更好的建议,请在评论中写出,或者直接填写这个选择问卷,谢谢!

    Let me know if you have a better suggestion, or comment on the names you like already listed Please take the time to complete this short survey