Do you still remember that random graph interface that you guys ruined? It was updated today! In the past few years, Random Graph API has been a “little toy” and “common tool” for many front-end developers, 2D webmasters, and even desktop plug-in enthusiasts.

🥇 Generation 1: Simple but clunky starting point

To be honest, the random graph API at that time was just a small PHP script + a cloud host. The goal at that time was simple: provide an interface that can return random pictures.

Features are as follows:

PLAINTEXT
[Client] ---> [Center Server (Only)] ---> [Image File]
Click to expand and view more

🥈 The second generation: the transitional era of cloudization and caching

After entering the second generation, the random graph API has entered the “cloudification” stage. Arrangements have been made to move services to the cloud, introduce caching, CDN, and load distribution.

Main changes:

PLAINTEXT
[Client]
   ↓
[Cloud server interface layer] --> [CDN cache] --> [Image bed (Sina)]
Click to expand and view more

🚀 The third generation random graph API is here!

✨ Core Highlights

The third generation random graph API is an architectural rebirth.

Relying on the powerful capabilities of Tencent Cloud EdgeOne with more than 3200+ edge nodes, requests can be automatically scheduled globally to the node closest to the user for execution, achieving a true decentralized distributed architecture.

⚡️ Core changes:

PLAINTEXT
                            ┌────────┐
 [Client] ──▶ │ Nearest edge node │
                             └───┬─────┘
                                    ↓
                              [Edge function processing request]
                                    ↓
                            [Response to random image link]
Click to expand and view more

🗂 System update


📡 Access experience address:

👉 https://random.moejue.cn

Note: Due to well-known reasons, the global acceleration zone (excluding mainland China)

Copyright Notice

Author: MoeJue

Link: https://ja.moejue.cn/en/posts/288/

License: クリエイティブ・コモンズ表示-非営利-継承4.0国際ライセンス

この作品は、クリエイティブ・コモンズ表示-非営利-継承4.0国際ライセンスに基づいてライセンスされています。

Start searching

Enter keywords to search articles

↑↓
ESC
⌘K Shortcut