slipsoft / slipdb

Distributed index based search engine.
4 stars 0 forks source link

Use ThreadPoolExecutor in Parallel Loader #98

Open n-peugnet opened 5 years ago

n-peugnet commented 5 years ago

https://github.com/slipsoft/slipdb/blob/e69739f2e4c39e035a1dd4733716b50a04911a02/src/main/java/db/data/load/ParallelLoader.java#L73

Parce que franchement c'est 100 fois mieux (et 100 fois plus simple)

SylvainJoube commented 5 years ago

Ah, je veux bien te croire ^-^ Je connais pas bien du tout les thread pool, ça me fera plaisir d'apprendre :3

n-peugnet commented 5 years ago

Ah bah tu va voir c'est le kiff. En plus tu récupères des Future (aka notre classe fav avec @etienne-lelouet) avec ça si je dis pas de bêtise

etienne-lelouet commented 5 years ago

j'ai commencé à l'utiliser pour SDFS, c'est le feu

Get Outlook for Androidhttps://aka.ms/ghei36


From: Nicolas Peugnet notifications@github.com Sent: Thursday, June 13, 2019 7:50:00 PM To: slipsoft/slipdb Cc: etienne-lelouet; Mention Subject: Re: [slipsoft/slipdb] Use ThreadPoolExecutor in Parallel Loader (#98)

Ah bah tu va voir c'est le kiff. En plus tu récupères des Future (aka notre classe fav avec @etienne-lelouethttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fetienne-lelouet&data=02%7C01%7C%7C87e7ec4ce7504e2cfd8f08d6f0278eef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636960450019107657&sdata=XGzAQxmXVxog0%2FtN0E7E6P1LQfoGxg38WzUyVcZzRQ0%3D&reserved=0) avec ça si je dis pas de bêtise

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fslipsoft%2Fslipdb%2Fissues%2F98%3Femail_source%3Dnotifications%26email_token%3DAHU3NOJPIFSXKP3OMLIG7IDP2KCERA5CNFSM4HXNXYCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXUQNFA%23issuecomment-501810836&data=02%7C01%7C%7C87e7ec4ce7504e2cfd8f08d6f0278eef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636960450019117662&sdata=8Qn2Wh9K3xVjmHn5r%2FOt6Awne4vfQVecVKi%2FJjAhwoI%3D&reserved=0, or mute the threadhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHU3NOJ4IUVQDTD2LUETIXTP2KCERANCNFSM4HXNXYCA&data=02%7C01%7C%7C87e7ec4ce7504e2cfd8f08d6f0278eef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636960450019127673&sdata=g1fbBAwRR%2BxX%2FbVg7Y0%2FOU%2Fxwok3qlMs%2BeZmeHMEfMc%3D&reserved=0.