umutbozkurt/django-rest-framework-mongoengine

Is there a way to speed serializer?

HendricksRichard opened this issue · 1 comments

I use modelserializer like example showed, but this is too slow, I only test 50,000 data.

so how can I to speed serializer!
thank you!

Hello, @HendricksRichard.

Could you elaborate? Are you trying to serve a mongo collection through your API, sending it through the web as a JSON?

Do you have a single collection with 50,000 documents in it, which you are trying to serialize? Are you trying to output this whole collection? How much time does it take? How much time is acceptable for your use case?