Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

would you please provide an never stuck pool function? #229

Open
showkeyjar opened this issue Jan 19, 2022 · 2 comments
Open

would you please provide an never stuck pool function? #229

showkeyjar opened this issue Jan 19, 2022 · 2 comments

Comments

@showkeyjar
Copy link

Hi, I use pathos to solve my data process work,

it usually stuck or blocked at file w/r, network, sql w/r ...

it's too many exceptions to cache, and those exceptions makes me crazy.

so I wonder, if your guys can design a module or function that can not be stuck anytime?

it maybe very useful if this module be published.

hope your answer, best wishes!

@mmckerns
Copy link
Member

What do you mean, never stuck? Basically, the map caller spawns jobs to the workers... and essentially listens/waits for a reply. Are you thinking that you would like a timed map that gives up if results don't come back in enough time, or what?

@showkeyjar
Copy link
Author

@mmckerns yes,

I think we don't care a little bad data when we process batch works for big data,
so there is no need to wait for all workers done, the bad or error data could be dropped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants