You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
version 1.8
What operating system and processor architecture are you using (go env)?
raspberry Pi
NOOBS
Version:2.4.2
What did you do?
I've capture multicast with a socket program based on Go, and analyze this traffic with go functions...
each frame multicast generate 7 Transporstream data with each distinct header
attached a picture where explain each TransporStream data
the problem is for each TS i need to read and re-write information online , for each data that I've recibed... I've read and write with header information, the problem was that has an issue with map key function, but is solved with sync library, but for my program, this sync library was very slow , the program can't catch all parameters , then into my console log doesn't show me any data, because I think is blocked for sync fuction,....also data input is a lot ... each frame arrive on 0.8 ms.
here is part of my code where I see that the problem appears, when I try to get new parameters on switch loop.
I use PHP for socket programming, instendent of go and , use the same fuctionality withouth no errors, I expect that go should be more faster that PHP and works to see more faster and not need to use Lock and Unlock fuctions for generate more slower my program.
What did you see instead?
I saw many
thanks for your help, I'm a bit new on Go, but I would like to learn it because is very similar to "C" and more faster than PHP and python...
thanks for your help, and very sorry if you not understand all that write here, my english isn't very good.
The text was updated successfully, but these errors were encountered:
ok... Brad, I understood, but Map Key sync functionality has a problem, is very slow , and block and unblok the map key is not a solution , how can you fix that?
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?version 1.8
What operating system and processor architecture are you using (
go env
)?raspberry Pi
NOOBS
Version:2.4.2
What did you do?
I've capture multicast with a socket program based on Go, and analyze this traffic with go functions...
each frame multicast generate 7 Transporstream data with each distinct header
attached a picture where explain each TransporStream data
the problem is for each TS i need to read and re-write information online , for each data that I've recibed... I've read and write with header information, the problem was that has an issue with map key function, but is solved with sync library, but for my program, this sync library was very slow , the program can't catch all parameters , then into my console log doesn't show me any data, because I think is blocked for sync fuction,....also data input is a lot ... each frame arrive on 0.8 ms.
here is part of my code where I see that the problem appears, when I try to get new parameters on switch loop.
What did you expect to see?
I use PHP for socket programming, instendent of go and , use the same fuctionality withouth no errors, I expect that go should be more faster that PHP and works to see more faster and not need to use Lock and Unlock fuctions for generate more slower my program.
What did you see instead?
I saw many
thanks for your help, I'm a bit new on Go, but I would like to learn it because is very similar to "C" and more faster than PHP and python...
thanks for your help, and very sorry if you not understand all that write here, my english isn't very good.
The text was updated successfully, but these errors were encountered: