Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

networking stuff..

 [1/3] from: matt::fitzgerald::bigpond::com at: 5-Oct-2001 15:18


How efficient is REBOL at networking? (Fairly general statement eh?) We've developed an application in C++ that creates a number of worker threads and simply listens on a TCP/IP port for incoming messages, quite often the load is quite intense (the application is infrastructure management software) as agents are trying to connect with the server to send their details through (only 557 bytes at a time per agent); at the moment the application we've made performs quite well. However, I can see REBOL being a perfect replacement for our agents and our server, provided that it would be able to handle the load. I'm VERY new to REBOL but so far I'm very impressed (anything by Carl must be good; I'm an Amiga freak from way back). Does it have any concept of threads? Or does it just magically handle the network connections without me having to worry about it? Cheers, -Matt

 [2/3] from: m:koopmans2:chello:nl at: 5-Oct-2001 10:09


Matt, You may want to check out Rugby which utilizes non-blocking I/O instead of threads (which Rebol doesn't have). Rugby is a broker for Rebol. Depending on your application logic it handles a lot of concurrent connections. www.rebolforces.com/~erebol --Maarten

 [3/3] from: matt:fitzgerald:bigpond at: 5-Oct-2001 18:24


Yeah, I've just finished reading about that - might have a look at some samples and see how I go! If I can phase out the C++ code and make everything REBOL it would make the application so much easier to implement would make modifications relatively easy for the end user (at the moment I'm the sole developer and am constantly adding new features for the users). Regards, -Matt