Vertx3筆記(1)初步介紹

        Vertx是甚麼呢?如果你聽過Node.js,那就可以將Vertx理解為JVM上面的Node.js,跟Node.js一樣都是非阻塞(non blocking)與事件驅動(event driven),但更不同的是它支援了多種語言,且因為JVM有多執行緒(multithreading),所以在實作某些會被阻塞的程式,也有簡易的做法,如果是在Node.js上就要開給另外一個Node.js做,因為Node.js是單一執行緒。

        目前Vertx支援Java, JavaScript, Groovy, Ruby與Ceylon,讓不同語言的人都可以使用Vertx,雖然官方網站,稱自己是工具包,但很多開箱即用的功能與文件,比不少框架都還要好了解與上手,背後的金主是red hat。



官網的介紹寫的其實挺好的!

Vert.x是輕量級的,core只有約650kB
Vert.x is lightweight - Vert.x core is around 650kB in size.

Vert.x是快速的,這裡有一些第三方數據
Vert.x is fast. Here are some independent numbers.

Vert.x不是個App Server,(後面不太懂想表達的意思)
Vert.x is not an application server. There's no monolithic Vert.x instance into which you deploy applications. You just run your apps wherever you want to.

Vert.x是模組化的,你只些需要加入你需要的模組,不需要加入那些不需要的
Vert.x is modular - when you need more bits just add the bits you need and nothing more.

Vert.x是簡約卻不簡單的。 Vert.x允許你簡單的建立強大的Apps
Vert.x is simple but not simplistic. Vert.x allows you to create powerful apps, simply.

Vert.x是個創造輕量、高效能,微服務的理想選擇
Vert.x is an ideal choice for creating light-weight, high-performance, microservices.

延伸閱讀

留言