Hello!
We are developing MMO project using Unity3D and Smarfox. After upgrade Smartfox2.dll from 1.0.1 to 1.0.3 we had found that we can't send and receive more than 100 packets per second. It's a bottle neck for our real-time game.
We tested our network with network sniffer - it's ok.
We think that the problem is located in new feature - multithreaded sending of requests.
Could you help us?
Low read/write rate in version 1.0.3
Re: Low read/write rate in version 1.0.3
Hi,
100 packets per second doesn't sound like reasonable rate in a real life multiplayer game.
Even the most lucky players get a latency of 40-50ms at best which means it's usually best not to exceed 20 packets/sec over TCP or a bit more over UDP.
Can you explain your use case?
Thanks
100 packets per second doesn't sound like reasonable rate in a real life multiplayer game.
Even the most lucky players get a latency of 40-50ms at best which means it's usually best not to exceed 20 packets/sec over TCP or a bit more over UDP.
Can you explain your use case?
Thanks
Re: Low read/write rate in version 1.0.3
The case is:
20 battle cars wich sends 5 times per seconds it's position plus 5 times per seconds rotation of it's turret.
Every car can shoot from 2 different weapons. Every shot can damage rival.
Every rival can send chat messages.
We use UDP when it's possible but 100 packets limit kills all gameplay. When we use 1.0.1 version of SmartFox2.dll everything is ok.
The project is http://mwogame.com/media
20 battle cars wich sends 5 times per seconds it's position plus 5 times per seconds rotation of it's turret.
Every car can shoot from 2 different weapons. Every shot can damage rival.
Every rival can send chat messages.
We use UDP when it's possible but 100 packets limit kills all gameplay. When we use 1.0.1 version of SmartFox2.dll everything is ok.
The project is http://mwogame.com/media
Re: Low read/write rate in version 1.0.3
I see, so your concern is more on the reading side... makes sense.
I think I know why this is happening, but I need ThomasLund to double check the code.
I think I know why this is happening, but I need ThomasLund to double check the code.
Re: Low read/write rate in version 1.0.3
Looking forward to hearing from you. Thanks.
Re: Low read/write rate in version 1.0.3
Any news?
Re: Low read/write rate in version 1.0.3
Yes, we have updated the C# API --> http://www.smartfoxserver.com/download/sfs2x#p=updates
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Re: Low read/write rate in version 1.0.3
Yep - my fault. Sorry.
Is the new one working for you?
Is the new one working for you?
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
Who is online
Users browsing this forum: No registered users and 35 guests