You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "James Clampffer (JIRA)" <ji...@apache.org> on 2018/04/05 15:21:00 UTC

[jira] [Created] (HDFS-13403) libhdfs++: Use hdfs::IoService object rather than asio::io_service

James Clampffer created HDFS-13403:
--------------------------------------

             Summary: libhdfs++: Use hdfs::IoService object rather than asio::io_service
                 Key: HDFS-13403
                 URL: https://issues.apache.org/jira/browse/HDFS-13403
             Project: Hadoop HDFS
          Issue Type: Task
            Reporter: James Clampffer
            Assignee: James Clampffer


At the moment the hdfs::IoService is a simple wrapper over asio's io_service object.  I'd like to make this smarter and have it do things like track which tasks are queued, validate that dependencies of tasks exist, and monitor ioservice throughput and contention.  In order to get there we need to use have all components in the library to go through the hdfs::IoService rather than directly interacting with the asio::io_service.  The only time the asio::io_service should be used is when calling things like asio::async_write that need an io_service&.  HDFS-11884 will be able get rid of those remaining instances once this work is in place.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org