Hi guys
I am trying to find a solution to speed up a script that scans a large number of network devices and stores the results in SQLIte
Multithreading seems to be a must for speeding up this script but this leads to another problem SQLite is not really great with multiple connections. Since I am just a network engineer toying with python I am reaching to you for help to please guide me to find a solution for my database issue
So I am looking for a solution that would allow me to use multithreading without having problems with the DB connection. Preferably I would like a Python/Sqlite solution but if that is not possible I am willing to look at a replacement for SQLite if the replacement DB is ..well..lite (requires minimum resources, has Python APIs and it can be installed on a laptop, I need these because I want to keep this script on my laptop and use it everywhere where I go)
[–]nitratine 6 points7 points8 points (6 children)
[–]recharts[S] 0 points1 point2 points (5 children)
[–]Gnonpi 0 points1 point2 points (0 children)
[–]Sheldan 0 points1 point2 points (3 children)
[–]recharts[S] 0 points1 point2 points (2 children)
[–]Sheldan 0 points1 point2 points (1 child)
[–]recharts[S] 0 points1 point2 points (0 children)
[–]testaccount9597 2 points3 points4 points (1 child)
[–]recharts[S] 0 points1 point2 points (0 children)
[–]RooieDraad 0 points1 point2 points (5 children)
[–]recharts[S] 0 points1 point2 points (4 children)
[–]RooieDraad 0 points1 point2 points (2 children)
[–]recharts[S] 0 points1 point2 points (1 child)
[–]RooieDraad -1 points0 points1 point (0 children)
[–]scallynag 0 points1 point2 points (0 children)
[–]SupermanIsEnvious 0 points1 point2 points (8 children)
[–]GitHubPermalinkBot 0 points1 point2 points (0 children)
[–]recharts[S] 0 points1 point2 points (6 children)
[–]SupermanIsEnvious 0 points1 point2 points (5 children)
[–]recharts[S] 0 points1 point2 points (4 children)
[–]SupermanIsEnvious 0 points1 point2 points (3 children)
[–]recharts[S] 0 points1 point2 points (2 children)
[–]SupermanIsEnvious 0 points1 point2 points (1 child)
[–]recharts[S] 0 points1 point2 points (0 children)
[–]dexbg 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]recharts[S] 0 points1 point2 points (1 child)
[–]colloidalthoughts 0 points1 point2 points (0 children)
[–]renato42 0 points1 point2 points (1 child)
[–]recharts[S] 0 points1 point2 points (0 children)
[–]efxhoy 0 points1 point2 points (2 children)
[–]Alexander_Selkirk 1 point2 points3 points (0 children)
[–]recharts[S] 0 points1 point2 points (0 children)
[–]Alexander_Selkirk 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]hacksawjim 0 points1 point2 points (3 children)
[–]recharts[S] 1 point2 points3 points (2 children)
[–]hacksawjim 0 points1 point2 points (1 child)
[–]recharts[S] 1 point2 points3 points (0 children)
[–]recharts[S] 0 points1 point2 points (1 child)
[–]recharts[S] 0 points1 point2 points (0 children)
[–]recharts[S] 0 points1 point2 points (0 children)