Slide 27
Slide 27 text
Ծઆͱݕূᶅ
• <Ծઆ>-FUUVDFͷΠϕϯτϧʔϓεϨουͰͷϒϩοΩϯάૢ࡞͕ݪҼʁ
• -FUUVDF 3FGFSFODF (VJEFʹҎԼͷهࡌ͕͋Δ
• As a rule of thumb, never block the event loop. If you need to chain futures using blocking calls, use the
thenAcceptAsync()/thenRunAsync() methods to fork the processing to another thread. ˞
• ϦϦʔε͞ΕͨίʔυΛͬ͘͡ΓಡΜͰΈͨΒ͔֬ʹLettuceͷεϨου্ͰJDBCͰΫΤϦΛ࣮ߦ
͍ͯ͠Δ…
※出典: https://lettuce.io/core/release/reference/#asynchronous-api.consuming-futures