sql - Sequelize MySql Insert: Node js vs Django -


db inserts sequelize take minimum thrice time compared inserts django. node around 8- 10 times slower python. (according newrelic) sql fired django: time ~2ms

  insert `table` (`created_on`, `updated_on`, `field2`, `field3`, `field1`, `field4`, `field5`, `field6`, `field7`, `fiedl8`) values ('2016-11-03 14:52:31', '2016-11-03 14:52:31', null, null, 100617299, '68.00', '75.00', '75.00', 0, '1.00')  

the sql fired node: time ~20ms

  insert `table` (`id`,`field`,`field2`,`field3`,`field4`,`field5`,`field6`,`field7`,`field8`) values (default,'68.00','75.00','75.00',0,1,'2016-11-03 09:46:05','2016-11-03 09:46:05',100617299) 

i have tried increasing number of number of connection node did not help.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -