You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "SkyFan2002 (via GitHub)" <gi...@apache.org> on 2023/04/07 13:17:00 UTC

[GitHub] [incubator-opendal] SkyFan2002 opened a new issue, #1871: feat: madsim support

SkyFan2002 opened a new issue, #1871:
URL: https://github.com/apache/incubator-opendal/issues/1871

   madsim-rs/madsim#122


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] SkyFan2002 commented on issue #1871: feat: madsim support

Posted by "SkyFan2002 (via GitHub)" <gi...@apache.org>.
SkyFan2002 commented on issue #1871:
URL: https://github.com/apache/incubator-opendal/issues/1871#issuecomment-1502799254

   A rough plan:
   1. overall framework
   - [ ]  `MadsimLayer` 
   - [ ] a server that simulates the service
   - [ ] use madsim's network API to connect them
   - [ ] simple tests like `write()` and `read()`
   
   2. continue to improve
   
   - [ ] support for more interfaces
   - [ ] inject failures 
   - [ ] ...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] wangrunji0408 commented on issue #1871: feat: madsim support

Posted by "wangrunji0408 (via GitHub)" <gi...@apache.org>.
wangrunji0408 commented on issue #1871:
URL: https://github.com/apache/incubator-opendal/issues/1871#issuecomment-1501963722

   Coming from #1893.
   Given that there's already an abstract layer in OpenDAL, I suggest building a simulator directly for the interface semantics, rather than using madsim-aws-sdk-s3 as a backend. This idea aligns with @Xuanwo's suggestion: "the sim feature be implemented as a separate layer or service".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo closed issue #1871: layers: madsim support

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #1871: layers: madsim support
URL: https://github.com/apache/incubator-opendal/issues/1871


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo commented on issue #1871: feat: madsim support

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #1871:
URL: https://github.com/apache/incubator-opendal/issues/1871#issuecomment-1502076117

   After some discussion with @SkyFan2002, we found it's better to implement this feature as a `MadsimLayer` so all service can be tested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org