Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-16 Thread Tom Christie
Thanks Cal. If you do get the time that'd be fab, positive criticism is always useful. Equally please don't feel obligated - sure you weren't expecting to have to give a blow-by-blow breakdown of pain points you found. :p May be worth taking any further convo over to the django-rest-framework

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-16 Thread Cal Leeming
Hi Tom, Apologies for the slow answer, give me a week or so and I'll spend some time putting a proper detailed reply/breakdown together in a new thread. Cal On Sat, Dec 13, 2014 at 11:12 AM, Tom Christie wrote: > > Hi Cal, > > > DRF has it's own problems and (again imho) does not solve the prob

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-13 Thread Tom Christie
Hi Cal, > DRF has it's own problems and (again imho) does not solve the problems it was originally designed to fix. Attempting to build anything beyond "out of the box CRUD" requires hacky/unclean workarounds, with most of your time spent fighting against the shortcomings of DRF rather than wor

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-12 Thread Collin Anderson
Hi Cal, Thanks. I'm always looking for more pain points about Django that could be improved. Collin On Friday, December 12, 2014 1:05:02 PM UTC-5, Cal Leeming wrote: > > Hi Collin, > > Just a few comments; > > On Fri, Dec 12, 2014 at 5:42 PM, Collin Anderson > wrote: >> >> Hi, >> >> Re: the h

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-12 Thread Cal Leeming
Hi Collin, Just a few comments; On Fri, Dec 12, 2014 at 5:42 PM, Collin Anderson wrote: > > Hi, > > Re: the hacker news thread, (sorry for getting a little off topic,) I just > wanted to mention a few places where we've tried to improve some of those > things recently: > - The ORM is still slow,

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-12 Thread Carl Meyer
On 12/12/2014 10:42 AM, Collin Anderson wrote: > Re: the hacker news thread, (sorry for getting a little off topic,) I just > wanted to mention a few places where we've tried to improve some of those > things recently: > - The ORM is still slow, but we've added prefetch_related() and improved >

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-12 Thread Collin Anderson
Hi, Re: the hacker news thread, (sorry for getting a little off topic,) I just wanted to mention a few places where we've tried to improve some of those things recently: - The ORM is still slow, but we've added prefetch_related() and improved select_related() which allows you do use fewer queri

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-10 Thread Cal Leeming
If you're using Django, then there isn't really an alternative, as it's really a key selling point of Django. Some people recommend SQLAlchemy, but I dislike that even more for it's over-engineered complexity. Peewee [1] shows some good potential, but I haven't tried it for myself yet. As for wh

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-10 Thread Artie
Can you please advise why actually you hate Django ORM and what should be considered instead of it? суббота, 6 декабря 2014 г., 23:18:06 UTC+2 пользователь Cal Leeming написал: > > Hi Artie, > > First, I would strongly recommend reading some of the work by David Mytton > at Server Density, he an

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-10 Thread Artie
I would like to thank you a lot for so detailed answers, actually I didn't expect to get so much information on my question. That really great and inspiring. So thank you very much again. Guess now I need to start learning PostgreSQL, cause that is not first time when I hear that Python and Post

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-06 Thread Mario Gudelj
Django ORM is the best thing since sliced bread! On 07/12/2014 8:17 am, "Cal Leeming" wrote: > Hi Artie, > > First, I would strongly recommend reading some of the work by David Mytton > at Server Density, he and his team have been using MongoDB extensively for > many years and they have shared a

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-06 Thread Cal Leeming
Hi Artie, First, I would strongly recommend reading some of the work by David Mytton at Server Density, he and his team have been using MongoDB extensively for many years and they have shared a lot of their insight [1]. It's also worth mentioning that Postgres has support for JSON field type [2] w

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-06 Thread Collin Anderson
Hi, What do you mean by "parsing with updating of products"? I'd personally store everything in authoritatively in that 1 generalized table and get rid of the 10 smaller tables. Have a "manufacturer" CharField or ForeignKey to determine what fields are available and other custom logic. As you

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-05 Thread Russell Keith-Magee
On Fri, Dec 5, 2014 at 8:56 PM, Artie wrote: > Good day, Community, > > I'm looking for advise on MySQL & MongoDB usage so please let me take your > time to describe the situation. > > I came to work on e-commerce shop of electrical components with about 10 > millions of products. Now all of it s