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

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
主站蜘蛛池模板: 横峰县| 西充县| 泾阳县| 福安市| 丹东市| 南涧| 托克逊县| 温宿县| 万荣县| 鲁山县| 枣阳市| 仙游县| 科技| 泸西县| 田阳县| 玉山县| 遵义县| 沽源县| 花莲县| 太仆寺旗| 郯城县| 思茅市| 旌德县| 安丘市| 翁牛特旗| 崇明县| 神农架林区| 特克斯县| 拉萨市| 明溪县| 禄丰县| 湖州市| 万山特区| 大关县| 日照市| 建水县| 桃园市| 尖扎县| 梨树县| 彭山县| 乌兰县|