Hi,
I have seen an example of gevent context switch
http://sdiehl.github.io/gevent-tutorial/#synchronous-asynchronous-execution
Could you please give some real use case with example.
It would be fine If you can share link of github project which uses gevent
context gevent.sleep(0).
Thanks,
_
Thanks naufal and Krace.
I have tried following code. I have given gevent.sleep(0.1), that means
each greenlet let others to execute 0.1 secoond. But here each greenlet
waiting for others to complete, why? Is it because of greenlet.joinall ?
Here I have created 3 greenlet threads (A, B, C). I th
Hi Krace,
I am still not understanding from code (practical example) where we are
getting the benefit of PAUSE and let other greenlet to execute.
I have created a simple worker program from your example
https://github.com/dcramer/taskmaster/blob/79a312c5cb3c34d00829fe9cf4204aeb478a0166/src/taskma
/blob/master/src/opserver/uveserver.py#L656
Thanks,
On Sun, Jun 21, 2015 at 1:01 PM, Noufal Ibrahim KV
wrote:
> On Sun, Jun 21 2015, anu sree wrote:
>
>
> [...]
>
> > This code has two pause (gevent.sleep(0)), in Consumer.start and
> > Worker.run. Here cont
Hi,
I want to develop an API server (don't need GUI).
I am planning to use flask to develop this UI less API server.
Question-1:
I have seen an example here https://github.com/miguelgrinberg/api-pycon2015
But above example does not use flask_restful extension.
Here I need your help to take decisi
Thanks anuvrat,
My first question was, Should I use only flask to develop REST API like in
this example https://github.com/miguelgrinberg/api-pycon2015
or fask + flask_restful ?
On Mon, Jun 22, 2015 at 3:00 PM, Anuvrat Parashar
wrote:
> On Mon, Jun 22, 2015 at 2:06 PM, anu sree wr
Thanks anuvrat and krace,
How do we do validation of data in the POST and PUT API request, if we use
only native fask ?.
I have seen a way in flask-restful, but I am planing to use only native
fask.
http://flask-restful.readthedocs.org/en/latest/api.html#reqparse.RequestParser
Thanks,
On Mon,
wrote:
> You can either add those yourself, or use something like Flask-WTF[1] or
> validictory[2] based on your requirements.
>
>
> [1]: https://flask-wtf.readthedocs.org/en/latest/
> [2]: https://readthedocs.org/projects/validictory/
>
> On Mon, Jun 22, 2015 at 6:57 PM,
wrote:
> On Jun 22, 2015 19:03, "anu sree" wrote:
> >
> > Thanks anuvrat and krace,
> >
> > How do we do validation of data in the POST and PUT API request, if we
> use
> > only native fask ?.
>
> That is where serialization library like
be talking about the scale of one the
> largest sites on the Internet. Remember, premature oprtimisation is the
> root of all evil. Sorry, but if you ask me I smell buzzword-driven
> development.
>
> Regards,
> Gora
>
>
> On 23 June 2015 at 00:20, anu sree wrote:
>
>
Thanks gora and guruprasad,
I am not using database or other store. My API App just make different API
requests to other rest api servers.
Does celery need db ?
Thanks,
On Tue, Jun 23, 2015 at 1:28 PM, L. Guruprasad wrote:
> Hi Anu,
>
> On Tue, Jun 23, 2015 at 1:21 PM, anu sr
+1. It will be helpful for beginner like me to get job.
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers
Slack is good, but I think we have to pay to keep chat history.
On Aug 15, 2015 8:59 PM, "kracekumar ramaraju"
wrote:
> Hi
>
> BangPypers doesn't have any online channel to discuss. Most of the Open
> source/Free software projects use IRC as tool for instant communication.
>
> Lately, lot of peo
Hi,
I am looking for a framework which helps to write functional test cases.
Right now i am using unittest framework to do that, but that is ugly. How
you guys are writing functional test cases.I also want to do stress test by
sending thousands of concurrent requests (run functional test cases in
congrats
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers
Hi,
How to configure python celery scheduler in active standby mode.
I have 2 nodes setup:
Node-1: Running celery worker and rabbitmq server
Node-2: Running celery worker pointing to rabbitmq server in node-1
Requirement:
I want to run a periodic task in this setup and that task should run when
16 matches
Mail list logo