• nipafx Profile Picture

    Nicolai Parlog 🇺🇦🕊️ @nipafx

    4 years ago

    Over the last two days I experimented a bit with Project Loom and built... * a folder size analyzer * an echo server (thanks for the help, @mmirwaldt) Each with and without virtual threads, which makes a huge difference (🧵👇🏾). Check it out: github.com/nipafx/loom-lab

    8 34 124 0 26
  • nipafx Profile Picture

    Nicolai Parlog 🇺🇦🕊️ @nipafx

    4 years ago

    Both experiments are implemented very naively. The size analyzer simply takes a folder and then recurses into all its children. For files, it queries their sizes with `Files::size`; for folders it sums the sizes of its children. My home directory has ~2m files with ~300GB.

    1 0 5 0 0
  • ElliotBarlas Profile Picture

    Elliot Barlas @ElliotBarlas

    4 years ago

    @nipafx @mmirwaldt I attempted a Project Loom echo client/server experiment of my own. The slogan by @pressron "codes like sync, scales like async" is absolutely accurate, from what I can tell.

    ElliotBarlas Profile Picture

    Elliot Barlas @ElliotBarlas

    4 years ago

    @nipafx @mmirwaldt I attempted a Project Loom echo client/server experiment of my own. The slogan by @pressron "codes like sync, scales like async" is absolutely accurate, from what I can tell.

    ElliotBarlas tweet picture

    6 37 127 0 17
    Download Image

    0 0 2 0 0
  • lucianct2k2 Profile Picture

    Lulu @lucianct2k2

    4 years ago

    @nipafx @mmirwaldt Besides the performance improvements I think the code is munch simpler to write and understand: you don't have to think about how to manage the underlting resources. I hope it comes soon to jdk 🙂

    0 0 2 0 0
  • ElliotBarlas Profile Picture

    Elliot Barlas @ElliotBarlas

    4 years ago

    @nipafx @mmirwaldt Very cool! User-mode thread support in Java is such a huge leap forward! I'm very surprised to see a 10x difference with just 1k messages in the echo server experiment. Would you share the command line args used for client and server?

    1 0 1 0 0
  • SileTwit Profile Picture

    Twit Sile @SileTwit

    4 years ago

    @nipafx @java @mmirwaldt What about memory consumption? Does loom need much more?

    1 0 1 0 0
  • juiceman_marty Profile Picture

    Marty Juiceman 🏴󠁧󠁢󠁥󠁮󠁧󠁿 @juiceman_marty

    4 years ago

    @nipafx @mmirwaldt I wonder how a Vert.x echo server compares, probably pretty similar i believe

    1 0 1 0 0
  • tschuehly Profile Picture

    Thomas Schilling @tschuehly

    4 years ago

    @nipafx @mmirwaldt I recently did the same with GO and Goroutines, I don't have a pooled version, but with a larger Folder Structure on a hdd it does crash. Would you think a thread pool would avoid this issue?

    1 0 1 0 0
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 www.instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro x profile viewer