Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

the library is very slow #127

Open
druidvfx opened this issue Jun 25, 2018 · 0 comments
Open

the library is very slow #127

druidvfx opened this issue Jun 25, 2018 · 0 comments

Comments

@druidvfx
Copy link

Sorry for my English

the library is very slow!!!
With a large data stream, the delay of packets reaches 1-10 minutes

I ran parallel objective-c + socketRocket and swift + SwiftWebSocket

bitfinex data stream trades from https://docs.bitfinex.com/v2/reference#ws-public-trades

  1. objective-c + socketRocket, 10 simultaneous sockets for each trading pair - maximum packet delay two seconds with large data stream. data stream ten times more than swift + SwiftWebSocket

  2. swift + SwiftWebSocket, one socket one trading pair - maximum packet delay 10 minutes!!!!
    With a small data stream there are no delays on swift + SwiftWebSocket
    As soon as the data stream becomes small, everything starts to flow again

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant