V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
cpdyj0
V2EX  ›  程序员

使用 Vert.x 时有哪些注意事项?

  •  
  •   cpdyj0 ·
    cpdyj · Jan 14, 2019 · 2106 views
    This topic created in 2670 days ago, the information mentioned may be changed or developed.

    我要实现的是一个 web 服务,请求进来时要经过很多过滤器打标签,我现在的想法是把这些过滤器做成 Vertical,然后全部通过 EventBus 通讯。请求进入第一个 filter,处理完后扔给下一个这样。这样做有哪些缺点呢?或者有哪些更好的办法?

    1 replies    2019-01-15 00:34:47 +08:00
    kran
        1
    kran  
       Jan 15, 2019 via Android   ❤️ 1
    可以考虑使用 publish 广播,而不是链式
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1072 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 202ms · UTC 22:59 · PVG 06:59 · LAX 15:59 · JFK 18:59
    ♥ Do have faith in what you're doing.