# Bulk UDP via Python?

**URL:** <https://discuss.elastic.co/t/bulk-udp-via-python/13960>\
**Category:** Elasticsearch\
**Created:** [October 16, 2013, 12:50am UTC](https://discuss.elastic.co/t/bulk-udp-via-python/13960 "2013-10-16T00:50:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roy\_Smith](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@Roy\_Smith](https://discuss.elastic.co/u/Roy_Smith)\
**Post date:** [October 16, 2013, 12:50am UTC](https://discuss.elastic.co/t/bulk-udp-via-python/13960/1 "2013-10-16T00:50:09Z")

</div>

I want to use the bulk udp API with Python. I've got elasticsearch 0.4.2  
installed. As far as I can tell from looking at the source, it doesn't  
support UDP. Is it there and I'm just not seeing it?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Honza\_Kral](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/honza_kral/32/876_2.png) [@Honza\_Kral](https://discuss.elastic.co/u/Honza_Kral)\
**Post date:** [October 16, 2013, 12:52am UTC](https://discuss.elastic.co/t/bulk-udp-via-python/13960/2 "2013-10-16T00:52:26Z")

</div>

Hi Roy,

no, it does not support UDP, you can, however, use thrift that might help a  
bit ith performance.

Honza

On Wed, Oct 16, 2013 at 2:50 AM, Roy Smith [roysmith649@gmail.com](mailto:roysmith649@gmail.com) wrote:

> I want to use the bulk udp API with Python. I've got elasticsearch 0.4.2  
> installed. As far as I can tell from looking at the source, it doesn't  
> support UDP. Is it there and I'm just not seeing it?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Roy\_Smith](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@Roy\_Smith](https://discuss.elastic.co/u/Roy_Smith)\
**Post date:** [October 16, 2013, 12:59am UTC](https://discuss.elastic.co/t/bulk-udp-via-python/13960/3 "2013-10-16T00:59:17Z")

</div>

On Tuesday, October 15, 2013 8:52:26 PM UTC-4, Honza Král wrote:

> Hi Roy,
> 
> no, it does not support UDP, you can, however, use thrift that might help  
> a bit ith performance.
> 
> I was afraid of that. I'll probably end up rolling my own. It's not so  
> much the performance I'm worried about, it's the possibility that my app  
> will hang if the elasticsearch server becomes unreachable.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Norberto\_Meijome](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@Norberto\_Meijome](https://discuss.elastic.co/u/Norberto_Meijome)\
**Post date:** [October 16, 2013, 1:43am UTC](https://discuss.elastic.co/t/bulk-udp-via-python/13960/4 "2013-10-16T01:43:15Z")

</div>

Then probably UDP isn't the right answer... You should look at a queuing  
system....  
On 16/10/2013 11:59 AM, "Roy Smith" [roysmith649@gmail.com](mailto:roysmith649@gmail.com) wrote:

> On Tuesday, October 15, 2013 8:52:26 PM UTC-4, Honza Král wrote:
> 
> > Hi Roy,
> > 
> > no, it does not support UDP, you can, however, use thrift that might help  
> > a bit ith performance.
> > 
> > I was afraid of that. I'll probably end up rolling my own. It's not so  
> > much the performance I'm worried about, it's the possibility that my app  
> > will hang if the elasticsearch server becomes unreachable.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Roy\_Smith](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@Roy\_Smith](https://discuss.elastic.co/u/Roy_Smith)\
**Post date:** [October 16, 2013, 11:10pm UTC](https://discuss.elastic.co/t/bulk-udp-via-python/13960/5 "2013-10-16T23:10:03Z")

</div>

On Tuesday, October 15, 2013 9:43:15 PM UTC-4, Norberto Meijome wrote:

> Then probably UDP isn't the right answer... You should look at a queuing  
> system....

I can accept that data is lost if elasticsearch goes down, but I can't  
accept that my app hangs, so UDP seems like the right answer to me.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Norberto\_Meijome](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@Norberto\_Meijome](https://discuss.elastic.co/u/Norberto_Meijome)\
**Post date:** [October 17, 2013, 9:21am UTC](https://discuss.elastic.co/t/bulk-udp-via-python/13960/6 "2013-10-17T09:21:14Z")

</div>

Well, you can also lose UDP without ES going down. But, hey, it's your app  
🙂  
On 17/10/2013 10:10 AM, "Roy Smith" [roysmith649@gmail.com](mailto:roysmith649@gmail.com) wrote:

> On Tuesday, October 15, 2013 9:43:15 PM UTC-4, Norberto Meijome wrote:
> 
> > Then probably UDP isn't the right answer... You should look at a queuing  
> > system....
> 
> I can accept that data is lost if elasticsearch goes down, but I can't  
> accept that my app hangs, so UDP seems like the right answer to me.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:11am UTC](https://discuss.elastic.co/t/bulk-udp-via-python/13960/7 "2017-07-06T02:11:58Z")

</div>


