开发者

How does Tir compare to other Lua web frameworks? [closed]

开发者 https://www.devze.com 2023-02-06 12:34 出处:网络
Closed. This question is opinion-based. It is not currently accepting answers. 开发者_如何学JAVA
Closed. This question is opinion-based. It is not currently accepting answers. 开发者_如何学JAVA

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 7 years ago.

Improve this question

How does Zed Shaw's Lua web framwork called Tir, compare to other Lua web frameworks such as Kepler, LuCI, etc?

Comparison to such things like:

  • maturity of code base
  • features/functionality
  • performance
  • ease of use

UPDATE:

Since Tir is based on the use of Lua's coroutine, doesn't this imply that Tir will never be able to scale well? Reason being, Lua's coroutine's cannot take advantage of multi-core/processor systems given that coroutines are implemented in Lua as a cooperative/collaborative threads (as opposed to pre-emptive)?


Tir is much newer than Kepler or LuCI, so the code isn't nearly as mature. I would rank Tir as experimental, right now. The same factor also means that it has significantly fewer features.

It does have a very pleasant continuation passing style of development available though, through its coroutine based flow stuff.

I would rate it, personally, as fun for experimentation, but probably not ready for heavy lifting until Zed stabilizes it more :-)


This video from PyCon 2011 says basically you scale on multicore or multiprocessor by running more workers, under high load condition the memory advantage gives better performance. In the video it's said that at Meebo's they have used this approach for last months with huge load.

The video is python specific, so it's just for the scaling of coroutine approach part of the question. Video length is about thirty minutes.

0

精彩评论

暂无评论...
验证码 换一张
取 消