J
John Merlino
I want to create a socket server that listens for incoming UDP packets
which come in as hexidecimal values, which means they must be
converted into ASCII format in ruby. Some of those hex values
represent multi-byte characters. So the socket server needs to be
listening for incoming connections, and there is over 10,000 packets
coming in throughout the day. Then it needs to do the conversion from
binary, and then it needs to update a postgresql database with the
decoded values. Would their be a significant performance hit doing
this in ruby? Or would this situation be preferred to be handled in
python or c++?
which come in as hexidecimal values, which means they must be
converted into ASCII format in ruby. Some of those hex values
represent multi-byte characters. So the socket server needs to be
listening for incoming connections, and there is over 10,000 packets
coming in throughout the day. Then it needs to do the conversion from
binary, and then it needs to update a postgresql database with the
decoded values. Would their be a significant performance hit doing
this in ruby? Or would this situation be preferred to be handled in
python or c++?