HackerTrans
TopNewTrendsCommentsPastAskShowJobs

whouweling

no profile record

comments

whouweling
·4 ปีที่แล้ว·discuss
Very interesting concept and clear messaging on the website. Eager to test this for personal use.

Big fan of BorgBase (the other product by the same company), I have been using them for quite some time for different projects.
whouweling
·5 ปีที่แล้ว·discuss
In my experience it also depends on the worker type, if you are running sync you might need more workers depending on how much your database can handle.

Otherwise the number of workers might limit the total throughput quite severely.
whouweling
·6 ปีที่แล้ว·discuss
Always interesting to test out a new productivity app in the search of the perfect solution :-) Looks promising! Really like the clean layout.

A bit of feedback: (maybe a bug?) when I tried to add new tasks to "Today", tasks added after the first task did not have the current date set and therefore did not show up. (At first it seemed like saving tasks did not work.)
whouweling
·6 ปีที่แล้ว·discuss
Yes; gevent does also fix this problem. But it also gives you a lot of new problems when running all requests async. In my experience mostly with views that (in some specific calls, i.e for a specific customer) keep the cpu tied up, for example serializing a lot of data. Random other requests will be stuck waiting and seem slow while it is a lot more difficult to find out which view is the actual problem.

I have deployed applications both under gevent and sync workers in gunicorn and would personally never use gevent again, especially in bigger projects. It makes the behavior of the application unpredictable.
whouweling
·6 ปีที่แล้ว·discuss
Interesting, will certainly try it out, thanks!

> Continuously failing external requests should not make each one of your responses slow.

It is not really a matter of the responses becoming slow, the problem is that if you are running sync with i.e 6 application server processes and you have just 6 hits on an endpoint in your app that is hung up on an external API call your application stops processing requests altogether.
whouweling
·6 ปีที่แล้ว·discuss
Well, if you have external API calls in your Django app and you are running sync (which I would absolutely advice, with running async it is really easy to get an unpredictable performance which is sometimes hard to track down) having the ability to run some views async is really crucial.

Otherwise your application might me humming along smoothly at some point and coming to a sudden complete standstill or performance plummets when a random external API endpoint starts to time out. Yes I have been bitten by this :-)

To fix this while running sync I have dedicated separate application processes for the views that do external calls, but this makes the routing complex. Alternatively you can juggle timeouts on the external API calls but this is hard to get right and you need to constantly keep track if calls are not timed out just because the external endpoint is a bit slower at some point.

So I think this solves a very real-world challenge.