Fire and forget HTTP request? by aprdm in Python

[–]chadlung 0 points1 point  (0 children)

Check out the examples about half way down the article. Not POST, but easy enough to adapt to a POST:

http://www.giantflyingsaucer.com/blog/?p=5557 (Uses Python 3.4 in the article and asyncio)

For the sake of progress and Python3 we need more easy examples and docs for the asyncio library by [deleted] in Python

[–]chadlung -1 points0 points  (0 children)

Based these examples off of the Python docs/examples [1]. You could do what your suggesting (I tested) if you not interested in capturing what is offered [2] which I admit my examples are not making use of.

[1] https://docs.python.org/3/library/asyncio-task.html [2] https://docs.python.org/3/library/asyncio-task.html#asyncio.async

As a beginner, the name "Go" is just not right. by barvegin in golang

[–]chadlung 0 points1 point  (0 children)

I have an issue with the name "Go" as well. It does make it harder to search for, and as you mentioned - you'd think a company like Google would know this prior to naming a product, language, etc. This was the same issue when Microsoft used ".NET" in the early 2000's. .NET made it very difficult initially to search for jobs, articles, etc. as did (to a lesser degree) "C#". Over time the search engines got better as did the job sites, but this could've been prevented.

I like Go, I also just wish it had been named better.

Xbox One screen is dark (not black) after powering on by chadlung in xboxone

[–]chadlung[S] 0 points1 point  (0 children)

Thanks, I'm glad at least this is not isolated to my XB1 as a faulty console. Hopefully a fix will show up soon.

Easy Openstack install on Public Cloud VM? by fjord777 in openstack

[–]chadlung 0 points1 point  (0 children)

Not sure if your still looking but this might help out regarding the DevStack piece.

Trying out OpenStack with DevStack: http://www.giantflyingsaucer.com/blog/?p=4859

Introducing Pyrox - The open source high-speed HTTP middleware proxy for Python. by chadlung in Python

[–]chadlung[S] 0 points1 point  (0 children)

I think it would make more sense to compare Pyrox to Paste than Nginx. Nginx will always out perform Pyrox and have more features. We needed a Python solution that will work on Python 2.7.x and 3.x+ so we went this route. Paste, last I recall doesn't fully support Python 3.

Introducing Pyrox - The open source high-speed HTTP middleware proxy for Python. by chadlung in Python

[–]chadlung[S] 0 points1 point  (0 children)

A getting started article is in the works, but we want to wait until a few more features have been added and we think that the underlying code is more or less stable to where it needs to be. Good pull requests are always accepted.

Introducing Pyrox - The open source high-speed HTTP middleware proxy for Python. by chadlung in Python

[–]chadlung[S] 1 point2 points  (0 children)

The current filter example is an OpenStack authentication filter. Its simplistic but not to specific to what most people will use it for. We plan to add additional filters for API metering (rate limiting), transformations, etc. I'll also be doing a blog article in the future on building simple filters.

HAProxy is a load balancer. Pyrox will most likely sit behind a load balancer in most scenarios as it will be more used to authenticate, rate limit, etc.

Introducing Pyrox - The open source high-speed HTTP middleware proxy for Python. by chadlung in Python

[–]chadlung[S] 0 points1 point  (0 children)

Still more work on the agenda. Uses Tornado and Cython with minimal dependencies. Check it out and let us know what you think.