add sharded version of parallel writes; move writes and writes_discard to lib.rs

Created by  2paXZqkGuqYVrdei2n8ZVCtynbH1mwewHrmi87LA9cto  on January 19, 2022
J7KIVYF5AYPZVBJN4F5C6JL7JKT7P6H4KB5QEUOSNTLHGSD47PEAC
In channels
main
Change contents