Hi Guys, I m using rudderstack opensource and I ha...
# support
a
Hi Guys, I m using rudderstack opensource and I have connect a source and a destination, It takes around 10 to 12 sec to reach the destination(seen in Live events). How can I reduce the latency of it(Using php sdk and rudderstack version 1.0.1).
m
Hey There! đź‘‹ Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Rahul, can you check the actual time taken to reach the destiantion? The reporting may have a slight lag.
a
In destination also its taking around 10 to 12sec
Is their any configuration. we can set at our end?
m
The team is working on a feature where we can decrease the time to destination if the event ordering is not a major concern. However, this is still in the ideation phase. Currently there is not such configuration to reduce delivery time.
a
Is the normal latency is 8-10 secs?
m
I cannot give you an exact number, it depends on the destination and your setup. But can you share your use case as to why you want a latency of less that 10 seconds?
a
If thousands of event are sent at the same time, then it would take time to send it to destination
So, if the latency is low then it would be better
m
No that would not be the case, also if you add a lot more events you would add multiple nodes to handle the events. You should be able to do a load test on this with the single node as well.
a
Is their any other way to send events to specific destination instead of using transformation?
m
Yes at an event level you can do this.
a
I m using php sdk. Can this be done in php sdk?
Actually our scenario is that we want to send notifications…. we would be calling rest endpoint (webhook) as desitination) what should be expected/standard latency in such scenarios. Basically we want to understand if there are any ways to reduce latency either by changing config and also by changing infra?
m
Yes it is. The last track method parameter is integrations. You can mention which integrations the data is to be sent in it. Checkout the docs
Hi Rahul, what destinations are you sending events to?
a
Google pub/sub is the destination
m
cc @narrow-rain-89253
Hi Rahul, you can try this option to reduce your delivery time to get started. This will not guarantee event ordering and will increase no of workers.
Copy code
Router:        
   GOOGLEPUBSUB:
      guaranteeUserEventOrder: false
      noOfWorkers: 256