官术网_书友最值得收藏!

Creating Your Own CES Framework with core.async

In the previous chapter, it was alluded to that core.async operates at a lower level of abstraction when compared to other frameworks, such as RxClojure or RxJava. This is because, most of the time, we have to think carefully about the channels we are creating, as well as what types and sizes of buffers to use, whether we need pub/sub functionality, and so on.

Not all applications require such level of control, however. Now that we are familiar with the motivations and main abstractions of core.async, we can embark on writing a minimal CES framework, using core.async as the underlying foundation.

By doing so, we avoid having to think about thread pool management, as the framework takes care of that for us.

In this chapter, we will cover the following topics:

  • Building a CES framework using core.async as its underlying concurrency strategy
  • Building an application that uses our CES framework
  • Understanding the trade-offs in terms of the different approaches that have been presented so far
主站蜘蛛池模板: 永登县| 丹寨县| 新余市| 龙川县| 卫辉市| 西丰县| 洮南市| 交口县| 景宁| 常宁市| 湘潭县| 大庆市| 英超| 兴宁市| 周宁县| 原平市| 湄潭县| 嘉荫县| 平凉市| 鱼台县| 丹阳市| 万宁市| 平定县| 通许县| 琼结县| 乌兰察布市| 奎屯市| 邹平县| 泗洪县| 峡江县| 峨眉山市| 太保市| 阿拉尔市| 安达市| 东丽区| 金秀| 黄龙县| 互助| 墨竹工卡县| 正定县| 皮山县|