Thread: RSPS Networking Library Choices

Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1 RSPS Networking Library Choices 
    Registered Member
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    26
    Posts
    5,103
    Thanks given
    1,818
    Thanks received
    1,767
    Rep Power
    2438
    In the history of rsps development, there have been many popular libraries of choice, and more are starting to pop up. Which ones do you prefer?
    I'm currently going through ktor and comparing it with netty - I'll publish some results soon.

    Articles: https://matej.laitl.cz/bench-rust-kotlin-microservices/
    Discussions: https://github.com/ktorio/ktor/issues/411
    Last edited by Tyluur; 01-13-2021 at 07:34 PM.
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Spoiler for skrrrrr:

    Attached image
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Registered Member
    Join Date
    Dec 2013
    Posts
    419
    Thanks given
    127
    Thanks received
    85
    Rep Power
    349
    https://vertx.io/

    You won't beat it.
    Reply With Quote  
     

  4. #3  
    Registered Member
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    26
    Posts
    5,103
    Thanks given
    1,818
    Thanks received
    1,767
    Rep Power
    2438
    Quote Originally Posted by Kiissmyswagb View Post
    https://vertx.io/

    You won't beat it.
    The verbosity of it could be reduced if you use a Kotlin project . It seems similar to Ktor though...
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Spoiler for skrrrrr:

    Attached image
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Dec 2013
    Posts
    419
    Thanks given
    127
    Thanks received
    85
    Rep Power
    349
    Quote Originally Posted by Tyluur View Post
    The verbosity of it could be reduced if you use a Kotlin project . It seems similar to Ktor though...
    It's a polyglot framework and there is a kotlin version.

    Also as a disclaimer: I've been vertx for about 4 years so I will be very bias.
    Reply With Quote  
     

  6. #5  
    Registered Member
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    26
    Posts
    5,103
    Thanks given
    1,818
    Thanks received
    1,767
    Rep Power
    2438
    Quote Originally Posted by Kiissmyswagb View Post
    It's a polyglot framework and there is a kotlin version.

    Also as a disclaimer: I've been vertx for about 4 years so I will be very bias.
    Disclaimer: I've been using netty since I can remember, so I may be very biased.

    ----

    I briefly skimmed over the website, what made you stick with it for so long? I'm looking at ktor right now and it's starting to look > netty.

    Example: https://gist.github.com/Tyluur/167c0...7c4e0240502e72
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Spoiler for skrrrrr:

    Attached image
    Reply With Quote  
     

  7. #6  
    Registered Member
    Join Date
    Dec 2013
    Posts
    419
    Thanks given
    127
    Thanks received
    85
    Rep Power
    349
    Quote Originally Posted by Tyluur View Post
    Disclaimer: I've been using netty since I can remember, so I may be very biased.

    ----

    I briefly skimmed over the website, what made you stick with it for so long? I'm looking at ktor right now and it's starting to look > netty.

    Example: https://gist.github.com/Tyluur/167c0...7c4e0240502e72
    Keep your bias, vertx is using netty under the hood.

    The vertx ecosystem is a million times bigger than ktor. You're better off going through the website.

    It's also won some tech awards, if that matters.
    Reply With Quote  
     

  8. #7  
    Registered Member
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    26
    Posts
    5,103
    Thanks given
    1,818
    Thanks received
    1,767
    Rep Power
    2438
    Quote Originally Posted by Kiissmyswagb View Post
    The vertx ecosystem is a million times bigger than ktor. You're better off going through the website.
    In your use case though, how would the application differ if you simply used netty, or switched to ktor, or another library?

    [-- low on research time atm --]

    -- edit

    Reading the article originally linked, this was a bit odd... The author benchmarked separate frameworks [excluding Vert.x]

    We also initially implemented a Kotlin proof-of-concept in Vert.x, but it turned out none of the team members was keen on the programming paradigm this framework suggested (which may be a subjective matter), so we hadn’t proceeded further with it.
    Attached image
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Spoiler for skrrrrr:

    Attached image
    Reply With Quote  
     

  9. #8  
    Registered Member
    Join Date
    Dec 2013
    Posts
    419
    Thanks given
    127
    Thanks received
    85
    Rep Power
    349
    Quote Originally Posted by Tyluur View Post
    In your use case though, how would the application differ if you simply used netty, or switched to ktor, or another library?

    [-- low on research time atm --]

    -- edit

    Reading the article originally linked, this was a bit odd... The author benchmarked separate frameworks [excluding Vert.x]
    Vertx is more of a toolkit over a socket library. If our concern was just networking, then using whatever would be fine. It just made development easier in every single aspect you could think of.

    I'm not going to turn this into a sales pitch but read their docs https://vertx.io/docs/ they're amazing.
    Last edited by Kiissmyswagb; 01-13-2021 at 09:29 PM. Reason: Removed image from quote
    Reply With Quote  
     

  10. #9  
    Registered Member
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    26
    Posts
    5,103
    Thanks given
    1,818
    Thanks received
    1,767
    Rep Power
    2438
    Quote Originally Posted by Kiissmyswagb View Post
    Vertx is more of a toolkit over a socket library. If our concern was just networking, then using whatever would be fine. It just made development easier in every single aspect you could think of.

    I'm not going to turn this into a sales pitch but read their docs https://vertx.io/docs/ they're amazing.
    Sounds interesting, I'll check it out later today, still looking into ktor.
    Cheers =].

    -- edit

    Willing to post any of your code samples? I'm starting to like the event bus bridge, and wondering how it's been implemented in rsps.
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Spoiler for skrrrrr:

    Attached image
    Reply With Quote  
     

  11. #10  
    Registered Member
    Join Date
    Dec 2013
    Posts
    419
    Thanks given
    127
    Thanks received
    85
    Rep Power
    349
    Quote Originally Posted by Tyluur View Post
    Sounds interesting, I'll check it out later today, still looking into ktor.
    Cheers =].

    -- edit

    Willing to post any of your code samples? I'm starting to like the event bus bridge, and wondering how it's been implemented in rsps.
    Check out their examples on GitHub
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. GNetLib V0.0.0.3 (A Simple Java Networking Library)
    By Rust in forum Application Development
    Replies: 6
    Last Post: 07-29-2015, 08:40 PM
  2. Replies: 3
    Last Post: 08-19-2014, 04:54 PM
  3. RSPStream: A GUI for RSPS Networking
    By 'Conner in forum Projects
    Replies: 19
    Last Post: 10-02-2010, 08:29 PM
  4. Replies: 7
    Last Post: 09-06-2009, 06:05 AM
  5. RSPS Server Library
    By Shiver in forum Downloads
    Replies: 49
    Last Post: 02-15-2009, 03:18 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •