Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it slow to instantiate many DataSift objects?

0
Posted

Is it slow to instantiate many DataSift objects?

0

Instantiating a DataSift object can be a time-consuming process the first time you do it, this is, when you create your first instance, as it will be then that the default confguration files will be read and the builtin entities be bootstrapped. Subsequent instances will not produce such an overhead as the first one, but you must always consider that you can be using specs, validators, transformers… that you only registered in a specific instance, and so losing that instance will mean having to register them again to process your data. As a general rule, it is advisable to keep you DataSift instances, once you fully initialize them.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123