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
Create a data-caching class to be used with protocol frame methods. The same payload sent to multiple clients should not go through the process of being framed multiple times.
The text was updated successfully, but these errors were encountered:
I would like to suggest Doctrine's Cache-Component as many of ratchet's users may use Symfony because of the session-Integration and this will save one dependency: Doctrine
Doctrine did indeed have the best API. It's nicely decoupled.
I implemented it, did some testing and determined the hashing and looking was as process intensive as framing the message. I think caching would only be beneficial for clients as masking the message would be heavy.
Create a data-caching class to be used with protocol frame methods. The same payload sent to multiple clients should not go through the process of being framed multiple times.
The text was updated successfully, but these errors were encountered: