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

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
主站蜘蛛池模板: 栾川县| 武胜县| 连云港市| 鸡泽县| 申扎县| 乌鲁木齐县| 星座| 屏东县| 保山市| 松潘县| 和硕县| 桑植县| 昌平区| 嘉鱼县| 邵阳市| 台湾省| 如皋市| 沅陵县| 连云港市| 镇安县| 松阳县| 灵宝市| 奉新县| 中方县| 锡林浩特市| 嘉祥县| 永平县| 拉孜县| 纳雍县| 保定市| 玛沁县| 大方县| 右玉县| 高唐县| 镇沅| 睢宁县| 兴国县| 聂拉木县| 桦甸市| 远安县| 勐海县|